Searched defs:charcode (Results 1 - 24 of 24) sorted by relevance

/external/chromium_org/third_party/freetype/src/cff/
H A Dcffload.h30 cff_get_standard_encoding( FT_UInt charcode ); variable
/external/freetype/src/cff/
H A Dcffload.h30 cff_get_standard_encoding( FT_UInt charcode ); variable
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/
H A Dcffload.h30 cff_get_standard_encoding( FT_UInt charcode ); variable
/external/chromium_org/third_party/freetype/src/autofit/
H A Dafglobal.c98 FT_ULong charcode = range->first; local
102 gindex = FT_Get_Char_Index( face, charcode );
111 charcode = FT_Get_Next_Char( face, charcode, &gindex );
113 if ( gindex == 0 || charcode > range->last )
/external/freetype/src/autofit/
H A Dafglobal.c187 FT_ULong charcode = range->first; local
191 gindex = FT_Get_Char_Index( face, charcode );
200 charcode = FT_Get_Next_Char( face, charcode, &gindex );
202 if ( gindex == 0 || charcode > range->last )
H A Dhbshim.c422 FT_ULong charcode,
436 in_idx = FT_Get_Char_Index( metrics->globals->face, charcode );
449 uint32_t c = (uint32_t)charcode;
523 FT_ULong charcode,
535 *codepoint = FT_Get_Char_Index( face, charcode );
421 af_get_char_index( AF_StyleMetrics metrics, FT_ULong charcode, FT_ULong *codepoint, FT_Long *y_offset ) argument
522 af_get_char_index( AF_StyleMetrics metrics, FT_ULong charcode, FT_ULong *codepoint, FT_Long *y_offset ) argument
/external/pdfium/core/src/fpdfapi/fpdf_cmaps/
H A Dfpdf_cmaps.cpp79 FX_WORD FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, FX_DWORD charcode) argument
81 if (charcode >> 16) {
84 FX_WORD* found = (FX_WORD*)FXSYS_bsearch(&charcode, pMap->m_pDWordMap, pMap->m_DWordCount, 8, compareDWordRange);
86 return found[3] + (FX_WORD)charcode - found[1];
89 FX_WORD* found = (FX_WORD*)FXSYS_bsearch(&charcode, pMap->m_pDWordMap, pMap->m_DWordCount, 6, compareDWordSingle);
101 FX_WORD code = (FX_WORD)charcode;
/external/pdfium/core/src/fpdfapi/fpdf_font/
H A Dfpdf_font_charset.cpp478 const FX_CHAR* PDF_CharNameFromPredefinedCharSet(int encoding, FX_BYTE charcode) argument
481 if (charcode < 24) {
484 charcode -= 24;
486 if (charcode < 32) {
489 charcode -= 32;
493 return AdobeWinAnsiEncodingNames[charcode];
495 return MacRomanEncodingNames[charcode];
497 return MacExpertEncodingNames[charcode];
499 return StandardEncodingNames[charcode];
501 return AdobeSymbolEncodingNames[charcode];
509 FT_UnicodeFromCharCode(int encoding, FX_DWORD charcode) argument
[all...]
H A Dfpdf_font.cpp164 void CPDF_Font::AppendChar(CFX_ByteString& str, FX_DWORD charcode) const
167 int len = AppendChar(buf, charcode);
174 CFX_WideString CPDF_Font::UnicodeFromCharCode(FX_DWORD charcode) const
180 CFX_WideString wsRet = m_pToUnicodeMap->Lookup(charcode);
185 FX_WCHAR unicode = _UnicodeFromCharCode(charcode);
197 FX_DWORD charcode = m_pToUnicodeMap->ReverseLookup(unicode); local
198 if (charcode) {
199 return charcode;
212 FX_DWORD charcode = GetNextChar(src_buf, src_pos); local
213 CFX_WideString unicode = UnicodeFromCharCode(charcode);
230 FX_DWORD charcode = CharCodeFromUnicode(src_buf[src_pos]); local
378 FX_DWORD charcode = GetNextChar(pString, offset); local
383 GetCharTypeWidth(FX_DWORD charcode) argument
506 Lookup(FX_DWORD charcode) argument
846 GlyphFromCharCode(FX_DWORD charcode, FX_BOOL *pVertGlyph) argument
860 LoadCharMetrics(int charcode) argument
897 GetCharWidthF(FX_DWORD charcode, int level) argument
910 GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level) argument
923 GetAdobeCharName(int iBaseEncoding, const CFX_ByteString* pCharNames, int charcode) argument
1086 GlyphFromCharCodeExt(FX_DWORD charcode) argument
1467 int charcode = 0; local
1680 LoadChar(FX_DWORD charcode, int level) argument
1725 GetCharWidthF(FX_DWORD charcode, int level) argument
1739 GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level) argument
[all...]
H A Dfpdf_font_cid.cpp19 extern FX_LPCSTR GetAdobeCharName(int iBaseEncoding, const CFX_ByteString* pCharNames, int charcode);
383 extern FX_WORD FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, FX_DWORD charcode);
514 FX_WORD CPDF_CMap::CIDFromCharCode(FX_DWORD charcode) const
517 return (FX_WORD)charcode;
520 return FPDFAPI_CIDFromCharCode(m_pEmbedMap, charcode);
523 return (FX_WORD)charcode;
525 if (charcode >> 16) {
527 void* found = FXSYS_bsearch(&charcode, m_pAddMapping + 4, *(FX_DWORD*)m_pAddMapping, 8, compareCID);
530 return m_pUseMap->CIDFromCharCode(charcode);
534 return (FX_WORD)(((FX_DWORD*)found)[1] % 65536 + charcode
603 FX_DWORD charcode = 0; local
669 _GetCharSize(FX_DWORD charcode, _CMap_CodeRange* pRanges, int iRangesSize) argument
872 _EmbeddedUnicodeFromCharcode(const FXCMAP_CMap* pEmbedMap, int charset, FX_DWORD charcode) argument
1114 GetCharBBox(FX_DWORD charcode, FX_RECT& rect, int level) argument
1190 GetCharWidthF(FX_DWORD charcode, int level) argument
1290 GlyphFromCharCode(FX_DWORD charcode, FX_BOOL *pVertGlyph) argument
[all...]
/external/pdfium/core/src/fxge/ge/
H A Dfx_ge_font.cpp412 FX_DWORD CFX_UnicodeEncoding::GlyphFromCharCode(FX_DWORD charcode) argument
416 return charcode;
419 return FXFT_Get_Char_Index(face, charcode);
424 index = FXFT_Get_Char_Index(face, charcode);
427 return FXFT_Get_Char_Index(face, charcode);
430 return charcode;
432 FX_DWORD CFX_UnicodeEncoding::GlyphFromCharCodeEx(FX_DWORD charcode, int encoding) argument
436 return charcode;
439 return GlyphFromCharCode(charcode);
451 return FXFT_Get_Char_Index(face, charcode);
[all...]
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/type1/
H A Dt1load.c1221 /* ... charcode /charname ... */
1268 FT_Int charcode; local
1272 charcode = n;
1275 charcode = (FT_Int)T1_ToInt( parser );
1297 parser->root.error = T1_Add_Table( char_table, charcode,
1301 char_table->elements[charcode][len] = '\0';
2216 FT_Int charcode, idx, min_char, max_char; local
2229 charcode = 0;
2230 for ( ; charcode < loader.encoding_table.max_elems; charcode
[all...]
/external/chromium_org/third_party/freetype/src/sfnt/
H A Dttcmap.c133 FT_UInt32 charcode = *pchar_code; local
139 while ( ++charcode < 256 )
141 gindex = table[charcode];
144 result = charcode;
206 /***** assume that the value "charcode" correspond to following: *****/
208 /***** - For one byte characters, "charcode" is simply the *****/
211 /***** - For two byte characters, "charcode" is the 2-byte *****/
214 /***** (charcode >> 8) is the first byte value *****/
215 /***** (charcode & 0xFF) is the second byte value *****/
217 /***** Note that not all values of "charcode" ar
474 FT_UInt32 charcode = *pcharcode + 1; local
742 FT_UInt charcode; local
1010 FT_UInt32 charcode = *pcharcode; local
1099 FT_UInt charcode = (FT_UInt)*pcharcode; local
[all...]
/external/freetype/src/sfnt/
H A Dttcmap.c139 FT_UInt32 charcode = *pchar_code; local
145 while ( ++charcode < 256 )
147 gindex = table[charcode];
150 result = charcode;
212 /***** assume that the value "charcode" correspond to following: *****/
214 /***** - For one byte characters, "charcode" is simply the *****/
217 /***** - For two byte characters, "charcode" is the 2-byte *****/
220 /***** (charcode >> 8) is the first byte value *****/
221 /***** (charcode & 0xFF) is the second byte value *****/
223 /***** Note that not all values of "charcode" ar
489 FT_UInt32 charcode = *pcharcode + 1; local
757 FT_UInt charcode; local
1032 FT_UInt32 charcode = *pcharcode; local
1121 FT_UInt charcode = (FT_UInt)*pcharcode; local
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_edit/
H A Dfpdf_edit_doc.cpp896 int charcode; local
897 for (charcode = 32; charcode < 128; charcode ++) {
898 int glyph_index = pEncoding->GlyphFromCharCode(charcode);
910 for (charcode = 128; charcode <= 255; charcode ++) {
911 int glyph_index = pEncoding->GlyphFromCharCode(charcode);
/external/pdfium/core/src/fpdfapi/fpdf_render/
H A Dfpdf_render_text.cpp24 CFX_GlyphBitmap* CPDF_Type3Cache::LoadGlyph(FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaScaleX, FX_FLOAT retinaScaleY) argument
36 if(pSizeCache->m_GlyphMap.Lookup((FX_LPVOID)(FX_UINTPTR)charcode, (void*&)pGlyphBitmap)) {
39 pGlyphBitmap = RenderGlyph(pSizeCache, charcode, pMatrix, retinaScaleX, retinaScaleY);
40 pSizeCache->m_GlyphMap.SetAt((FX_LPVOID)(FX_UINTPTR)charcode, pGlyphBitmap);
125 CFX_GlyphBitmap* CPDF_Type3Cache::RenderGlyph(CPDF_Type3Glyphs* pSize, FX_DWORD charcode, const CFX_AffineMatrix* pMatrix, FX_FLOAT retinaScaleX, FX_FLOAT retinaScaleY) argument
127 CPDF_Type3Char* pChar = m_pFont->LoadChar(charcode);
403 FX_DWORD charcode = pChars[iChar]; local
404 if (charcode == (FX_DWORD) - 1) {
407 CPDF_Type3Char* pType3Char = pType3Font->LoadChar(charcode);
470 CFX_GlyphBitmap* pBitmap = pCache->LoadGlyph(charcode,
625 FX_DWORD charcode; local
753 LoadGlyphPath(FX_DWORD charcode, int dest_width) argument
[all...]
/external/pdfium/core/src/fpdfdoc/
H A Ddoc_ap.cpp123 FX_DWORD charcode = pPDFFont->CharCodeFromUnicode(word); local
124 if (charcode != -1) {
125 return pPDFFont->GetCharWidthF(charcode);
/external/pdfium/core/src/fpdftext/
H A Dfpdf_text.cpp80 FX_DWORD charcode = pText->m_nChars == 1 ? (FX_DWORD)(FX_UINTPTR)pText->m_pCharCodes : pText->m_pCharCodes[i]; local
81 if (charcode == (FX_DWORD) - 1) {
85 pFont->GetCharBBox(charcode, char_box);
95 pFont->AppendChar(str, charcode);
118 FX_DWORD charcode = pText->m_nChars == 1 ? (FX_DWORD)(FX_UINTPTR)pText->m_pCharCodes : pText->m_pCharCodes[i]; local
119 if (charcode == (FX_DWORD) - 1) {
131 CFX_WideString wCh = pText->GetFont()->UnicodeFromCharCode(charcode);
132 FX_DWORD ch = wCh.GetLength() > 0 ? wCh.GetAt(0) : charcode;
144 pFont->AppendChar(segment, charcode);
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/sfnt/
H A Dttcmap.c133 FT_UInt32 charcode = *pchar_code; local
139 while ( ++charcode < 256 )
141 gindex = table[charcode];
144 result = charcode;
206 /***** assume that the value "charcode" correspond to following: *****/
208 /***** - For one byte characters, "charcode" is simply the *****/
211 /***** - For two byte characters, "charcode" is the 2-byte *****/
214 /***** (charcode >> 8) is the first byte value *****/
215 /***** (charcode & 0xFF) is the second byte value *****/
217 /***** Note that not all values of "charcode" ar
474 FT_UInt32 charcode = *pcharcode + 1; local
742 FT_UInt charcode; local
1010 FT_UInt32 charcode = *pcharcode; local
1099 FT_UInt charcode = (FT_UInt)*pcharcode; local
[all...]
/external/pdfium/core/include/fpdfapi/
H A Dfpdf_resource.h157 void AppendChar(CFX_ByteString& str, FX_DWORD charcode) const;
159 virtual int AppendChar(FX_LPSTR buf, FX_DWORD charcode) const
161 *buf = (FX_CHAR)charcode;
165 virtual int GetCharSize(FX_DWORD charcode) const
173 virtual int GlyphFromCharCode(FX_DWORD charcode, FX_BOOL *pVertGlyph = NULL) = 0;
174 virtual int GlyphFromCharCodeExt(FX_DWORD charcode) argument
176 return GlyphFromCharCode(charcode);
179 CFX_WideString UnicodeFromCharCode(FX_DWORD charcode) const;
222 virtual int GetCharWidthF(FX_DWORD charcode, int level = 0) = 0;
224 virtual int GetCharTypeWidth(FX_DWORD charcode);
321 SetUnicode(FX_BYTE charcode, FX_WCHAR unicode) argument
455 GetCharTypeWidth(FX_DWORD charcode) argument
[all...]
/external/pdfium/core/src/fpdfapi/fpdf_page/
H A Dfpdf_page.cpp151 void CPDF_TextObject::GetCharInfo(int index, FX_DWORD& charcode, FX_FLOAT& kerning) const argument
154 charcode = (FX_DWORD)(FX_UINTPTR)m_pCharCodes;
162 charcode = m_pCharCodes[i];
182 FX_DWORD charcode = m_pCharCodes[i]; local
183 if (charcode == (FX_DWORD) - 1) {
321 FX_FLOAT CPDF_TextObject::GetCharWidth(FX_DWORD charcode) const
331 return pFont->GetCharWidthF(charcode, 0) * fontsize;
333 FX_WORD CID = pCIDFont->CIDFromCharCode(charcode);
367 FX_DWORD charcode = m_nChars == 1 ? (FX_DWORD)(FX_UINTPTR)m_pCharCodes : m_pCharCodes[i]; local
368 if (charcode
411 FX_DWORD charcode = m_nChars == 1 ? (FX_DWORD)(FX_UINTPTR)m_pCharCodes : m_pCharCodes[i]; local
540 FX_DWORD charcode = m_nChars == 1 ? (FX_DWORD)(FX_UINTPTR)m_pCharCodes : m_pCharCodes[i]; local
[all...]
/external/pdfium/fpdfsdk/include/
H A Dfpdf_fwlevent.h265 FPDF_DWORD charcode; member in union:FWL_EVENT_KEY::__anon28821
/external/pdfium/fpdfsdk/src/javascript/
H A DDocument.cpp2007 FX_DWORD charcode = -1; local
2010 pTextObj->GetCharInfo(i, charcode, kerning);
2011 CFX_WideString swUnicode = pFont->UnicodeFromCharCode(charcode);
2042 FX_DWORD charcode = -1; local
2045 pTextObj->GetCharInfo(i, charcode, kerning);
2046 CFX_WideString swUnicode = pFont->UnicodeFromCharCode(charcode);
/external/pdfium/fpdfsdk/src/fxedit/
H A Dfxet_edit.cpp154 FX_DWORD charcode = word; local
157 charcode = pPDFFont->CharCodeFromUnicode(word);
159 charcode = m_pFontMap->CharCodeFromUnicode(nFontIndex, word);
161 if (charcode != -1)
162 return pPDFFont->GetCharWidthF(charcode);

Completed in 179 milliseconds