Home
last modified time | relevance | path

Searched refs:char_code (Results 1 – 22 of 22) sorted by relevance

/external/freetype/src/pfr/
Dpfrcmap.c47 if ( cmap->chars[n - 1].char_code >= cmap->chars[n].char_code ) in pfr_cmap_init()
70 FT_UInt32 char_code ) in pfr_cmap_char_index() argument
85 if ( gchar->char_code == char_code ) in pfr_cmap_char_index()
88 if ( gchar->char_code < char_code ) in pfr_cmap_char_index()
102 FT_UInt32 char_code = *pchar_code + 1; in pfr_cmap_char_next() local
118 if ( gchar->char_code == char_code ) in pfr_cmap_char_next()
127 char_code++; in pfr_cmap_char_next()
131 if ( gchar->char_code < char_code ) in pfr_cmap_char_next()
138 char_code = 0; in pfr_cmap_char_next()
147 char_code = gchar->char_code; in pfr_cmap_char_next()
[all …]
Dpfrtypes.h119 FT_UInt char_code; member
156 FT_UInt char_code; member
Dpfrsbit.c281 FT_UInt char_code, in pfr_lookup_bitmap_data() argument
367 if ( char_code < code ) in pfr_lookup_bitmap_data()
369 else if ( char_code > code ) in pfr_lookup_bitmap_data()
640 character->char_code, in pfr_slot_load_bitmap()
Dpfrobjs.c496 code1 = phy_font->chars[glyph1].char_code; in pfr_face_get_kerning()
497 code2 = phy_font->chars[glyph2].char_code; in pfr_face_get_kerning()
Dpfrload.c1004 cur->char_code = ( flags & PFR_PHY_2BYTE_CHARCODE ) in pfr_phy_font_load()
/external/freetype/src/psaux/
Dt1cmap.c64 FT_UInt32 char_code ) in t1_cmap_std_char_index() argument
69 if ( char_code < 256 ) in t1_cmap_std_char_index()
76 code = cmap->code_to_sid[char_code]; in t1_cmap_std_char_index()
103 FT_UInt32 char_code = *pchar_code + 1; in t1_cmap_std_char_next() local
106 while ( char_code < 256 ) in t1_cmap_std_char_next()
108 result = t1_cmap_std_char_index( cmap, char_code ); in t1_cmap_std_char_next()
112 char_code++; in t1_cmap_std_char_next()
114 char_code = 0; in t1_cmap_std_char_next()
117 *pchar_code = char_code; in t1_cmap_std_char_next()
222 FT_UInt32 char_code ) in t1_cmap_custom_char_index() argument
[all …]
/external/freetype/src/sfnt/
Dttcmap.c132 FT_UInt32 char_code ) in tt_cmap0_char_index() argument
137 return char_code < 256 ? table[6 + char_code] : 0; in tt_cmap0_char_index()
404 FT_UInt32 char_code ) in tt_cmap2_get_subheader() argument
409 if ( char_code < 0x10000UL ) in tt_cmap2_get_subheader()
411 FT_UInt char_lo = (FT_UInt)( char_code & 0xFF ); in tt_cmap2_get_subheader()
412 FT_UInt char_hi = (FT_UInt)( char_code >> 8 ); in tt_cmap2_get_subheader()
457 FT_UInt32 char_code ) in tt_cmap2_char_index() argument
464 subheader = tt_cmap2_get_subheader( table, char_code ); in tt_cmap2_char_index()
468 FT_UInt idx = (FT_UInt)(char_code & 0xFF); in tt_cmap2_char_index()
1483 FT_UInt32 char_code ) in tt_cmap4_char_index() argument
[all …]
/external/freetype/src/cache/
Dftccmap.c60 FT_UInt32 char_code; member
123 node->first = (query->char_code / FTC_CMAP_INDICES_MAX) * in ftc_cmap_node_new()
164 FT_UInt32 offset = (FT_UInt32)( query->char_code - node->first ); in ftc_cmap_node_compare()
233 FT_UInt32 char_code ) in FTC_CMapCache_Lookup() argument
263 query.char_code = char_code; in FTC_CMapCache_Lookup()
265 hash = FTC_CMAP_HASH( face_id, (FT_UInt)cmap_index, char_code ); in FTC_CMapCache_Lookup()
276 FT_ASSERT( (FT_UInt)( char_code - FTC_CMAP_NODE( node )->first ) < in FTC_CMapCache_Lookup()
280 if ( (FT_UInt)( char_code - FTC_CMAP_NODE( node )->first >= in FTC_CMapCache_Lookup()
284 gindex = FTC_CMAP_NODE( node )->indices[char_code - in FTC_CMapCache_Lookup()
310 gindex = FT_Get_Char_Index( face, char_code ); in FTC_CMapCache_Lookup()
[all …]
/external/freetype/src/cff/
Dcffcmap.c60 FT_UInt32 char_code ) in cff_cmap_encoding_char_index() argument
65 if ( char_code < 256 ) in cff_cmap_encoding_char_index()
66 result = cmap->gids[char_code]; in cff_cmap_encoding_char_index()
77 FT_UInt32 char_code = *pchar_code; in cff_cmap_encoding_char_next() local
82 if ( char_code < 255 ) in cff_cmap_encoding_char_next()
84 FT_UInt code = (FT_UInt)(char_code + 1); in cff_cmap_encoding_char_next()
189 FT_UInt32 char_code ) in cff_cmap_unicode_char_index() argument
196 return psnames->unicodes_char_index( unicodes, char_code ); in cff_cmap_unicode_char_index()
/external/freetype/src/psnames/
Dpsmodule.c464 FT_UInt32 char_code = *unicode + 1; in ps_unicodes_char_next() local
480 if ( map->unicode == char_code ) in ps_unicodes_char_next()
488 if ( base_glyph == char_code ) in ps_unicodes_char_next()
491 if ( base_glyph < char_code ) in ps_unicodes_char_next()
501 char_code = 0; in ps_unicodes_char_next()
507 char_code = BASE_GLYPH( map->unicode ); in ps_unicodes_char_next()
512 *unicode = char_code; in ps_unicodes_char_next()
/external/freetype/src/winfonts/
Dwinfnt.c634 FT_UInt32 char_code ) in fnt_cmap_char_index() argument
639 char_code -= cmap->first; in fnt_cmap_char_index()
640 if ( char_code < cmap->count ) in fnt_cmap_char_index()
643 gindex = (FT_UInt)( char_code + 1 ); in fnt_cmap_char_index()
654 FT_UInt32 char_code = *pchar_code + 1; in fnt_cmap_char_next() local
657 if ( char_code <= cmap->first ) in fnt_cmap_char_next()
664 char_code -= cmap->first; in fnt_cmap_char_next()
665 if ( char_code < cmap->count ) in fnt_cmap_char_next()
667 result = cmap->first + char_code; in fnt_cmap_char_next()
668 gindex = (FT_UInt)( char_code + 1 ); in fnt_cmap_char_next()
/external/pdfium/xfa/fgas/layout/
Dcfx_rtfbreak.cpp126 if (m_pFont && m_pFont->GetCharWidth(pCurChar->char_code(), &iCharWidthOut)) in AppendChar_Combination()
175 switch (pCurChar->char_code()) { in AppendChar_Control()
187 if (pCurChar->char_code() == m_wParagraphBreakChar) in AppendChar_Control()
216 m_pFont->GetCharWidth(pLastChar->char_code(), &iCharWidthOut))) { in AppendChar_Arabic()
245 m_pFont->GetCharWidth(pCurChar->char_code(), &iCharWidthOut))) { in AppendChar_Arabic()
272 wchar_t wForm = pCurChar->char_code(); in AppendChar_Others()
613 FX_BREAKPROPERTY nNext = FX_GetBreakProperty(pCur->char_code()); in GetBreakPos()
620 FX_BREAKPROPERTY nCur = FX_GetBreakProperty(pCur->char_code()); in GetBreakPos()
Dcfx_txtbreak.cpp52 wchar_t wch = pCurChar->char_code(); in AppendChar_Combination()
65 wchar_t wLast = pLastChar->char_code(); in AppendChar_Combination()
71 if (pLastChar->char_code() == 0x0651) { in AppendChar_Combination()
105 wchar_t wch = pCurChar->char_code(); in AppendChar_Control()
200 wchar_t wch = pCurChar->char_code(); in AppendChar_Others()
559 nNext = FX_GetBreakProperty(pCur->char_code()); in GetBreakPos()
566 nCur = FX_GetBreakProperty(pCur->char_code()); in GetBreakPos()
Dcfx_char.h34 uint16_t char_code() const { return m_wCharCode; } in char_code() function
Dcfx_breakpiece.cpp45 ret += static_cast<wchar_t>((*m_pChars)[i].char_code()); in GetString()
Dfx_arabic.cpp155 *wChar = static_cast<wchar_t>(pTC->char_code()); in ParseChar()
Dcfx_char.cpp300 cur.m_iBidiClass = FX_GetBidiClass(cur.char_code()); in Classify()
308 kNTypes[static_cast<size_t>(FX_GetBidiClass(cur.char_code()))]; in ClassifyWithTransform()
/external/freetype/include/freetype/internal/
Dftobjs.h176 FT_UInt32 char_code );
185 FT_UInt32 char_code,
190 FT_UInt32 char_code,
200 FT_UInt32 char_code );
/external/freetype/include/freetype/
Dftcache.h636 FT_UInt32 char_code );
Dfreetype.h2837 FT_ULong char_code,
3807 FT_ULong char_code,
/external/freetype/src/base/
Dftobjs.c1100 FT_ULong char_code, in FT_Load_Char() argument
1109 glyph_index = (FT_UInt)char_code; in FT_Load_Char()
1111 glyph_index = FT_Get_Char_Index( face, char_code ); in FT_Load_Char()
/external/freetype/docs/
DCHANGES4984 - Add a function like FT_Load_Character(face, char_code, load_flags)