Difference between revisions of "love.font"
m (Added enums (PixelFormat for GlyphData:getFormat()) and deprecation support) |
|||
Line 11: | Line 11: | ||
| ?PrettySince | | ?PrettySince | ||
| ?PrettyRemoved | | ?PrettyRemoved | ||
+ | | ?PrettyDeprecated | ||
}} | }} | ||
== Functions == | == Functions == | ||
Line 22: | Line 23: | ||
| ?PrettySince | | ?PrettySince | ||
| ?PrettyRemoved | | ?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]] |
Revision as of 10:02, 22 April 2020
Available since LÖVE 0.7.0 |
This module is not supported in earlier versions. |
Allows you to work with fonts.
Contents
Types
FontData | A FontData represents a font. | 0.7.0 | 0.8.0 |
GlyphData | A GlyphData represents a drawable symbol of a font. | 0.7.0 | |
Rasterizer | A Rasterizer represents font data and glyphs. | 0.7.0 |
Functions
love.font.newBMFontRasterizer | Creates a new BMFont Rasterizer. | 0.10.0 | |
love.font.newFontData | Creates a new FontData. | 0.7.0 | 0.8.0 |
love.font.newGlyphData | Creates a new GlyphData. | 0.7.0 | |
love.font.newImageRasterizer | Creates a new Image Rasterizer. | 0.10.0 | |
love.font.newRasterizer | Creates a new Rasterizer. | 0.7.0 | |
love.font.newTrueTypeRasterizer | Creates a new TrueType Rasterizer. | 0.10.0 |
Enums
HintingMode | True Type hinting mode. | 0.10.0 | |
PixelFormat | Pixel formats for Textures, ImageData, and CompressedImageData. | 11.0 |
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info