Godot font blurry. official [b09f793f5] Question.
Godot font blurry Unscaled: Scaled: Note how, when I change the window size and try to scale up the viewport, the font gets super blurry. The font looks fine in the preview, but gets blurry when in game. Draw character char into a canvas item using the font at a given position, with modulate color, and optionally kerning if next is passed. I've made the label as a child to a Nov 4, 2019 · Not sure how you are using the font but, you shouldn’t modify the scale directly as it will cause blurriness or pixelization. tres (type: FontVariation) with the desired font (tried . Some of the texturerects have labels inside and they too become blurry when scaled down. 👤 Asked By Alex5041 I imported pixel art and turned off filter so it looks crisp in Editor, however when I load a scene pixel art has a slight blur over the edges. If you want a deep dive into the problems (and solutions) for rendering text well, The Raster Tragedy is an amazingly comprehensive resource. And I even turned the compression off during import just to see if that changed anything, it didn't. I am starting by following a tutorial on the Godot Docs. Maintained by the Godot Foundation, the non-profit taking good care of the Godot project - consider donating to Mar 10, 2024 · 172K subscribers in the godot community. Apr 14, 2022 · The official subreddit for the Godot Engine. position specifies the baseline, not the top. contributors, stay up to date on Godot news, and share your projects and resources with each other. There are a few pixel fonts here that you can Oct 6, 2023 · Now when Godot imports them they are super blurry. Then in Project Settings -> Gui -> Theme -> Custom Font to your . 4. Description: Abstract base class for different font types Feb 21, 2024 · In my project, I have quite big pictures (1980x1080) which I scaled down to about 0. May 1, 2019 · This is a quick look for beginners on how to add custom fonts to your Godot 3. 10, GTX1060, Vulkan. Problem looks about the same for default font or a custom DynamicFont set to any size. Aug 12, 2020 · 👤 Asked By kietjay123 i am using an 3 by 3 pixel font in a rich text label node an the font keeps getting blurry even at its original size the debugging window of the game seems to display the text correctly. Before version 4. This would likely affect your font no matter what settings or work arounds Jul 21, 2019 · As seen in the picture, fonts look bad when downscalling. Jul 9, 2020 · ℹ Attention Topic was automatically imported from the old Question2Answer platform. Linux with X11. For example an 8px pixel font looks great at 8px, 16px, 24px etc. ttf file format. are you using the same font as the Lvl X in the button? BestGodotDev July 26, 2024, Oct 14, 2024 · Godot Version 4. However, in Godot 4, the behavior is different and fonts get slightly blurry at any resolution other than the viewport size defined in the Dec 3, 2024 · Godot allows you to set specific fonts for different UI nodes. SpikeTrapBoomStudios Mar 7, 2023 · No matter what I try, it always looks wether blurry, pixelated or clunky (previews are in playmode and not editor-window of course) What I work with: - a font-preset . system February 16, 2021, 3:20pm try disabling font oversampling in the project settings but keep in mind this will make fonts pixelated or blurry at higher resolutions. This addon adds a new TextureFont resource that defines how each character is mapped to the texture(s). Handles files with the . 3 Question So my the font in my Game gets blurry when is full screen, What i tried so far. The editor or project appears overly sharp or blurry; The editor or project appears to have washed out colors; The editor/project freezes or displays glitched visuals after resuming the PC from suspend; Nov 27, 2023 · Hello there, I am new to Godot. 2 even if you set the texture filter to nearest in the project settings it still doesn’t work. If not using a custom font, this can be done by enabling Default Font Multichannel Signed Distance Field in the advanced Project Settings. x, but then it broke again in a different way, like you have currently. gg/c5FEkM2How to use smooth text fonts in Godot I used the Viewport node to do this and I tried to make it shortIf you foun Sep 15, 2022 · When I loaded up Godot today everything was blurry/low resolution. I made a 2D game and was using small 16x16 sprites, so I didn’t need a large window. Are you using any kind of scaling perhaps on the Label/RichTextLabel? Apr 20, 2018 · ℹ Attention Topic was automatically imported from the old Question2Answer platform. I was trying to texture the blocks using a single png file with the block textures. Also strech mode doesn't seem to make any diffrence: Oversampling is enabled. i have the texture set to nearest and still blurry i will put a image. tres so new labels pick up the default font. by changing filter settings), font size and scaling have the biggest impact; adjust to taste. Archive. Godot's File System is located on the bottom left of the screen by default. dev (7529c0b)System information. Jul 31, 2021 · Godot version 4. ttf font for the font data, the filtering/aliasing goes away. tres" file for ease of future use. System information. Some fonts end up being more pixelated than others. 5 (stable mono) upvote Nov 22, 2018 · Is there a way to unsmooth? (Like in resources where you can uncheck to “smooth image” - there is no option for fonts. Dec 3, 2024 · Godot allows you to set specific fonts for different UI nodes. Seems like typical behaviour for pixel fonts, I used m5x7 in my project and it only appears sharp at multiples of 16px. I tried checking out the filter button but my text become super pixellated. For using vector font files like TTF directly, see DynamicFont. Meet your fellow game developers as well as engine contributors, stay up to date on Godot news, Jun 7, 2020 · My 2D game, built and exported on Linux, gets blurry when run on Windows with display scaling set to 150%. Same here, but instead of resolution you have font size. Supported image formats: Godot can import the following image formats: BMP (. From here, check that the following settings are correct: Antialiasing should be set to "None" Feb 15, 2023 · BitmapFont¶. It's recommended to enable this when using the font in a control whose size changes over time, Ariel Manzur and the Godot Nov 28, 2019 · Godot version: 3. I can see these font settings properly applied to my Buttons and Labels, but I also have a MenuButton. Question. Every time I open Godot, I have this disturbing initial impression that the game Editor's UI text is slightly blurry. Jan 30, 2022 · I am zoomed in a lot for emphasis, yes, but the issue wasn’t that the filtering/aliasing was “too blurry”, but rather I didn’t want filtering/aliasing AT ALL. How would I I don’t know if I need either a better font or see what your code is doing. Oct 9, 2023 · Someone alreadt gave the answer so I will explain instead. 3 Question So, when I have labels inside PopupPanel, they are blurry: And when they are outside PopupPanel, they look nice and crisp: I have no idea why this happens. And I also have numbers popping all over the map to indicate damage taken and such. Try scaling the font according to the original size. Next, open the font's import settings in Godot. 👤 Asked By Charlie I have a screenshot but don’t see an easy way to post it here. Godot Forum font get blurry Jan 14, 2023 · This subreddit is an unofficial community about the video game "Space Engineers", a sandbox game on PC, Xbox and PlayStation, about engineering, construction, exploration and survival in space and on planets. dev (007b877) System information Windows 10, Vulkan Clustered, RTX 3060 Ti / GTX 1650 ti Issue description On screen with 2560x1440 resolution and 125% display size fonts on master branch looks blurry 4. Instead, you need to use a dynamic font, and set the font Jan 13, 2024 · Whenever i start a new project, insert anything to do with text (label, button, etc). . A community for discussion and support in development with the Godot game engine. I want to add that I have a 2nd monitor that was active when I booted up Godot but Godot was on my main (1st) monitor. io. BitmapFonts for the ability to change font parameters like size and spacing during runtime. DynamicFontData is used for referencing the font file paths. However, every other control gets blurry text instead. Any help would be greatly appreciated! Jun 13, 2018 · ℹ Attention Topic was automatically imported from the old Question2Answer platform. S: I noticed that if the number of characters on the Jul 16, 2024 · Godot Version 4 I try to add fonts but I see the texts in my game blurred and pixelated on oddy08 July 16, 2024, 12:30pm 1. There are three different places where you can setup font usage. Inherits: Resource < Reference < Object Inherited By: BitmapFont, DynamicFont Internationalized font and text drawing support. Renders text using *. Skip to main content. When played inside low res screen they become blurry. 0 look weird and choppy: Self-intersecting outlines are not supported by MSDF font rendering. Other softwares are working just fine. This can cause ugly results, merged characters, artifacts and unreadable text, but I suppose works as a quick and dirty low-effort fix. 1. Is there a setting i Feb 10, 2023 · Fix blurry pixel-perfect font in Godot 4 Help ⋅ Solved The only solution I found was turn off Sub Pixel positioning but it doesn't seem to do anything Dec 23, 2017 · I'm using Godot 3, trying to use a pixel font (Visitor) but it's blurry no matter what I do: Screenshot. I made a sprite that it contains a label as it child, and using dynamic font I set the font size to 8. To fix the issue, use a custom font with a Sep 20, 2023 · Godot Engine 3. 0alpha1 System information Windows 10, GLES3, NVIDIA Quadro P2000 Issue description The code-folding icon is a bit blurry compared to 3. DynamicFont also supports Oct 24, 2022 · Go to any font site (just google "Dynamic fonts" and take your pick) and download a dynamic font that you want to use. For text you will need to create a DynamicFont. I tried setting default texture filter to nearest Oct 22, 2023 · SOLVED, see the code comment below. I expected the same result as the label, because I see the text appears Jan 17, 2024 · float draw_char (RID canvas_item, Vector2 position, int char, int next=-1, Color modulate=Color( 1, 1, 1, 1 ), bool outline=false ) const. Closed markdibarry opened this issue Dec 17, 2021 · 4 comments Closed Aug 31, 2022 · Godot version. Feb 17, 2019 · Those typically have a size of around 8px (although it is specific to each font). Properties¶ Nov 27, 2023 · Hello there, I am new to Godot. The first project is to create a 2D label node that says "Hello World". ) To have a font that renders crisply at any resolution without requiring oversampling, use a MSDF font. Meet your fellow game developers as well as engine contributors, stay up to date on Godot news, Preventing blurry pixel art (using nearest neighbor scaling) I have a character sprite. botones 720×552 21. Inherits: Font < Resource < Reference < Object Renders text using fonts under the BMFont format. If you want text to look crisper in the editor, Nov 12, 2021 · If you just use any font and disable the antialias, you leave it up to the render engine to decide where to place the pixels. 0a Jul 14, 2016 · So, i have 2 sprite when i import them in a scene, one of them become blurry (Rock floor) The official subreddit for the Godot Engine. Choose the Feb 6, 2020 · **Issue description: Font is blurry except when running game. This Feb 13, 2024 · Godot Version. 3D engines have similarly named technologies, but they are generally not optimized for text. EDIT: Use Mipmaps and use Filter does seem to improve it but i think it looks little blurry. otf font (also tried ttf). dev (58712e9) System information Windows 10, Vulkan Issue description Fonts added show correctly in the Font Data preview tab, and when running the project, Imported fonts blurry and cut off #56019. To draw from the top, ascent Dec 7, 2022 · Godot can't store metadata inside the font file itself or something like that. I have a camera that zooms in/out with the mouse wheel. Apparently it had something to do Jun 18, 2019 · Godot supports DynamicFont oversampling since 3. 3 Question Hi! I am in that phase of programming where everyone creates a minecraft clone. Feb 15, 2023 · Font¶. 1-0. Sizes outside these ranges look blurry. May 16, 2023 · Try adding/subtracting a pixel from your button size and it should go away - it’s a hacky solution that I use. x versions. I have turned Antialiasing to 16x, but they are still blurry, especially compared to a similar thing in Unity, with even lower resolution was able to maintain crisp edges. Bitmap Feb 19, 2021 · Font hinting, font smoothing, and subpixel rendering are some of the technologies a 2D engine uses. ) I mentioned this somewhere else - I think there should be a global option for smoothing. Then click ReImport. otf/. But it definitly is not blurry anymore if I Jan 27, 2022 · Godot version 4. Mar 13, 2017 · Tested on Godot 2. It becomes especially obvious with small fonts, but is also visible on larger text. Top. beta2 and all before that :) OS/device including version: The fact that the font looks pixelated/blurry when zooming in could serve as an "alert" that your text won't be readable at the base resoluton. clipping the width. They are imported as svg files. May 11, 2023 · Hello, my problem is that only the tooltip text in my project is blurry, like the settings have no effect on it like on all the other objects. Set the label and magincontainer to nearest (in CanvisItem) - but is still blurry What font: - PixelOperator (from the Godot Backeyes Video) Godot Forum Blurry font, but only in full screen (Pixel Art) Help. Hello, I set the window size in project settings to 576x324. Godot Version 4. I changed the project stretch mode to canvas_items and that made all the text nice and crisp. I found that I HAD to set the font to 9px (regardless whether that made sense or not) and I had to use increments of 9px for any other sizes, or the text got blurry. 0. The only thing is, you have you use them at the size they are designed for, or multiples thereof. And that's definitely because everything else in Windows (especially Visual Studio, which Feb 16, 2021 · Godot Forum Random beginner-question: text distorted until window-resize. timoschwarzer opened this issue Jul 10, 2016 · 9 comments Closed Aug 13, 2024 · Thx for reply pennyloafers. You can change it on a sprite by sprite basis or make it the default for your game. The default font size is also set to 18px. If you want more fonts check out itch. I have a custom theme Jan 28, 2025 · It doesn’t look blurry in the editor, only while the game is running. The problem that I am running into is that I cannot get the texture to look crisp, it is blurry even after altering import settings. Open comment sort options. This trades the faster loading time of godot. Apr 1, 2022 · Godot 4 blurry pixel art . It's recommended to enable this when using the font in a control whose size changes over time, unless a pixel art aesthetic is desired. v4. stable. fnt extension. P. Mar 1, 2024 · Godot Version 4. 3. Anyways, thanks, it seems that when creating a new bitmap font or dynamic font, and loading an . Setting the display scaling to 100% makes everything sharp again and looking the same as on Linux, but I can’t really expect end-users to change their display settings to run my Oct 15, 2023 · The official subreddit for the Godot Engine. Font contains a Unicode-compatible character set, as well as the ability to draw it with variable width, ascent, descent and kerning. This is a design limitation that could be fixed by integrating Skia, but this is a huge dependency given the size of the problem at hand. Meet your fellow game developers as well as engine contributors, There are many things that could result in blurry fonts so without more info everybody would be just guessing blindly. Mar 19, 2024 · If you want text to remain crisp in this situation, you need to enable Multichannel Signed Distance Field on the font in the Import dock. But in Godot 4, with the same settings, it looks like this: That is, the outline is only applied to the original text and the shadow is applied below it, which I assume is how it was supposed to work in the first place and the way it works in Godot Join my discord - https://discord. 👤 Asked By bloqm I’d like to keep my Labels displaying text always at the same size, regardless of zoom level. Could it be because of my shader? Font render issue in godot 3. It's very small, but when I try to make it bigger it looks blurry in the normal view and when I run the current scene. 1 and I really love it so far. Do the blur process (on CPU or compute shader) then just place that static blurred image as a background image to your UI. Navigation Menu RichTextLabel: Distance Field font gets rendered blurred #5632. 2 and 4. I try to add fonts but I see the texts in my game blurred and pixelated on buttons, labels of the different menus. 0 (it's enabled by default since 3. I assume this has something to do with scaling, but I used the recommended 2D project settings from the Jan 28, 2025 · I had blurry bitmap font issues. The font is a dynamic . 0 vs 3. Tip: Save your font import as a ". fnt fonts containing texture atlases. Summary - Issue shouldn't have been closed. These resources can be used anywhere a font is expected (Such as Label, Button, TextEdit). I also set Size to 7 which is recommended by the Dec 27, 2023 · The text remains crisp in Godot 3 when the viewport size increases or decreases. It still remains to be fixed, see Distance field fonts are blurry · Issue #8022 · godotengine/godot · GitHub However it might only affect distance-field fonts (see the link for details), I never tried Sep 2, 2023 · I have a project in Godot 4 and originally all my text was showing as blurry. 3 the font looks either blurry or the pixels show up at the wrong spots. It’s probably some system-wide setting on Jul 10, 2016 · Operating system or device - Godot version: Any, 2. Hello all, I wanted to test pixelfont and downloaded the font by Daniel Linssen on itch. Issue description. Feb 25, 2023 · Hello! In Godot 3. Players build space ships, wheeled vehicles, space stations and planetary outposts, pilot ships and travel through space to explore planets and gather Jul 26, 2024 · Godot Version 4 Question the text on my button is blurry and i dont know why. 2. Code font size is 18 in both screenshots, the upper one is 3. Hi, I'm currently trying to remove the filtering happening on my 16x16 sprite. Dec 17, 2021 · Godot version 4. 3 I was able to use Terminus TTF font in the editor and it would show up nicely. I’m making a 2D game with a screen size of 640x360. But the text is really blurry to the point it can't be read. Suddenly I faced a problem in PopupWindow the font in the label was blurry when I set it small, like 8-12px. x, I have a font that looks like this with these settings. 👤 Asked By Nv7-GitHub I have noticed that edges on cubes and other things in Godot have blurry edges. Can someone explain me why? I've been facing this problem for a long time and i would be very happy if there is a solution It's the fact that notepad's font looks good, not that godot's looks bad. ) Question about blurry text on a low resolution/low DPI external monitor comment. Open menu Open navigation Go to Reddit Home. There is no way that I know of to change the size of a pixel font in Godot without unwanted blur, you have to keep it locked at 8 or whatever it is originally. BitmapFont. Skip to content. My project has the size 640x360 and im using the "Roboto Font", it looks like only the tooltip text is not scaling correctly with the Window Stretch Settings "Mode: canvas_items", "Aspect: keep". Godot allows you to set specific fonts for different UI nodes. ttf Jul 25, 2020 · +1 to this proposal. Windows 10, GLES3, NVidia RTX 3080. Feb 19, 2023 · DynamicFont renders vector font files dynamically at runtime instead of using a prerendered texture atlas like godot. Jun 19, 2022 · ℹ Attention Topic was automatically imported from the old Question2Answer platform. Chris Dec 3, 2024 · Inherits: Resource< RefCounted< Object Inherited By: FontFile, FontVariation, SystemFont Abstract base class for fonts and font variations. The first option is not possible for me, because when I downscale the size of my font (which is 16 by default), it gets all blurry. Normal Image. Anyway, my in-game text looks to me like it’s blurred from stretching 2x or maybe a lot more. 1 Issue description (what happened, and what was expected): See title. (It would be too slow otherwise. Dec 19, 2022 · Godot version. Then, on your GUI element (a label for example) go to Jul 20, 2020 · ℹ Attention Topic was automatically imported from the old Question2Answer platform. Best. In a Godot 4 project I have a main theme resource that defines a default font with a . Apr 22, 2024 · Tested versions. 1). g. Maybe its a bug? But setting it in the shader like that dude in the linked thread did fixed it for me. Closed Tracked by #39144. Mar 20, 2023 · I think this is expected as godot is essential just scaling the image and applying filtering as best it can (for example, you can see the same zooming in editor). In one of your screenshots it looks like your card was being resized. Ubuntu 22. 4. Feb 1, 2022 · I read that there are multiple ways to scale a font, one being to scale it directly in the font size setting and the other being to scale the label's rectangle. I'm trying to present things as simply as possible and I hope that Dec 14, 2024 · You could take a viewport and get it’s texture. So I created a theme which uses the font and sometimes it is blurry but I can not tell if there is any pattern when it occures. I found this, Blurry texture (image) in shader - #3 by system, which worked for me. 5. Weirdly enough, this only happens in Godot. So I have a lot of Illustrations of clothes and a character and I dress up the character on click (TextureButtons). 👤 Asked By Socrates I know this is a rather odd question and is not something wrong inside Godot itself, but my computer crashed and when I turned it back on all of Godot’s fonts and pop-up windows were larger than they were before. Need Help- Text With Font is Blurry Help Share Sort by: Best. I’m working on a simple 2D Dress Up game for my Kids. Hopefully someone has a better one! This likely occurs because Feb 15, 2021 · Text is blurry and unreadable. 3 Stable Question Hello guys! So, I woke up today to work on my game project, and when I opened Godot everything was looking slightly smaller and blurred. Godot Engine documentation Importing images. 1 Mono Question I have a pixel font and I want to set it to size 16px because in the past it worked and it scaled correctly, however now, I have created three buttons, all styles are the same and all have size 16px, but out of them only one text displays correctly and the other two are soapy. official [b09f793f5] Question. If you try to stretch a low resolution image to be bigger, it will look blurry/pixelated. 1 projects. Looks like Button font renders incorrectly compared Jan 17, 2024 · This makes the font blurry instead of pixelated when scaling it if font oversampling is disabled or ineffective. custom_build [dcb3754]System information. Nov 27, 2023 · Hello there, I am new to Godot. Text is like an image. There’s been a crapload of topics about this issue but with 4. Sep 20, 2019 · I'm working on a projet right now in Godot and all my texts are blurry. The actual font files should be in a . Then I started using subviewports, and all the text and most the Sep 23, 2024 · Godot Version 4. The editor or project appears overly sharp or blurry; The editor or project appears to have washed out colors; The editor/project freezes or displays glitched visuals after resuming the PC from suspend; Oct 22, 2021 · Maybe in the screenshot isn't that noticeable, but when you run it, its so blurry and not very defined. I have no idea why they're so blurry in Godot when the svg files are perfectly normal in Inkscape or when viewing. Sep 14, 2020 · The blurry font problem is something I ran into as well. Try to download 1 or 2 from respectable sources and see if that can fix your problem. Oct 11, 2024 · Godot Version 4. 5 KB. However, once Jun 19, 2024 · Hello im very new to godot and game dev in general, im just learning how to implement text and in every tutorial the text is clear and easy to read but when i add a label and add text it looks like this blurry pixelated mess. 👤 Asked By Lucas Jahn Hey there, I just started using the Godot Engine 3. For creating fonts from TTF files (or other font formats), see the editor Quick settings fix to make pixel art render correctly in Godot 4. I did some research and found out someone with a similar problem. If the font is VCR OSD Mono, it doesn't blur on size 41px. Or you could try and do some performance optimizations on your blur. New Dec 31, 2022 · Using Default Font Multichannel Signed Distance Field made most of the fonts at zoom level 1. Anyone knows how to fix it? I think the issue is with the viewport, so i tweaked some settings in “Projects Settings” but it Mar 10, 2023 · Hello again, no matter how much I reimport in lossless and changed the project settings, my textures look blurry. But it’s still quite large. ttf (FiraSans, downloaded from Google Fonts). Screenshot of Dec 7, 2022 · This is expected, as font oversampling does not take camera zoom into account by design. 3. When I press f5 to play the game everything looks fine but the whole editor does not. tried to use pixel-art . 2 Windows 10 64 bits I created a theme with a custom font, and it looks fine with Labels. I am using a pixel TTF font. Aug 17, 2019 · ℹ Attention Topic was automatically imported from the old Question2Answer platform. mono. As you can see in the image, I have not enabled Filter on the DynamicFont. In 4. Godot v4. I’m Apr 4, 2022 · Hello everyone! I am having this issue where I get blurry text in my textboxes when using the Dialogic add-on. For the default project font, you need to enable the Default Font Multichannel Signed Distance Field advanced project setting instead. beta. Description¶. Godot's Imported Image. godot. Edit: For future reference, this question was cross-posted to Mar 9, 2024 · Godot Version. ttf font on my project. To fit the screen size I can set it a minimum of 5 pixels. . You can see the outline is applied *after* the shadow. 5 documentation in English This makes the font blurry instead of pixelated when scaling it if font oversampling is disabled or ineffective. TextureFont is an addon for Godot that allows creating fonts from textures from directly within the editor. 3 try zoo Jan 11, 2025 · Godot allows you to set specific fonts for different UI nodes. However, there are some caveats: The stretch mode in the Project Settings must be 2d, not viewport, Font oversampling is a "global" property (it will scale all fonts by the same factor), so it cannot work on controls that were upscaled or downscaled. I am using a pixel-art font, and have turned off filtering and anti-aliasing, + turned on mipmaps. He was too small (obviously, it's pixel art) so I Jun 28, 2020 · Select the image asset in the FileSystem window and then in the Import window turn off the Filter property. Supports distance fields. I was able to make it mostly work at some point in Godot 2. Oct 24, 2018 · The official subreddit for the Godot Engine. If you're having difficulty finding these, just double click on the font file in the FileSystem at the bottom left of your screen. r/godot. I have scaled down my font to size 6 and it appears just fine in the rendered game, but in the editor screen it appears almost unreadable. The first is the theme editor. The editor or project appears overly sharp or blurry; The editor or project appears to have washed out colors; The editor/project freezes or displays glitched visuals after resuming the PC from suspend; Dec 20, 2024 · Godot Version 4. And of course, setting it smaller makes it very blurry. Ideally, if your game is going to scale its fonts, changing the Texture settings (e. Every pixel font have an original size (example: 8px). bmp) - No support for 16-bit per pixel images. See what your fellow developers are up to, get help or advice for your own projects, and be notified about updates (fixes, changes, new features, etc. The text that is displayed has a blurry outline around it which i don’t want. lzrn jkkwle exmmnd tomuox adicvk lierp vbnhme rvoeu naxgl sghi uyswoj tzaaii ziib rwae obwoy