Home
last modified time | relevance | path

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

/external/pdfium/fpdfsdk/pwl/
Dcpwl_font_map.cpp71 return m_Data[nFontIndex]->sFontName; in GetPDFFontAlias()
128 return pData->sFontName; in GetNativeFontName()
137 pNewData->sFontName = sNew; in GetNativeFontName()
151 bool CPWL_FontMap::IsStandardFont(const ByteString& sFontName) { in IsStandardFont() argument
153 if (sFontName == name) in IsStandardFont()
160 int32_t CPWL_FontMap::FindFont(const ByteString& sFontName, int32_t nCharset) { in FindFont() argument
165 (sFontName.IsEmpty() || pData->sFontName == sFontName)) { in FindFont()
173 int32_t CPWL_FontMap::GetFontIndex(const ByteString& sFontName, in GetFontIndex() argument
176 int32_t nFontIndex = FindFont(EncodeFontAlias(sFontName, nCharset), nCharset); in GetFontIndex()
183 ByteString sTemp = sFontName; in GetFontIndex()
[all …]
Dcpwl_font_map.h23 ByteString sFontName; member
28 ByteString sFontName; member
62 int32_t GetFontIndex(const ByteString& sFontName,
69 ByteString EncodeFontAlias(const ByteString& sFontName, int32_t nCharset);
70 ByteString EncodeFontAlias(const ByteString& sFontName);
76 int32_t FindFont(const ByteString& sFontName,
81 ByteString& sFontName,
83 bool IsStandardFont(const ByteString& sFontName);
84 CPDF_Font* AddStandardFont(CPDF_Document* pDoc, ByteString& sFontName);
86 ByteString& sFontName,
/external/pdfium/core/fpdfdoc/
Dcpvt_generateap.cpp360 const ByteString& sFontName) { in GetPopupContentsString() argument
364 CPVT_FontMap map(pDoc, nullptr, pDefFont, sFontName); in GetPopupContentsString()
745 ByteString sFontName = "FONT"; in GeneratePopupAP() local
746 auto pResourceFontDict = GenerateResourceFontDict(pDoc, sFontName); in GeneratePopupAP()
756 sAppStream << GetPopupContentsString(pDoc, *pAnnotDict, pDefFont, sFontName); in GeneratePopupAP()
906 ByteString sFontName(syntax.GetWord()); in GenerateFormAP() local
907 sFontName = PDF_NameDecode(sFontName); in GenerateFormAP()
908 if (sFontName.IsEmpty()) in GenerateFormAP()
922 pDRFontDict->GetDictFor(sFontName.Right(sFontName.GetLength() - 1)); in GenerateFormAP()
930 sFontName.Right(sFontName.GetLength() - 1), pDoc, in GenerateFormAP()
[all …]
/external/pdfium/fpdfsdk/formfiller/
Dcba_fontmap.cpp71 const ByteString& sFontName) { in SetDefaultFont() argument
78 m_sDefaultFontName = sFontName; in SetDefaultFont()
222 ByteString sFontName(syntax.GetWord()); in GetAnnotDefaultFont() local
223 ByteString sDecodedFontName = PDF_NameDecode(sFontName); in GetAnnotDefaultFont()
Dcba_fontmap.h22 void SetDefaultFont(CPDF_Font* pFont, const ByteString& sFontName);