#include <ft2build.h>
#include "cffcmap.h"
#include "cffload.h"
#include "cfferrs.h"
Go to the source code of this file.
|
| cff_cmap_encoding_init (CFF_CMapStd cmap, FT_Pointer pointer) |
|
| cff_cmap_encoding_done (CFF_CMapStd cmap) |
|
| cff_cmap_encoding_char_index (CFF_CMapStd cmap, FT_UInt32 char_code) |
|
| cff_cmap_encoding_char_next (CFF_CMapStd cmap, FT_UInt32 *pchar_code) |
|
| FT_DEFINE_CMAP_CLASS (cff_cmap_encoding_class_rec, sizeof(CFF_CMapStdRec),(FT_CMap_InitFunc) cff_cmap_encoding_init,(FT_CMap_DoneFunc) cff_cmap_encoding_done,(FT_CMap_CharIndexFunc) cff_cmap_encoding_char_index,(FT_CMap_CharNextFunc) cff_cmap_encoding_char_next,(FT_CMap_CharVarIndexFunc) NULL,(FT_CMap_CharVarIsDefaultFunc) NULL,(FT_CMap_VariantListFunc) NULL,(FT_CMap_CharVariantListFunc) NULL,(FT_CMap_VariantCharListFunc) NULL) cff_sid_to_glyph_name(TT_Face face |
|
return | cff_index_get_sid_string (cff, sid) |
|
| cff_cmap_unicode_init (PS_Unicodes unicodes, FT_Pointer pointer) |
|
| cff_cmap_unicode_done (PS_Unicodes unicodes) |
|
| cff_cmap_unicode_char_index (PS_Unicodes unicodes, FT_UInt32 char_code) |
|
| cff_cmap_unicode_char_next (PS_Unicodes unicodes, FT_UInt32 *pchar_code) |
|
◆ cff_cmap_encoding_char_index()
cff_cmap_encoding_char_index |
( |
CFF_CMapStd |
cmap, |
|
|
FT_UInt32 |
char_code |
|
) |
| |
Definition at line 60 of file cffcmap.c.
66 if ( char_code < 256 )
67 result = cmap->gids[char_code];
◆ cff_cmap_encoding_char_next()
cff_cmap_encoding_char_next |
( |
CFF_CMapStd |
cmap, |
|
|
FT_UInt32 * |
pchar_code |
|
) |
| |
Definition at line 74 of file cffcmap.c.
78 FT_UInt32 char_code = *pchar_code;
83 if ( char_code < 255 )
◆ cff_cmap_encoding_done()
◆ cff_cmap_encoding_init()
Definition at line 36 of file cffcmap.c.
GLsizei const GLvoid * pointer
struct TT_FaceRec_ * TT_Face
struct CFF_FontRec_ * CFF_Font
GLenum GLuint GLint GLenum face
◆ cff_cmap_unicode_char_index()
cff_cmap_unicode_char_index |
( |
PS_Unicodes |
unicodes, |
|
|
FT_UInt32 |
char_code |
|
) |
| |
Definition at line 186 of file cffcmap.c.
191 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
194 return psnames->unicodes_char_index( unicodes, char_code );
FT_Service_PsCMaps psnames
struct TT_FaceRec_ * TT_Face
struct CFF_FontRec_ * CFF_Font
GLenum GLuint GLint GLenum face
◆ cff_cmap_unicode_char_next()
cff_cmap_unicode_char_next |
( |
PS_Unicodes |
unicodes, |
|
|
FT_UInt32 * |
pchar_code |
|
) |
| |
Definition at line 199 of file cffcmap.c.
204 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
207 return psnames->unicodes_char_next( unicodes, pchar_code );
FT_Service_PsCMaps psnames
struct TT_FaceRec_ * TT_Face
struct CFF_FontRec_ * CFF_Font
GLenum GLuint GLint GLenum face
◆ cff_cmap_unicode_done()
Definition at line 174 of file cffcmap.c.
static char memory[1024 *256]
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
#define FT_FACE_MEMORY(x)
GLenum GLuint GLint GLenum face
◆ cff_cmap_unicode_init()
Definition at line 147 of file cffcmap.c.
154 FT_Service_PsCMaps psnames = (FT_Service_PsCMaps)
cff->
psnames;
162 return FT_THROW( No_Unicode_Glyph_Name );
164 return psnames->unicodes_init(
memory,
GLsizei const GLvoid * pointer
static char memory[1024 *256]
FT_Service_PsCMaps psnames
struct TT_FaceRec_ * TT_Face
const char *(* PS_GetGlyphNameFunc)(FT_Pointer data, FT_UInt string_index)
void(* PS_FreeGlyphNameFunc)(FT_Pointer data, const char *name)
typedefFT_BEGIN_HEADER struct FT_MemoryRec_ * FT_Memory
#define FT_FACE_MEMORY(x)
struct CFF_FontRec_ * CFF_Font
GLenum GLuint GLint GLenum face
◆ cff_index_get_sid_string()
◆ FT_DEFINE_CMAP_CLASS()
FT_DEFINE_CMAP_CLASS |
( |
cff_cmap_encoding_class_rec |
, |
|
|
sizeof(CFF_CMapStdRec) |
, |
|
|
(FT_CMap_InitFunc) |
cff_cmap_encoding_init, |
|
|
(FT_CMap_DoneFunc) |
cff_cmap_encoding_done, |
|
|
(FT_CMap_CharIndexFunc) |
cff_cmap_encoding_char_index, |
|
|
(FT_CMap_CharNextFunc) |
cff_cmap_encoding_char_next, |
|
|
(FT_CMap_CharVarIndexFunc) |
NULL, |
|
|
(FT_CMap_CharVarIsDefaultFunc) |
NULL, |
|
|
(FT_CMap_VariantListFunc) |
NULL, |
|
|
(FT_CMap_CharVariantListFunc) |
NULL, |
|
|
(FT_CMap_VariantCharListFunc) |
NULL |
|
) |
| |
◆ charset
Definition at line 138 of file cffcmap.c.
Referenced by add_charset(), add_font_to_fonttbl(), cff_charset_cid_to_gindex(), cff_charset_compute_cids(), cff_charset_done(), cff_charset_free_cids(), cff_charset_load(), cff_cmap_unicode_init(), cff_encoding_load(), cff_get_name_index(), CFn_FitCharSet(), CFn_WMCommand(), CFn_WMInitDialog(), cp_from_charset_string(), D3DXCreateFontA(), D3DXCreateFontW(), find_nls(), get_document_charset(), get_glyph_indices(), get_opentype_script(), GetKerningPairsA(), is_cjk(), ITextRange_fnMoveEndUntil(), ITextRange_fnMoveEndWhile(), ITextRange_fnMoveStartUntil(), ITextRange_fnMoveStartWhile(), ITextRange_fnMoveUntil(), ITextRange_fnMoveWhile(), ITextSelection_fnMoveEndUntil(), ITextSelection_fnMoveEndWhile(), ITextSelection_fnMoveStartUntil(), ITextSelection_fnMoveStartWhile(), ITextSelection_fnMoveUntil(), ITextSelection_fnMoveWhile(), load_nls(), font::MakeFont(), map_font(), METADC_ExtTextOut(), MFDRV_ExtTextOut(), MimeInternat_FindCharset(), MimeInternat_GetCharsetInfo(), MimeInternat_Release(), MimeOleFindCharset(), MimeOleGetDefaultCharset(), mlang_getcsetinfo(), nsChannel_SetContentCharset(), nsIOService_NewURI(), OLEFontImpl_put_Charset(), parse_content_type(), RTFCharSetToCodePage(), sic_open(), test_bitmap_font_glyph_index(), test_east_asian_font_selection(), test_font_charset(), test_GdiGetCodePage(), test_GetCharsetInfo_other(), test_margins_default(), test_margins_usefontinfo(), test_nonexistent_font(), test_oemcharset(), and test_stock_fonts().
◆ idx
Initial value:{
struct CFF_FontRec_ * CFF_Font
GLenum GLuint GLint GLenum face
Definition at line 136 of file cffcmap.c.
◆ sid
Definition at line 139 of file cffcmap.c.
Referenced by _svcauth_des(), add_group_mapping(), add_user_mapping(), ADVAPI_GetComputerSid(), cache_ref(), cff_encoding_load(), cff_get_glyph_name(), cff_get_name_index(), cff_index_get_sid_string(), check_4_special_identifiers(), check_style_attr_value(), create_unknownsid(), debugstr_sid(), enum_components(), enum_products(), fetch_machine_component(), fetch_machine_product(), fetch_user_component(), fetch_user_product(), fill_sid(), fnIMLangFontLink2_GetScriptFontInfo(), formatopts_proc(), get_binaryrepresentation(), get_nsstyle_attr(), get_nsstyle_attr_nsval(), get_nsstyle_attr_var(), get_nsstyle_pixel_val(), get_nsstyle_pos(), get_style_attr(), GetShellSecurityDescriptor(), GetWindowsAccountDomainSid(), gid_to_sid(), handle_setacl(), is_well_known_sid(), IUnknown_QueryService(), load_default_acl(), map_dacl_2_nfs4acl(), map_name_2_sid(), map_nfs4ace_who(), MsiEnumClientsExA(), MsiEnumClientsExW(), MsiEnumComponentsExA(), MsiEnumComponentsExW(), MsiEnumProductsExA(), MsiEnumProductsExW(), search_for_gid(), set_nsstyle_attr(), set_nsstyle_attr_var(), set_style_attr(), set_style_pos(), set_style_pxattr(), sid_to_uid(), test_CodePageToScriptID(), test_CreateWellKnownSid(), test_LsaLookupSids(), test_MsiEnumComponentsEx(), test_MsiEnumProductsEx(), test_sid_str(), test_token_label(), TestsSeQueryInformationToken(), uid_to_sid(), validate_default_security_descriptor(), and well_known_sid().