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.
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