Difference between revisions of "HintingMode"

m (fixed spelling.)
Line 1: Line 1:
True Type hinting mode. See True Type official document for more information.
+
{{newin|[[0.10.0]]|100|type=enum}}
 +
True Type hinting mode.
 
== Constants ==
 
== Constants ==
;normal: HINTING_NORMAL
+
;normal: Default hinting. Should be preferred for typical antialiased fonts.
;light: HINTING_LIGHT
+
;light: Results in fuzzier text but can sometimes preserve the original glyph shapes of the text better than normal hinting.
;mono: HINTING_MONO
+
;mono: Results in aliased / unsmoothed text with either full opacity or completely transparent pixels. Should be used when antialiasing is not desired for the font.
;none: HINTING_NONE
+
;none: Disables hinting for the font. Results in fuzzier text.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.font]]
 
* [[parent::love.font]]
Line 11: Line 12:
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=True Type hinting mode.}}
 
{{#set:Description=True Type hinting mode.}}
{{#set:Since=070}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|HintingMode}}
 
{{i18n|HintingMode}}

Revision as of 04:31, 18 December 2018

Available since LÖVE 0.10.0
This enum is not supported in earlier versions.

True Type hinting mode.

Constants

normal
Default hinting. Should be preferred for typical antialiased fonts.
light
Results in fuzzier text but can sometimes preserve the original glyph shapes of the text better than normal hinting.
mono
Results in aliased / unsmoothed text with either full opacity or completely transparent pixels. Should be used when antialiasing is not desired for the font.
none
Disables hinting for the font. Results in fuzzier text.

See Also

Other Languages