HomeSort by relevance Sort by last modified time
    Searched refs:charcode (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/pdfium/core/fpdfapi/font/
cpdf_truetypefont.cpp 75 int charcode = 0; local
76 for (; charcode < nStartChar; charcode++) {
77 m_GlyphIndex[charcode] = 0;
79 uint16_t nGlyph = charcode - nStartChar + 3;
80 for (; charcode < 256; charcode++, nGlyph++) {
81 m_GlyphIndex[charcode] = nGlyph;
98 for (int charcode = 0; charcode < 256; charcode++)
    [all...]
cpdf_type1font.cpp 103 int CPDF_Type1Font::GlyphFromCharCodeExt(uint32_t charcode) {
104 if (charcode > 0xff) {
107 int index = m_ExtGID[(uint8_t)charcode];
136 for (int charcode = 0; charcode < 256; charcode++) {
139 uint16_t unicode = prefix[j] * 256 + charcode;
140 m_GlyphIndex[charcode] =
143 CalcExtGID(charcode);
145 if (m_GlyphIndex[charcode]) {
    [all...]
cpdf_type1font.h 21 int GlyphFromCharCodeExt(uint32_t charcode) override;
33 void SetExtGID(const FX_CHAR* name, int charcode);
34 void CalcExtGID(int charcode);
cpdf_fontencoding.h 28 FX_WCHAR FT_UnicodeFromCharCode(int encoding, uint32_t charcode);
35 uint8_t charcode);
48 FX_WCHAR UnicodeFromCharCode(uint8_t charcode) const {
49 return m_Unicodes[charcode];
53 void SetUnicode(uint8_t charcode, FX_WCHAR unicode) {
54 m_Unicodes[charcode] = unicode;
cpdf_simplefont.cpp 25 int CPDF_SimpleFont::GlyphFromCharCode(uint32_t charcode, bool* pVertGlyph) {
29 if (charcode > 0xff)
32 int index = m_GlyphIndex[(uint8_t)charcode];
36 void CPDF_SimpleFont::LoadCharMetrics(int charcode) {
40 if (charcode < 0 || charcode > 0xff) {
43 int glyph_index = m_GlyphIndex[charcode];
45 if (!m_pFontFile && charcode != 32) {
47 m_CharBBox[charcode] = m_CharBBox[32];
49 m_CharWidth[charcode] = m_CharWidth[32]
    [all...]
cpdf_simplefont.h 23 int GetCharWidthF(uint32_t charcode) override;
24 FX_RECT GetCharBBox(uint32_t charcode) override;
25 int GlyphFromCharCode(uint32_t charcode, bool* pVertGlyph) override;
27 CFX_WideString UnicodeFromCharCode(uint32_t charcode) const override;
37 void LoadCharMetrics(int charcode);
cpdf_cidfont.h 45 int GlyphFromCharCode(uint32_t charcode, bool* pVertGlyph) override;
46 int GetCharWidthF(uint32_t charcode) override;
47 FX_RECT GetCharBBox(uint32_t charcode) override;
52 int AppendChar(FX_CHAR* str, uint32_t charcode) const override;
56 CFX_WideString UnicodeFromCharCode(uint32_t charcode) const override;
59 uint16_t CIDFromCharCode(uint32_t charcode) const;
63 int GetCharSize(uint32_t charcode) const;
73 FX_WCHAR GetUnicodeFromCharCode(uint32_t charcode) const;
cpdf_type3font.cpp 84 CPDF_Type3Char* CPDF_Type3Font::LoadChar(uint32_t charcode) {
88 auto it = m_CacheMap.find(charcode);
92 const FX_CHAR* name = GetAdobeCharName(m_BaseEncoding, m_CharNames, charcode);
111 it = m_CacheMap.find(charcode);
130 ASSERT(!pdfium::ContainsKey(m_CacheMap, charcode));
131 m_CacheMap[charcode] = std::move(pNewChar);
132 CPDF_Type3Char* pCachedChar = m_CacheMap[charcode].get();
138 int CPDF_Type3Font::GetCharWidthF(uint32_t charcode) {
139 if (charcode >= FX_ArraySize(m_CharWidthL))
140 charcode = 0
    [all...]
cpdf_font.h 57 virtual int AppendChar(FX_CHAR* buf, uint32_t charcode) const;
58 virtual int GlyphFromCharCode(uint32_t charcode, bool* pVertGlyph) = 0;
59 virtual int GlyphFromCharCodeExt(uint32_t charcode);
60 virtual CFX_WideString UnicodeFromCharCode(uint32_t charcode) const;
69 void AppendChar(CFX_ByteString& str, uint32_t charcode) const;
75 uint32_t FallbackFontFromCharcode(uint32_t charcode);
76 int FallbackGlyphFromCharcode(int fallbackFont, uint32_t charcode);
78 virtual int GetCharWidthF(uint32_t charcode) = 0;
79 virtual FX_RECT GetCharBBox(uint32_t charcode) = 0;
101 int charcode);
    [all...]
cpdf_type3font.h 29 int GetCharWidthF(uint32_t charcode) override;
30 FX_RECT GetCharBBox(uint32_t charcode) override;
35 CPDF_Type3Char* LoadChar(uint32_t charcode);
cpdf_cidfont.cpp 137 uint32_t charcode) {
141 uint16_t cid = FPDFAPI_CIDFromCharCode(pEmbedMap, charcode);
161 uint32_t CharCode = FPDFAPI_CharCodeFromCID(pEmbedMap, i);
162 if (CharCode)
163 return CharCode;
225 uint16_t CPDF_CIDFont::CIDFromCharCode(uint32_t charcode) const {
226 return m_pCMap ? m_pCMap->CIDFromCharCode(charcode)
227 : static_cast<uint16_t>(charcode);
234 CFX_WideString CPDF_CIDFont::UnicodeFromCharCode(uint32_t charcode) const {
235 CFX_WideString str = CPDF_Font::UnicodeFromCharCode(charcode);
275 uint32_t charcode = CPDF_Font::CharCodeFromUnicode(unicode); local
    [all...]
fpdf_font_cid.cpp 246 int GetCharSizeImpl(uint32_t charcode,
254 codes[2] = (uint8_t)(charcode >> 8 & 0xFF);
255 codes[3] = (uint8_t)charcode;
589 uint16_t CPDF_CMap::CIDFromCharCode(uint32_t charcode) const {
591 return (uint16_t)charcode;
594 return FPDFAPI_CIDFromCharCode(m_pEmbedMap, charcode);
597 return (uint16_t)charcode;
599 if (charcode >> 16) {
601 void* found = FXSYS_bsearch(&charcode, m_pAddMapping + 4,
605 return (uint16_t)(((uint32_t*)found)[1] % 65536 + charcode
642 uint32_t charcode = 0; local
    [all...]
cpdf_font.cpp 125 int CPDF_Font::GlyphFromCharCodeExt(uint32_t charcode) {
126 return GlyphFromCharCode(charcode, nullptr);
134 int CPDF_Font::AppendChar(FX_CHAR* buf, uint32_t charcode) const {
135 *buf = static_cast<FX_CHAR>(charcode);
139 void CPDF_Font::AppendChar(CFX_ByteString& str, uint32_t charcode) const {
141 int len = AppendChar(buf, charcode);
149 CFX_WideString CPDF_Font::UnicodeFromCharCode(uint32_t charcode) const {
153 return m_pToUnicodeMap ? m_pToUnicodeMap->Lookup(charcode) : CFX_WideString();
288 uint32_t charcode = GetNextChar(pString, size, offset); local
289 width += GetCharWidthF(charcode);
    [all...]
  /external/pdfium/core/fxge/ge/
cfx_unicodeencoding.cpp 16 uint32_t CFX_UnicodeEncoding::GlyphFromCharCode(uint32_t charcode) {
19 return charcode;
22 return FXFT_Get_Char_Index(face, charcode);
28 index = FXFT_Get_Char_Index(face, charcode);
30 return FXFT_Get_Char_Index(face, charcode);
32 return charcode;
cfx_unicodeencodingex.cpp 40 uint32_t CFX_UnicodeEncodingEx::GlyphFromCharCode(uint32_t charcode) {
42 FT_UInt nIndex = FXFT_Get_Char_Index(face, charcode);
55 nIndex = FXFT_Get_Char_Index(face, charcode);
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
parseentities.py 30 name,charcode,comment = m.groups()
31 d[name] = charcode,comment
40 for name,(charcode,comment) in items:
41 if charcode[:2] == '&#':
42 code = int(charcode[2:-1])
44 charcode = "'\%o'" % code
46 charcode = repr(charcode)
48 charcode = repr(charcode)
    [all...]
  /external/python/cpython2/Tools/scripts/
parseentities.py 30 name,charcode,comment = m.groups()
31 d[name] = charcode,comment
40 for name,(charcode,comment) in items:
41 if charcode[:2] == '&#':
42 code = int(charcode[2:-1])
44 charcode = "'\%o'" % code
46 charcode = repr(charcode)
48 charcode = repr(charcode)
    [all...]
  /external/pdfium/core/fpdfapi/render/
cpdf_type3cache.h 24 CFX_GlyphBitmap* LoadGlyph(uint32_t charcode,
31 uint32_t charcode,
  /external/pdfium/core/fxge/
cfx_unicodeencodingex.h 25 uint32_t GlyphFromCharCode(uint32_t charcode) override;
  /external/pdfium/core/fpdfapi/cmaps/
cmap_int.h 30 uint16_t FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, uint32_t charcode);
fpdf_cmaps.cpp 74 uint16_t FPDFAPI_CIDFromCharCode(const FXCMAP_CMap* pMap, uint32_t charcode) {
75 if (charcode >> 16) {
79 FXSYS_bsearch(&charcode, pMap->m_pDWordMap, pMap->m_DWordCount, 8,
82 return found[3] + (uint16_t)charcode - found[1];
86 FXSYS_bsearch(&charcode, pMap->m_pDWordMap, pMap->m_DWordCount, 6,
99 uint16_t code = (uint16_t)charcode;
  /external/pdfium/core/fpdfapi/page/
cpdf_textobject.cpp 54 for (uint32_t charcode : m_CharCodes) {
55 if (charcode != CPDF_Font::kInvalidCharCode)
62 uint32_t* charcode,
70 *charcode = m_CharCodes[i];
84 uint32_t charcode = m_CharCodes[i]; local
85 if (charcode == CPDF_Font::kInvalidCharCode)
169 FX_FLOAT CPDF_TextObject::GetCharWidth(uint32_t charcode) const {
177 return pFont->GetCharWidthF(charcode) * fontsize;
179 uint16_t CID = pCIDFont->CIDFromCharCode(charcode);
205 uint32_t charcode = m_CharCodes[i] local
    [all...]
cpdf_textobject.h 42 void GetCharInfo(int index, uint32_t* charcode, FX_FLOAT* kerning) const;
44 FX_FLOAT GetCharWidth(uint32_t charcode) const;
  /external/freetype/src/autofit/
afglobal.c 188 FT_ULong charcode = range->first; local
192 gindex = FT_Get_Char_Index( face, charcode );
201 charcode = FT_Get_Next_Char( face, charcode, &gindex );
203 if ( gindex == 0 || charcode > range->last )
217 FT_ULong charcode = range->first; local
221 gindex = FT_Get_Char_Index( face, charcode );
230 charcode = FT_Get_Next_Char( face, charcode, &gindex );
232 if ( gindex == 0 || charcode > range->last
    [all...]
  /external/freetype/src/sfnt/
ttcmap.c 146 FT_UInt32 charcode = *pchar_code; local
152 while ( ++charcode < 256 )
154 gindex = table[charcode];
157 result = charcode;
221 /***** assume that the value `charcode' fulfills the following. *****/
223 /***** - For one byte characters, `charcode' is simply the *****/
226 /***** - For two byte characters, `charcode' is the 2-byte *****/
229 /***** (charcode >> 8) is the first byte value *****/
230 /***** (charcode & 0xFF) is the second byte value *****/
232 /***** Note that not all values of `charcode' are valid according *****
500 FT_UInt32 charcode = *pcharcode + 1; local
773 FT_UInt charcode; local
1076 FT_UInt32 charcode = *pcharcode; local
1210 FT_UInt charcode = (FT_UInt)*pcharcode; local
    [all...]

Completed in 2104 milliseconds

1 2 3