Browse Source

Document font size caveats for pixel art fonts in Using fonts (#7355)

Co-authored-by: Max Hilbrunner <[email protected]>
Hugo Locurcio 2 years ago
parent
commit
cdc3f1f3ab
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tutorials/ui/gui_using_fonts.rst

+ 3 - 1
tutorials/ui/gui_using_fonts.rst

@@ -145,7 +145,9 @@ property that accepts a Font resource.
 
 
    Fonts that have a pixel art appearance should have bilinear filtering disabled
    Fonts that have a pixel art appearance should have bilinear filtering disabled
    by changing the **Rendering > Textures > Canvas Textures > Default Texture Filter**
    by changing the **Rendering > Textures > Canvas Textures > Default Texture Filter**
-   project setting to **Nearest**. Otherwise, the font may appear to look blurry.
+   project setting to **Nearest**. The font size must also be an integer multiple of the
+   design size (which varies on a per-font basis), and the Control node using the font
+   must be scaled by an integer multiple as well. Otherwise, the font may look blurry.
 
 
    The texture filter mode can also be set on individual nodes that inherit from CanvasItem
    The texture filter mode can also be set on individual nodes that inherit from CanvasItem
    by setting :ref:`CanvasItem.texture_filter <class_CanvasItem_property_texture_filter>`.
    by setting :ref:`CanvasItem.texture_filter <class_CanvasItem_property_texture_filter>`.