mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated Frequently asked Questions Common Questions (markdown)
@ -178,3 +178,11 @@ RenderTexture2D LoadRenderTextureWithDepthTexture(int width, int height)
|
||||
}
|
||||
```
|
||||
Now the `RenderTexture` depth texture can be drawn as a regular texture... but note that information contained is not normalized!
|
||||
|
||||
# Why is my font blurry
|
||||
|
||||
If you call LoadFont, the text will be loaded at a fixed size. If you draw this text at anything other than this fixed size (32 for TTF fonts), the font texture will be scaled. Scaling introduces artifacts. Scaling up will introduce blur. Load your font with LoadFontEx and specify the size you want to use it at for the best possible quality. You can pass in NULL for `fontChars `and 0 for `glyphCount` to load the default character set.
|
||||
```c
|
||||
LoadFontEx("myfont.ttf", 50, NULL, 0);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user