Lines Matching refs:gfi
770 OUString aPSName( OStringToOUString( pInfo->gfi->fontName, RTL_TEXTENCODING_ISO_8859_1 ) ); in readAfmMetrics()
777 aFamily = OStringToOUString( pInfo->gfi->familyName, RTL_TEXTENCODING_ISO_8859_1 ); in readAfmMetrics()
780 aFamily = OStringToOUString( pInfo->gfi->fontName, RTL_TEXTENCODING_ISO_8859_1 ); in readAfmMetrics()
792 if( ! m_aStyleName.getLength() && pInfo->gfi->fullName && *pInfo->gfi->fullName ) in readAfmMetrics()
794 … OUString aFullName( OStringToOUString( pInfo->gfi->fullName, RTL_TEXTENCODING_ISO_8859_1 ) ); in readAfmMetrics()
800 if( pInfo->gfi->italicAngle > 0 ) in readAfmMetrics()
802 else if( pInfo->gfi->italicAngle < 0 ) in readAfmMetrics()
808 ByteString aLowerWeight( pInfo->gfi->weight ); in readAfmMetrics()
813 m_ePitch = pInfo->gfi->isFixedPitch ? pitch::Fixed : pitch::Variable; in readAfmMetrics()
817 if( pInfo->gfi->encodingScheme ) in readAfmMetrics()
819 if( !strcmp( pInfo->gfi->encodingScheme, "AdobeStandardEncoding" ) ) in readAfmMetrics()
821 else if( !strcmp( pInfo->gfi->encodingScheme, "ISO10646-1" ) ) in readAfmMetrics()
826 else if( !strcmp( pInfo->gfi->encodingScheme, "Symbol") ) in readAfmMetrics()
828 else if( !strcmp( pInfo->gfi->encodingScheme, "FontSpecific") ) in readAfmMetrics()
878 fprintf( stderr, "Encoding %d for %s\n", m_aEncoding, pInfo->gfi->fontName ); in readAfmMetrics()
894 fprintf( stderr, "found builtin font %s with GBK encoding\n", pInfo->gfi->fontName ); in readAfmMetrics()
919 pInfo->gfi->fontName, in readAfmMetrics()
930 m_nAscend = pInfo->gfi->fontBBox.ury; in readAfmMetrics()
934 m_nDescend = -pInfo->gfi->fontBBox.lly; in readAfmMetrics()
940 m_nAscend = pInfo->gfi->ascender; in readAfmMetrics()
942 m_nDescend = -pInfo->gfi->descender; in readAfmMetrics()
953 pInfo->gfi->charwidth ? pInfo->gfi->charwidth : pInfo->gfi->fontBBox.urx; in readAfmMetrics()
955 pInfo->gfi->capHeight ? pInfo->gfi->capHeight : pInfo->gfi->fontBBox.ury; in readAfmMetrics()
957 m_nXMin = pInfo->gfi->fontBBox.llx; in readAfmMetrics()
958 m_nYMin = pInfo->gfi->fontBBox.lly; in readAfmMetrics()
959 m_nXMax = pInfo->gfi->fontBBox.urx; in readAfmMetrics()
960 m_nYMax = pInfo->gfi->fontBBox.ury; in readAfmMetrics()