瀏覽代碼

Merge pull request #7389 from Calinou/using-fonts-pixel-art-size-2

Max Hilbrunner 2 年之前
父節點
當前提交
6c2259fbcd
共有 1 個文件被更改,包括 7 次插入3 次删除
  1. 7 3
      tutorials/ui/gui_using_fonts.rst

+ 7 - 3
tutorials/ui/gui_using_fonts.rst

@@ -145,9 +145,13 @@ 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**. 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.
+   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.
+   Font sizes in Godot are specified in pixels (px), not points (pt). Keep this
+   in mind when comparing font sizes across different software.
 
 
    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>`.