Difference between revisions of "love.font"

m (Oops)
(See Also)
 
(2 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
{{#ask: [[Category:Types]] [[parent::love.font]] [[Concept:Current]]
 
{{#ask: [[Category:Types]] [[parent::love.font]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
| ?PrettyDeprecated
 
}}
 
}}
 
== Functions ==
 
== Functions ==
 
{{#ask: [[Category:Functions]] [[parent::love.font]] [[Concept:Current]]
 
{{#ask: [[Category:Functions]] [[parent::love.font]] [[Concept:Current]]
 
| headers=hide
 
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 
| ?Description
 
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
| ?PrettyDeprecated
 +
}}
 +
== Enums ==
 +
{{#ask: [[Category:Enums]] [[parent::love.font]] [[Concept:Current]]
 +
| headers=hide
 +
| format=template
 +
| template=ListingFields
 +
| introtemplate=ListingIntro
 +
| outrotemplate=ListingOutro
 +
| ?Description
 +
| ?PrettySince
 +
| ?PrettyRemoved
 +
| ?PrettyDeprecated
 
}}
 
}}
 
[[Category:Modules]]
 
[[Category:Modules]]
Line 16: Line 42:
 
* [[parent::Font]]
 
* [[parent::Font]]
 
* [[parent::love]]
 
* [[parent::love]]
 +
* [[love.graphics.newFont]]
 +
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.font}}
 
{{i18n|love.font}}

Latest revision as of 21:51, 26 December 2021

Available since LÖVE 0.7.0
This module is not supported in earlier versions.

Allows you to work with fonts.

Types

FontData A FontData represents a font. Added since 0.7.0 Removed in 0.8.0
GlyphData A GlyphData represents a drawable symbol of a font. Added since 0.7.0
Rasterizer A Rasterizer represents font data and glyphs. Added since 0.7.0

Functions

love.font.newBMFontRasterizer Creates a new BMFont Rasterizer. Added since 0.10.0
love.font.newFontData Creates a new FontData. Added since 0.7.0 Removed in 0.8.0
love.font.newGlyphData Creates a new GlyphData. Added since 0.7.0
love.font.newImageRasterizer Creates a new Image Rasterizer. Added since 0.10.0
love.font.newRasterizer Creates a new Rasterizer. Added since 0.7.0
love.font.newTrueTypeRasterizer Creates a new TrueType Rasterizer. Added since 0.10.0

Enums

HintingMode True Type hinting mode. Added since 0.10.0
PixelFormat Pixel formats for Textures, ImageData, and CompressedImageData. Added since 11.0

See Also

Other Languages