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

1 2 3 4 5

  /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_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_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_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_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_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_type1font.h 21 int GlyphFromCharCodeExt(uint32_t charcode) override;
33 void SetExtGID(const FX_CHAR* name, int charcode);
34 void CalcExtGID(int 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...]
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_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_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...]
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...]
  /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/fonttools/Lib/fontTools/
unicode.py 24 def __getitem__(self, charCode):
26 return self.codes[charCode]
32 def __getitem__(self, charCode):
35 return unicodedata.name(unichr(charCode))
  /external/pdfium/core/fpdfapi/render/
cpdf_charposlist.cpp 32 uint32_t CharCode = charCodes[iChar];
33 if (CharCode == static_cast<uint32_t>(-1))
41 charpos.m_GlyphIndex = pFont->GlyphFromCharCode(CharCode, &bVert);
46 pFont->FallbackFontFromCharcode(CharCode);
48 charpos.m_FallbackFontPosition, CharCode);
53 charpos.m_ExtGID = pFont->GlyphFromCharCodeExt(CharCode);
56 charpos.m_FontCharWidth = pFont->GetCharWidthF(CharCode);
65 uint16_t CID = pCIDFont->CIDFromCharCode(CharCode);
cpdf_type3cache.h 24 CFX_GlyphBitmap* LoadGlyph(uint32_t charcode,
31 uint32_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/pdfium/third_party/freetype/src/sfnt/
ttcmap.c 146 FT_UInt32 charcode = *pchar_code; local
152 while ( ++charcode < 256 )
154 gindex = table[charcode];
157 result = charcode;
219 /***** assume that the value `charcode' fulfills the following. *****/
221 /***** - For one byte characters, `charcode' is simply the *****/
224 /***** - For two byte characters, `charcode' is the 2-byte *****/
227 /***** (charcode >> 8) is the first byte value *****/
228 /***** (charcode & 0xFF) is the second byte value *****/
230 /***** Note that not all values of `charcode' are valid according *****
498 FT_UInt32 charcode = *pcharcode + 1; local
766 FT_UInt charcode; local
1045 FT_UInt32 charcode = *pcharcode; local
1176 FT_UInt charcode = (FT_UInt)*pcharcode; local
    [all...]
  /external/skia/src/fonts/
SkTestScalerContext.cpp 51 int SkTestFont::codeToIndex(SkUnichar charCode) const {
55 if (charCode >= ' ' && charCode <= '~') {
56 int bitOffset = charCode - ' ';
60 while (fDebugOverage[index] != 0 && fDebugOverage[index] != charCode
66 fDebugOverage[index] = charCode;
72 if (fCharCodes[index] == (unsigned) charCode) {
78 (char) charCode, charCode, fDebugName,
  /external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
rhino-python.prog 18 var charCode, data=[];
19 while ((charCode = isr.read()) >= 0) {
20 data.push(String.fromCharCode(charCode));

Completed in 1308 milliseconds

1 2 3 4 5