Home | History | Annotate | Download | only in pdfwindow

Lines Matching refs:sFontName

73       return pData->sFontName;
140 return pData->sFontName;
149 pNewData->sFontName = sNew;
176 FX_BOOL CPWL_FontMap::IsStandardFont(const CFX_ByteString& sFontName) {
178 if (sFontName == g_sDEStandardFontName[i])
185 int32_t CPWL_FontMap::FindFont(const CFX_ByteString& sFontName,
190 if (sFontName.IsEmpty() || pData->sFontName == sFontName)
199 int32_t CPWL_FontMap::GetFontIndex(const CFX_ByteString& sFontName,
202 int32_t nFontIndex = FindFont(EncodeFontAlias(sFontName, nCharset), nCharset);
212 CFX_ByteString sTemp = sFontName;
253 pNewData->sFontName = sFontAlias;
267 return pData->sFontName;
278 CFX_ByteString sFontName = GetDefaultFontByCharset(nCharset);
280 if (m_pSystemHandler->FindNativeTrueTypeFont(nCharset, sFontName))
281 return sFontName;
283 sFontName = m_pSystemHandler->GetNativeTrueTypeFont(nCharset);
285 return sFontName;
289 CFX_ByteString& sFontName,
291 if (IsStandardFont(sFontName))
292 return AddStandardFont(pDoc, sFontName);
294 return AddSystemFont(pDoc, sFontName, nCharset);
298 CFX_ByteString& sFontName) {
304 if (sFontName == "ZapfDingbats") {
305 pFont = pDoc->AddStandardFont(sFontName, NULL);
308 pFont = pDoc->AddStandardFont(sFontName, &fe);
315 CFX_ByteString& sFontName,
320 if (sFontName.IsEmpty())
321 sFontName = GetNativeFont(nCharset);
326 return m_pSystemHandler->AddNativeTrueTypeFontToPDF(pDoc, sFontName,
332 CFX_ByteString CPWL_FontMap::EncodeFontAlias(const CFX_ByteString& sFontName,
336 return EncodeFontAlias(sFontName) + sPostfix;
339 CFX_ByteString CPWL_FontMap::EncodeFontAlias(const CFX_ByteString& sFontName) {
340 CFX_ByteString sRet = sFontName;