Home
last modified time | relevance | path

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

/external/pdfium/core/fpdfapi/render/
Dcpdf_charposlist.cpp20 CPDF_CIDFont* pCIDFont = pFont->AsCIDFont(); in CPDF_CharPosList() local
21 bool bVertWriting = pCIDFont && pCIDFont->IsVertWriting(); in CPDF_CharPosList()
31 if (pCIDFont) in CPDF_CharPosList()
109 if (!pCIDFont) in CPDF_CharPosList()
112 uint16_t CID = pCIDFont->CIDFromCharCode(CharCode); in CPDF_CharPosList()
118 pCIDFont->GetVertOrigin(CID, vx, vy); in CPDF_CharPosList()
123 const uint8_t* pTransform = pCIDFont->GetCIDTransform(CID); in CPDF_CharPosList()
126 pCIDFont->CIDTransformToFloat(pTransform[0]) * scalingFactor; in CPDF_CharPosList()
128 pCIDFont->CIDTransformToFloat(pTransform[1]) * scalingFactor; in CPDF_CharPosList()
129 charpos.m_AdjustMatrix[2] = pCIDFont->CIDTransformToFloat(pTransform[2]); in CPDF_CharPosList()
[all …]
/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp238 CPDF_CIDFont* pCIDFont = pFont->AsCIDFont(); in GetCharWidth() local
239 if (pCIDFont) in GetCharWidth()
240 bVertWriting = pCIDFont->IsVertWriting(); in GetCharWidth()
244 uint16_t CID = pCIDFont->CIDFromCharCode(charcode); in GetCharWidth()
245 return pCIDFont->GetVertWidth(CID) * fontsize; in GetCharWidth()
268 CPDF_CIDFont* pCIDFont = pFont->AsCIDFont(); in CalcPositionData() local
269 if (pCIDFont) in CalcPositionData()
270 bVertWriting = pCIDFont->IsVertWriting(); in CalcPositionData()
296 uint16_t CID = pCIDFont->CIDFromCharCode(charcode); in CalcPositionData()
299 pCIDFont->GetVertOrigin(CID, vx, vy); in CalcPositionData()
[all …]
/external/pdfium/fpdfsdk/
Dfpdf_edittext.cpp334 CPDF_Dictionary* pCIDFont = pDoc->NewIndirect<CPDF_Dictionary>(); in LoadCompositeFont() local
335 pCIDFont->SetNewFor<CPDF_Name>("Type", "Font"); in LoadCompositeFont()
336 pCIDFont->SetNewFor<CPDF_Name>("Subtype", font_type == FPDF_FONT_TYPE1 in LoadCompositeFont()
339 pCIDFont->SetNewFor<CPDF_Name>("BaseFont", name); in LoadCompositeFont()
347 pCIDFont->SetNewFor<CPDF_Reference>("CIDSystemInfo", pDoc, in LoadCompositeFont()
352 pCIDFont->SetNewFor<CPDF_Reference>("FontDescriptor", pDoc, in LoadCompositeFont()
425 pCIDFont->SetNewFor<CPDF_Reference>("W", pDoc, widthsArray->GetObjNum()); in LoadCompositeFont()
430 pDescendant->AddNew<CPDF_Reference>(pDoc, pCIDFont->GetObjNum()); in LoadCompositeFont()
Dfpdf_text.cpp249 CPDF_CIDFont* pCIDFont = charinfo.m_pTextObj->GetFont()->AsCIDFont(); in FPDFText_GetLooseCharBox() local
250 uint16_t cid = pCIDFont->CIDFromCharCode(charinfo.m_CharCode); in FPDFText_GetLooseCharBox()
254 pCIDFont->GetVertOrigin(cid, vx, vy); in FPDFText_GetLooseCharBox()
257 short vert_width = pCIDFont->GetVertWidth(cid); in FPDFText_GetLooseCharBox()
/external/pdfium/core/fpdfapi/font/
Dcpdf_font.cpp128 const CPDF_CIDFont* pCIDFont = AsCIDFont(); in IsVertWriting() local
129 return pCIDFont ? pCIDFont->IsVertWriting() : m_Font.IsVertical(); in IsVertWriting()