Skip to content

Commit 6c2259f

Browse files
authored
Merge pull request #7389 from Calinou/using-fonts-pixel-art-size-2
2 parents 14788a1 + 6593354 commit 6c2259f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tutorials/ui/gui_using_fonts.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,13 @@ property that accepts a Font resource.
145145

146146
Fonts that have a pixel art appearance should have bilinear filtering disabled
147147
by changing the **Rendering > Textures > Canvas Textures > Default Texture Filter**
148-
project setting to **Nearest**. The font size must also be an integer multiple of the
149-
design size (which varies on a per-font basis), and the Control node using the font
150-
must be scaled by an integer multiple as well. Otherwise, the font may look blurry.
148+
project setting to **Nearest**.
149+
150+
The font size must also be an integer multiple of the design size (which
151+
varies on a per-font basis), and the Control node using the font must be
152+
scaled by an integer multiple as well. Otherwise, the font may look blurry.
153+
Font sizes in Godot are specified in pixels (px), not points (pt). Keep this
154+
in mind when comparing font sizes across different software.
151155

152156
The texture filter mode can also be set on individual nodes that inherit from CanvasItem
153157
by setting :ref:`CanvasItem.texture_filter <class_CanvasItem_property_texture_filter>`.

0 commit comments

Comments
 (0)