![]() |
![]()
| ![]() |
![]()
NAMEFont::FreeType::CharMap - character map from font typefaces loaded from Font::FreeType SYNOPSISuse Font::FreeType; my $freetype = Font::FreeType->new; my $face = $freetype->face('Vera.ttf'); my $charmap = $face->charmap; say $charmap->platform_id; say $charmap->encoding_id; say $charmap->encoding; DESCRIPTIONA charmap is used to translate character codes in a given encoding into glyph indexes for its parent's face. Some font formats may provide several charmaps per font. CONSTANTSThe following encoding constants are exported by default by Font::FreeType. See freetype documentation <http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_Encoding> FT_ENCODING_NONEFT_ENCODING_UNICODEFT_ENCODING_MS_SYMBOLFT_ENCODING_SJISFT_ENCODING_GB2312FT_ENCODING_BIG5FT_ENCODING_WANSUNGFT_ENCODING_JOHABFT_ENCODING_ADOBE_LATIN_1FT_ENCODING_ADOBE_STANDARDFT_ENCODING_ADOBE_EXPERTFT_ENCODING_ADOBE_CUSTOMFT_ENCODING_APPLE_ROMANFT_ENCODING_OLD_LATIN_2FT_ENCODING_MS_SJISSame as FT_ENCODING_SJIS. Deprecated. FT_ENCODING_MS_GB2312Same as FT_ENCODING_GB2312. Deprecated. FT_ENCODING_MS_BIG5Same as FT_ENCODING_BIG5. Deprecated. FT_ENCODING_MS_WANSUNGSame as FT_ENCODING_WANSUNG. Deprecated. FT_ENCODING_MS_JOHABSame as FT_ENCODING_JOHAB. Deprecated. METHODS
|