浏览代码

Fix typo;

bjorn 7 年之前
父节点
当前提交
538164c9e4
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      api/init.lua
  2. 1 1
      api/lovr/graphics/print.lua

+ 1 - 1
api/init.lua

@@ -5538,7 +5538,7 @@ return {
             "lovr.graphics.newFont",
             "Font"
           },
-          notes = "Unicode text is supported.\n\nUse `\\n` to add line breaks.\n\nLÖVR uses a fancy technique for font rendering called multichanel signed distance fields.  This leads to crisp text in VR, but requires a special shader to use.  LÖVR internally switches to the appropriate shader, but only when the default shader is already set.  If you see strange font artifacts, make sure you switch back to the default shader by using `lovr.graphics.setShader()` before you draw text."
+          notes = "Unicode text is supported.\n\nUse `\\n` to add line breaks.\n\nLÖVR uses a fancy technique for font rendering called multichannel signed distance fields.  This leads to crisp text in VR, but requires a special shader to use.  LÖVR internally switches to the appropriate shader, but only when the default shader is already set.  If you see strange font artifacts, make sure you switch back to the default shader by using `lovr.graphics.setShader()` before you draw text."
         },
         {
           name = "push",

+ 1 - 1
api/lovr/graphics/print.lua

@@ -84,7 +84,7 @@ return {
 
     Use `\n` to add line breaks.
 
-    LÖVR uses a fancy technique for font rendering called multichanel signed distance fields.  This
+    LÖVR uses a fancy technique for font rendering called multichannel signed distance fields.  This
     leads to crisp text in VR, but requires a special shader to use.  LÖVR internally switches to
     the appropriate shader, but only when the default shader is already set.  If you see strange
     font artifacts, make sure you switch back to the default shader by using