Home
last modified time | relevance | path

Searched refs:pCIDFont (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fpdfapi/render/
Dcpdf_charposlist.cpp27 CPDF_CIDFont* pCIDFont = pFont->AsCIDFont(); in Load() local
28 bool bVertWriting = pCIDFont && pCIDFont->IsVertWriting(); in Load()
36 if (pCIDFont) in Load()
91 if (!pCIDFont) in Load()
94 uint16_t CID = pCIDFont->CIDFromCharCode(CharCode); in Load()
100 pCIDFont->GetVertOrigin(CID, vx, vy); in Load()
105 const uint8_t* pTransform = pCIDFont->GetCIDTransform(CID); in Load()
108 pCIDFont->CIDTransformToFloat(pTransform[0]) * scalingFactor; in Load()
110 pCIDFont->CIDTransformToFloat(pTransform[1]) * scalingFactor; in Load()
111 charpos.m_AdjustMatrix[2] = pCIDFont->CIDTransformToFloat(pTransform[2]); in Load()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp182 CPDF_CIDFont* pCIDFont = pFont->AsCIDFont(); in GetCharWidth() local
183 if (pCIDFont) in GetCharWidth()
184 bVertWriting = pCIDFont->IsVertWriting(); in GetCharWidth()
188 uint16_t CID = pCIDFont->CIDFromCharCode(charcode); in GetCharWidth()
189 return pCIDFont->GetVertWidth(CID) * fontsize; in GetCharWidth()
208 CPDF_CIDFont* pCIDFont = pFont->AsCIDFont(); in CalcPositionData() local
209 if (pCIDFont) in CalcPositionData()
210 bVertWriting = pCIDFont->IsVertWriting(); in CalcPositionData()
236 uint16_t CID = pCIDFont->CIDFromCharCode(charcode); in CalcPositionData()
239 pCIDFont->GetVertOrigin(CID, vx, vy); in CalcPositionData()
[all …]
/external/pdfium/fpdfsdk/
Dfpdfedittext.cpp301 CPDF_Dictionary* pCIDFont = pDoc->NewIndirect<CPDF_Dictionary>(); in LoadCompositeFont() local
302 pCIDFont->SetNewFor<CPDF_Name>("Type", "Font"); in LoadCompositeFont()
303 pCIDFont->SetNewFor<CPDF_Name>("Subtype", font_type == FPDF_FONT_TYPE1 in LoadCompositeFont()
306 pCIDFont->SetNewFor<CPDF_Name>("BaseFont", name); in LoadCompositeFont()
314 pCIDFont->SetNewFor<CPDF_Reference>("CIDSystemInfo", pDoc, in LoadCompositeFont()
319 pCIDFont->SetNewFor<CPDF_Reference>("FontDescriptor", pDoc, in LoadCompositeFont()
389 pCIDFont->SetNewFor<CPDF_Reference>("W", pDoc, widthsArray->GetObjNum()); in LoadCompositeFont()
393 pDescendant->AddNew<CPDF_Reference>(pDoc, pCIDFont->GetObjNum()); in LoadCompositeFont()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp134 const CPDF_CIDFont* pCIDFont = AsCIDFont(); in IsVertWriting() local
135 return pCIDFont ? pCIDFont->IsVertWriting() : m_Font.IsVertical(); in IsVertWriting()