Home
last modified time | relevance | path

Searched refs:charpos (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fpdfapi/render/
Dcpdf_charposlist.cpp35 FXTEXT_CHARPOS& charpos = m_pCharPos[m_nChars++]; in Load() local
37 charpos.m_bFontStyle = true; in Load()
39 charpos.m_Unicode = !unicode.IsEmpty() ? unicode[0] : CharCode; in Load()
40 charpos.m_GlyphIndex = pFont->GlyphFromCharCode(CharCode, &bVert); in Load()
41 uint32_t GlyphID = charpos.m_GlyphIndex; in Load()
43 charpos.m_ExtGID = pFont->GlyphFromCharCodeExt(CharCode); in Load()
44 GlyphID = charpos.m_ExtGID; in Load()
48 charpos.m_FallbackFontPosition = -1; in Load()
51 charpos.m_FallbackFontPosition = in Load()
53 charpos.m_GlyphIndex = pFont->FallbackGlyphFromCharcode( in Load()
[all …]
Dcpdf_renderstatus.cpp2038 FXTEXT_CHARPOS& charpos = CharPosList.m_pCharPos[i]; in DrawTextPathWithPattern() local
2039 auto* font = charpos.m_FallbackFontPosition == -1 in DrawTextPathWithPattern()
2041 : pFont->GetFontFallback(charpos.m_FallbackFontPosition); in DrawTextPathWithPattern()
2043 font->LoadGlyphPath(charpos.m_GlyphIndex, charpos.m_FontCharWidth); in DrawTextPathWithPattern()
2052 if (charpos.m_bGlyphAdjust) { in DrawTextPathWithPattern()
2053 matrix = CFX_Matrix(charpos.m_AdjustMatrix[0], charpos.m_AdjustMatrix[1], in DrawTextPathWithPattern()
2054 charpos.m_AdjustMatrix[2], charpos.m_AdjustMatrix[3], in DrawTextPathWithPattern()
2057 matrix.Concat(CFX_Matrix(font_size, 0, 0, font_size, charpos.m_Origin.x, in DrawTextPathWithPattern()
2058 charpos.m_Origin.y)); in DrawTextPathWithPattern()
/external/pdfium/core/fxge/win32/
Dcfx_psrenderer.cpp535 const FXTEXT_CHARPOS& charpos, in FindPSFontGlyph() argument
542 pPSFont->m_Glyphs[j].m_GlyphIndex == charpos.m_GlyphIndex && in FindPSFontGlyph()
543 ((!pPSFont->m_Glyphs[j].m_bGlyphAdjust && !charpos.m_bGlyphAdjust) || in FindPSFontGlyph()
544 (pPSFont->m_Glyphs[j].m_bGlyphAdjust && charpos.m_bGlyphAdjust && in FindPSFontGlyph()
546 charpos.m_AdjustMatrix[0]) < 0.01 && in FindPSFontGlyph()
548 charpos.m_AdjustMatrix[1]) < 0.01 && in FindPSFontGlyph()
550 charpos.m_AdjustMatrix[2]) < 0.01 && in FindPSFontGlyph()
552 charpos.m_AdjustMatrix[3]) < 0.01)))) { in FindPSFontGlyph()
584 pPSFont->m_Glyphs[glyphindex].m_GlyphIndex = charpos.m_GlyphIndex; in FindPSFontGlyph()
586 pPSFont->m_Glyphs[glyphindex].m_bGlyphAdjust = charpos.m_bGlyphAdjust; in FindPSFontGlyph()
[all …]
Dfx_win32_print.cpp296 const FXTEXT_CHARPOS& charpos = pCharPos[i]; in DrawDeviceText() local
297 ASSERT(charpos.m_AdjustMatrix[0] == 0); in DrawDeviceText()
298 ASSERT(charpos.m_AdjustMatrix[1] == 0); in DrawDeviceText()
299 ASSERT(charpos.m_AdjustMatrix[2] == 0); in DrawDeviceText()
300 ASSERT(charpos.m_AdjustMatrix[3] == 0); in DrawDeviceText()
301 ASSERT(charpos.m_Origin.y == 0); in DrawDeviceText()
305 float fOriginX = charpos.m_Origin.x * kScaleFactor; in DrawDeviceText()
310 wsText += charpos.m_GlyphIndex; in DrawDeviceText()
628 const FXTEXT_CHARPOS& charpos = pCharPos[i]; in DrawDeviceText() local
629 ASSERT(charpos.m_AdjustMatrix[0] == 0); in DrawDeviceText()
[all …]
Dcfx_psrenderer.h84 const FXTEXT_CHARPOS& charpos,
/external/pdfium/fxbarcode/oned/
DBC_OnedUPCAWriter.cpp117 std::vector<FXTEXT_CHARPOS> charpos(iLen); in ShowChars() local
157 CalcTextInfo(tempStr, &charpos[1], m_pFont.Get(), strWidth, iFontSize, blank); in ShowChars()
164 device->DrawNormalText(iLen, &charpos[1], m_pFont.Get(), in ShowChars()
170 CalcTextInfo(tempStr, &charpos[6], m_pFont.Get(), strWidth, iFontSize, blank); in ShowChars()
178 device->DrawNormalText(iLen, &charpos[6], m_pFont.Get(), in ShowChars()
187 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), strWidth, iFontSize, in ShowChars()
194 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
200 CalcTextInfo(tempStr, &charpos[11], m_pFont.Get(), strWidth, iFontSize, in ShowChars()
209 device->DrawNormalText(iLen, &charpos[11], m_pFont.Get(), in ShowChars()
DBC_OnedEAN13Writer.cpp149 std::vector<FXTEXT_CHARPOS> charpos(iLen); in ShowChars() local
180 CalcTextInfo(tempStr, &charpos[1], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
188 device->DrawNormalText(iLen, &charpos[1], m_pFont.Get(), in ShowChars()
194 CalcTextInfo(tempStr, &charpos[7], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
203 device->DrawNormalText(iLen, &charpos[7], m_pFont.Get(), in ShowChars()
212 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), (float)strWidth, in ShowChars()
219 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
DBC_OnedEAN8Writer.cpp149 std::vector<FXTEXT_CHARPOS> charpos(iLength); in ShowChars() local
173 CalcTextInfo(tempStr, charpos.data(), m_pFont.Get(), (float)strWidth, in ShowChars()
180 device->DrawNormalText(iLen, charpos.data(), m_pFont.Get(), in ShowChars()
186 CalcTextInfo(tempStr, &charpos[4], m_pFont.Get(), (float)strWidth, iFontSize, in ShowChars()
195 device->DrawNormalText(iLen, &charpos[4], m_pFont.Get(), in ShowChars()
DBC_OneDimWriter.cpp215 std::vector<FXTEXT_CHARPOS> charpos(iLen); in ShowChars() local
227 CalcTextInfo(str, charpos.data(), m_pFont.Get(), geWidth, iFontSize, in ShowChars()
257 ShowDeviceChars(device, matrix, str, geWidth, charpos.data(), (float)locX, in ShowChars()
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp947 const FXTEXT_CHARPOS& charpos = pCharPos[i]; in DrawNormalText() local
949 glyph.m_fOrigin = text2Device.Transform(charpos.m_Origin); in DrawNormalText()
956 if (charpos.m_bGlyphAdjust) { in DrawNormalText()
958 charpos.m_AdjustMatrix[0], charpos.m_AdjustMatrix[1], in DrawNormalText()
959 charpos.m_AdjustMatrix[2], charpos.m_AdjustMatrix[3], 0, 0); in DrawNormalText()
962 charpos.m_GlyphIndex, charpos.m_bFontStyle, &new_matrix, in DrawNormalText()
963 charpos.m_FontCharWidth, anti_alias, nativetext_flags); in DrawNormalText()
966 charpos.m_GlyphIndex, charpos.m_bFontStyle, &deviceCtm, in DrawNormalText()
967 charpos.m_FontCharWidth, anti_alias, nativetext_flags); in DrawNormalText()
1098 const FXTEXT_CHARPOS& charpos = pCharPos[iChar]; in DrawTextPath() local
[all …]
/external/pcre/dist2/src/
Dpcre2_jit_compile.c304 } charpos; member
10045 BACKTRACK_AS(char_iterator_backtrack)->u.charpos.enabled = TRUE; in compile_iterator_matchingpath()
10046 BACKTRACK_AS(char_iterator_backtrack)->u.charpos.chr = charpos_char; in compile_iterator_matchingpath()
10047 BACKTRACK_AS(char_iterator_backtrack)->u.charpos.othercasebit = charpos_othercasebit; in compile_iterator_matchingpath()
10777 if (CURRENT_AS(char_iterator_backtrack)->u.charpos.enabled) in compile_iterator_backtrackingpath()
10787 if (CURRENT_AS(char_iterator_backtrack)->u.charpos.othercasebit != 0) in compile_iterator_backtrackingpath()
10788 …OP2(SLJIT_OR, TMP1, 0, TMP1, 0, SLJIT_IMM, CURRENT_AS(char_iterator_backtrack)->u.charpos.othercas… in compile_iterator_backtrackingpath()
10789 …CMPTO(SLJIT_EQUAL, TMP1, 0, SLJIT_IMM, CURRENT_AS(char_iterator_backtrack)->u.charpos.chr, CURRENT… in compile_iterator_backtrackingpath()
/external/antlr/tool/
DCHANGES.txt324 * Refs to other tokens in a lexer rule didn't get its line/charpos right.
1765 Added ProxyTree for passing across socket. Has line/charpos and tokenIndex