2
0
bjorn 6 жил өмнө
parent
commit
7b6cf4230c

+ 1 - 1
api/init.lua

@@ -7989,7 +7989,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