Difference between revisions of "HintingMode"

m
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]]

Revision as of 04:32, 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