From 634fbaeb070d3c254744a1100d0c5388179007fd Mon Sep 17 00:00:00 2001 From: Jeffery Myers Date: Sat, 16 Apr 2022 11:42:32 -0700 Subject: [PATCH] Updated Frequently asked Questions Common Questions (markdown) --- Frequently-asked-Questions--Common-Questions.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Frequently-asked-Questions--Common-Questions.md b/Frequently-asked-Questions--Common-Questions.md index ba0023f..be93132 100644 --- a/Frequently-asked-Questions--Common-Questions.md +++ b/Frequently-asked-Questions--Common-Questions.md @@ -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); +``` +