Lines Matching refs:FX_BSTRC
154 return FX_BSTRC("Type1");
156 return FX_BSTRC("TrueType");
158 return FX_BSTRC("Type3");
160 return FX_BSTRC("Type0");
238 m_Flags = pFontDesc->GetInteger(FX_BSTRC("Flags"), PDFFONT_NONSYMBOLIC);
241 if (pFontDesc->KeyExist(FX_BSTRC("ItalicAngle"))) {
242 ItalicAngle = pFontDesc->GetInteger(FX_BSTRC("ItalicAngle"));
250 if (pFontDesc->KeyExist(FX_BSTRC("StemV"))) {
251 m_StemV = pFontDesc->GetInteger(FX_BSTRC("StemV"));
255 if (pFontDesc->KeyExist(FX_BSTRC("Ascent"))) {
256 m_Ascent = pFontDesc->GetInteger(FX_BSTRC("Ascent"));
260 if (pFontDesc->KeyExist(FX_BSTRC("Descent"))) {
261 m_Descent = pFontDesc->GetInteger(FX_BSTRC("Descent"));
265 if (pFontDesc->KeyExist(FX_BSTRC("CapHeight"))) {
274 CPDF_Array* pBBox = pFontDesc->GetArray(FX_BSTRC("FontBBox"));
281 CPDF_Stream* pFontFile = pFontDesc->GetStream(FX_BSTRC("FontFile"));
283 pFontFile = pFontDesc->GetStream(FX_BSTRC("FontFile2"));
286 pFontFile = pFontDesc->GetStream(FX_BSTRC("FontFile3"));
366 CPDF_Stream* pStream = m_pFontDict->GetStream(FX_BSTRC("ToUnicode"));
408 pDict->SetAtName(FX_BSTRC("Type"), FX_BSTRC("Font"));
409 pDict->SetAtName(FX_BSTRC("Subtype"), FX_BSTRC("Type1"));
410 pDict->SetAtName(FX_BSTRC("BaseFont"), fontname);
411 pDict->SetAtName(FX_BSTRC("Encoding"), FX_BSTRC("WinAnsiEncoding"));
425 CFX_ByteString type = pFontDict->GetString(FX_BSTRC("Subtype"));
427 if (type == FX_BSTRC("TrueType")) {
430 CFX_ByteString basefont = pFontDict->GetString(FX_BSTRC("BaseFont"));
440 CPDF_Dictionary* pFontDesc = pFontDict->GetDict(FX_BSTRC("FontDescriptor"));
441 if (pFontDesc == NULL || !pFontDesc->KeyExist(FX_BSTRC("FontFile2"))) {
459 } else if (type == FX_BSTRC("Type3")) {
463 } else if (type == FX_BSTRC("Type0")) {
485 CFX_ByteString type = m_pFontDict->GetString(FX_BSTRC("Subtype"));
486 m_BaseFont = m_pFontDict->GetString(FX_BSTRC("BaseFont"));
487 if (type == FX_BSTRC("MMType1")) {
488 type = FX_BSTRC("Type1");
646 if (word == FX_BSTRC("beginbfchar")) {
649 if (word.IsEmpty() || word == FX_BSTRC("endbfchar")) {
667 } else if (word == FX_BSTRC("beginbfrange")) {
671 if (low.IsEmpty() || low == FX_BSTRC("endbfrange")) {
681 if (start == FX_BSTRC("[")) {
723 } else if (word == FX_BSTRC("/Adobe-Korea1-UCS2")) {
725 } else if (word == FX_BSTRC("/Adobe-Japan1-UCS2")) {
727 } else if (word == FX_BSTRC("/Adobe-CNS1-UCS2")) {
729 } else if (word == FX_BSTRC("/Adobe-GB1-UCS2")) {
741 if (value == FX_BSTRC("WinAnsiEncoding")) {
743 } else if (value == FX_BSTRC("MacRomanEncoding")) {
745 } else if (value == FX_BSTRC("MacExpertEncoding")) {
747 } else if (value == FX_BSTRC("PDFDocEncoding")) {
758 if (m_BaseFont == FX_BSTRC("Symbol")) {
769 if ((m_Flags & PDFFONT_SYMBOLIC) && m_BaseFont == FX_BSTRC("Symbol")) {
776 if (bsEncoding.Compare(FX_BSTRC("MacExpertEncoding")) == 0) {
777 bsEncoding = FX_BSTRC("WinAnsiEncoding");
787 CFX_ByteString bsEncoding = pDict->GetString(FX_BSTRC("BaseEncoding"));
788 if (bsEncoding.Compare(FX_BSTRC("MacExpertEncoding")) == 0 && bTrueType) {
789 bsEncoding = FX_BSTRC("WinAnsiEncoding");
796 CPDF_Array* pDiffs = pDict->GetArray(FX_BSTRC("Differences"));
943 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDict(FX_BSTRC("FontDescriptor"));
947 FX_BSTRC("Widths"));
952 if (pFontDesc && pFontDesc->KeyExist(FX_BSTRC("MissingWidth"))) {
953 int MissingWidth = pFontDesc->GetInteger(FX_BSTRC("MissingWidth"));
958 width_start = m_pFontDict->GetInteger(FX_BSTRC("FirstChar"), 0);
959 width_end = m_pFontDict->GetInteger(FX_BSTRC("LastChar"), 0);
982 CPDF_Object* pEncoding = m_pFontDict->GetElementValue(FX_BSTRC("Encoding"));
1046 CPDF_Dictionary* pFontDesc = m_pFontDict->GetDict(FX_BSTRC("FontDescriptor"));
1047 if (pFontDesc && pFontDesc->KeyExist(FX_BSTRC("Flags"))) {
1048 m_Flags = pFontDesc->GetInteger(FX_BSTRC("Flags"));
1417 pDict->SetAtName(FX_BSTRC("BaseEncoding"), FX_BSTRC("WinAnsiEncoding"));
1427 pDict->SetAt(FX_BSTRC("Differences"), pDiff);
1466 int nStartChar = m_pFontDict->GetInteger(FX_BSTRC("FirstChar"));
1488 FX_BOOL bToUnicode = m_pFontDict->KeyExist(FX_BSTRC("ToUnicode"));
1632 m_pFontResources = m_pFontDict->GetDict(FX_BSTRC("Resources"));
1633 CPDF_Array* pMatrix = m_pFontDict->GetArray(FX_BSTRC("FontMatrix"));
1640 CPDF_Array* pBBox = m_pFontDict->GetArray(FX_BSTRC("FontBBox"));
1647 int StartChar = m_pFontDict->GetInteger(FX_BSTRC("FirstChar"));
1648 CPDF_Array* pWidthArray = m_pFontDict->GetArray(FX_BSTRC("Widths"));
1661 m_pCharProcs = m_pFontDict->GetDict(FX_BSTRC("CharProcs"));
1662 CPDF_Object* pEncoding = m_pFontDict->GetElementValue(FX_BSTRC("Encoding"));