Lines Matching refs:psp
55 using namespace psp;
62 class SalPrinterBmp : public psp::PrinterBmp
280 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetLineColor()
293 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetFillColor()
322 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in drawPixel()
485 ImplPspFontData( const psp::FastPrintFontInfo& );
494 ImplPspFontData::ImplPspFontData( const psp::FastPrintFontInfo& rInfo ) in ImplPspFontData()
512 PspFontLayout( ::psp::PrinterGfx& );
517 ::psp::PrinterGfx& mrPrinterGfx;
528 PspFontLayout::PspFontLayout( ::psp::PrinterGfx& rGfx ) in PspFontLayout()
568 psp::CharacterMetric aMetric; in LayoutText()
621 PspServerFontLayout( psp::PrinterGfx&, ServerFont& rFont, const ImplLayoutArgs& rArgs );
628 ::psp::PrinterGfx& mrPrinterGfx;
639 PspServerFontLayout::PspServerFontLayout( ::psp::PrinterGfx& rGfx, ServerFont& rFont, const ImplLay… in PspServerFontLayout()
661 static void DrawPrinterLayout( const SalLayout& rLayout, ::psp::PrinterGfx& rGfx, bool bIsPspServer… in DrawPrinterLayout()
752 psp::italic::type eItalic = m_pPrinterGfx->GetFontMgr().getFontItalic( nID ); in SetFont()
753 if( eItalic != psp::italic::Italic && eItalic != psp::italic::Oblique ) in SetFont()
758 if( nRealWeight <= (int)psp::weight::Medium && nWeight > (int)WEIGHT_MEDIUM ) in SetFont()
791 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetTextColor()
804 ::std::list< psp::fontID > aList; in GetDevFontList()
805 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in GetDevFontList()
808 ::std::list< psp::fontID >::iterator it; in GetDevFontList()
809 psp::FastPrintFontInfo aInfo; in GetDevFontList()
817 …const psp::PrinterInfo& rInfo = psp::PrinterInfoManager::get().getPrinterInfo( m_pJobData->m_aPrin… in GetDevFontSubstList()
827 const psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in GetFontMetric()
828 psp::PrintFontInfo aInfo; in GetFontMetric()
855 const ::std::list< ::psp::KernPair >& rPairs( m_pPrinterGfx->getKernPairs() ); in GetKernPairs()
859 ::std::list< ::psp::KernPair >::const_iterator it; in GetKernPairs()
911 if( psp::fonttype::TrueType != psp::PrintFontManager::get().getFontType( nFontId ) ) in GetTextLayout()
944 psp::fontID aFont = pFont->GetFontId(); in CreateFontSubset()
946 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in CreateFontSubset()
966 psp::fontID aFont = pFont->GetFontId(); in GetEmbedFontData()
986 psp::fontID aFont = pFont->GetFontId(); in GetFontEncodingVector()
1002 psp::fontID aFont = pFont->GetFontId(); in GetGlyphWidths()
1010 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in DoGetEmbedFontData()
1012 psp::PrintFontInfo aFontInfo; in DoGetEmbedFontData()
1024 psp::CharacterMetric aMetrics[256]; in DoGetEmbedFontData()
1026 …if( aFontInfo.m_aEncoding == RTL_TEXTENCODING_SYMBOL && aFontInfo.m_eType == psp::fonttype::Type1 ) in DoGetEmbedFontData()
1057 case psp::fonttype::TrueType: in DoGetEmbedFontData()
1060 case psp::fonttype::Type1: { in DoGetEmbedFontData()
1080 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in DoGetFontEncodingVector()
1082 psp::PrintFontInfo aFontInfo; in DoGetFontEncodingVector()
1093 void PspGraphics::DoGetGlyphWidths( psp::fontID aFont, in DoGetGlyphWidths()
1098 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in DoGetGlyphWidths()
1104 FontWidth PspGraphics::ToFontWidth (psp::width::type eWidth) in ToFontWidth()
1108 case psp::width::UltraCondensed: return WIDTH_ULTRA_CONDENSED; in ToFontWidth()
1109 case psp::width::ExtraCondensed: return WIDTH_EXTRA_CONDENSED; in ToFontWidth()
1110 case psp::width::Condensed: return WIDTH_CONDENSED; in ToFontWidth()
1111 case psp::width::SemiCondensed: return WIDTH_SEMI_CONDENSED; in ToFontWidth()
1112 case psp::width::Normal: return WIDTH_NORMAL; in ToFontWidth()
1113 case psp::width::SemiExpanded: return WIDTH_SEMI_EXPANDED; in ToFontWidth()
1114 case psp::width::Expanded: return WIDTH_EXPANDED; in ToFontWidth()
1115 case psp::width::ExtraExpanded: return WIDTH_EXTRA_EXPANDED; in ToFontWidth()
1116 case psp::width::UltraExpanded: return WIDTH_ULTRA_EXPANDED; in ToFontWidth()
1122 FontWeight PspGraphics::ToFontWeight (psp::weight::type eWeight) in ToFontWeight()
1126 case psp::weight::Thin: return WEIGHT_THIN; in ToFontWeight()
1127 case psp::weight::UltraLight: return WEIGHT_ULTRALIGHT; in ToFontWeight()
1128 case psp::weight::Light: return WEIGHT_LIGHT; in ToFontWeight()
1129 case psp::weight::SemiLight: return WEIGHT_SEMILIGHT; in ToFontWeight()
1130 case psp::weight::Normal: return WEIGHT_NORMAL; in ToFontWeight()
1131 case psp::weight::Medium: return WEIGHT_MEDIUM; in ToFontWeight()
1132 case psp::weight::SemiBold: return WEIGHT_SEMIBOLD; in ToFontWeight()
1133 case psp::weight::Bold: return WEIGHT_BOLD; in ToFontWeight()
1134 case psp::weight::UltraBold: return WEIGHT_ULTRABOLD; in ToFontWeight()
1135 case psp::weight::Black: return WEIGHT_BLACK; in ToFontWeight()
1141 FontPitch PspGraphics::ToFontPitch (psp::pitch::type ePitch) in ToFontPitch()
1145 case psp::pitch::Fixed: return PITCH_FIXED; in ToFontPitch()
1146 case psp::pitch::Variable: return PITCH_VARIABLE; in ToFontPitch()
1152 FontItalic PspGraphics::ToFontItalic (psp::italic::type eItalic) in ToFontItalic()
1156 case psp::italic::Upright: return ITALIC_NONE; in ToFontItalic()
1157 case psp::italic::Oblique: return ITALIC_OBLIQUE; in ToFontItalic()
1158 case psp::italic::Italic: return ITALIC_NORMAL; in ToFontItalic()
1164 FontFamily PspGraphics::ToFontFamily (psp::family::type eFamily) in ToFontFamily()
1168 case psp::family::Decorative: return FAMILY_DECORATIVE; in ToFontFamily()
1169 case psp::family::Modern: return FAMILY_MODERN; in ToFontFamily()
1170 case psp::family::Roman: return FAMILY_ROMAN; in ToFontFamily()
1171 case psp::family::Script: return FAMILY_SCRIPT; in ToFontFamily()
1172 case psp::family::Swiss: return FAMILY_SWISS; in ToFontFamily()
1173 case psp::family::System: return FAMILY_SYSTEM; in ToFontFamily()
1179 ImplDevFontAttributes PspGraphics::Info2DevFontAttributes( const psp::FastPrintFontInfo& rInfo ) in Info2DevFontAttributes()
1193 case psp::fonttype::Builtin: in Info2DevFontAttributes()
1199 case psp::fonttype::TrueType: in Info2DevFontAttributes()
1205 case psp::fonttype::Type1: in Info2DevFontAttributes()
1247 void PspGraphics::AnnounceFonts( ImplDevFontList* pFontList, const psp::FastPrintFontInfo& aInfo ) in AnnounceFonts()
1251 if( aInfo.m_eType == psp::fonttype::TrueType ) in AnnounceFonts()
1254 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in AnnounceFonts()