Difference between revisions of "HintingMode"

(Created page with "True Type hinting mode. See True Type manual for more infomation. == Constants == ;normal: HINTING_NORMAL ;light: HINTING_LIGHT ;mono: HINTING_MONO ;none: HINTING_NONE == See...")
 
m (Reorder SA)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
True Type hinting mode. See True Type manual for more infomation.
+
{{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]]
 
* [[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.}}
{{#set:Since=070}}
 
 
== 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