Difference between revisions of "HintingMode"

m
m (Reorder SA)
 
Line 8: Line 8:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.font]]
 
* [[parent::love.font]]
* [[love.graphics.newFont]]
 
 
* [[love.font.newRasterizer]]
 
* [[love.font.newRasterizer]]
 
* [[love.font.newTrueTypeRasterizer]]
 
* [[love.font.newTrueTypeRasterizer]]
 +
* [[love.graphics.newFont]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=True Type hinting mode.}}
 
{{#set:Description=True Type hinting mode.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|HintingMode}}
 
{{i18n|HintingMode}}

Latest revision as of 14:38, 13 November 2019

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