Difference between revisions of "love.font"

m (Added enums (PixelFormat for GlyphData:getFormat()) and deprecation support)
(See Also)
 
Line 42: 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