Lines Matching refs:psp
55 using namespace psp;
60 class SalPrinterBmp : public psp::PrinterBmp
346 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetLineColor()
359 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetFillColor()
388 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in drawPixel()
544 ImplPspFontData( const psp::FastPrintFontInfo& );
553 ImplPspFontData::ImplPspFontData( const psp::FastPrintFontInfo& rInfo ) in ImplPspFontData()
571 PspFontLayout( ::psp::PrinterGfx& );
576 ::psp::PrinterGfx& mrPrinterGfx;
587 PspFontLayout::PspFontLayout( ::psp::PrinterGfx& rGfx ) in PspFontLayout()
627 psp::CharacterMetric aMetric; in LayoutText()
680 PspServerFontLayout( psp::PrinterGfx&, ServerFont& rFont, const ImplLayoutArgs& rArgs );
687 ::psp::PrinterGfx& mrPrinterGfx;
698 PspServerFontLayout::PspServerFontLayout( ::psp::PrinterGfx& rGfx, ServerFont& rFont, const ImplLay… in PspServerFontLayout()
720 static void DrawPrinterLayout( const SalLayout& rLayout, ::psp::PrinterGfx& rGfx, bool bIsPspServer… in DrawPrinterLayout()
837 psp::italic::type eItalic = m_pPrinterGfx->GetFontMgr().getFontItalic( nID ); in SetFont()
838 if( eItalic != psp::italic::Italic && eItalic != psp::italic::Oblique ) in SetFont()
843 if( nRealWeight <= (int)psp::weight::Medium && nWeight > (int)WEIGHT_MEDIUM ) in SetFont()
876 psp::PrinterColor aColor (SALCOLOR_RED (nSalColor), in SetTextColor()
891 ::std::list< psp::fontID > aList; in GetDevFontList()
892 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in GetDevFontList()
895 ::std::list< psp::fontID >::iterator it; in GetDevFontList()
896 psp::FastPrintFontInfo aInfo; in GetDevFontList()
908 …const psp::PrinterInfo& rInfo = psp::PrinterInfoManager::get().getPrinterInfo( m_pJobData->m_aPrin… in GetDevFontSubstList()
918 const psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in GetFontMetric()
919 psp::PrintFontInfo aInfo; in GetFontMetric()
946 const ::std::list< ::psp::KernPair >& rPairs( m_pPrinterGfx->getKernPairs() ); in GetKernPairs()
950 ::std::list< ::psp::KernPair >::const_iterator it; in GetKernPairs()
1002 if( psp::fonttype::TrueType != psp::PrintFontManager::get().getFontType( nFontId ) ) in GetTextLayout()
1049 psp::fontID aFont = pFont->GetFontId(); in CreateFontSubset()
1051 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in CreateFontSubset()
1071 psp::fontID aFont = pFont->GetFontId(); in GetEmbedFontData()
1091 psp::fontID aFont = pFont->GetFontId(); in GetFontEncodingVector()
1107 psp::fontID aFont = pFont->GetFontId(); in GetGlyphWidths()
1116 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in DoGetEmbedFontData()
1118 psp::PrintFontInfo aFontInfo; in DoGetEmbedFontData()
1130 psp::CharacterMetric aMetrics[256]; in DoGetEmbedFontData()
1132 …if( aFontInfo.m_aEncoding == RTL_TEXTENCODING_SYMBOL && aFontInfo.m_eType == psp::fonttype::Type1 ) in DoGetEmbedFontData()
1163 case psp::fonttype::TrueType: in DoGetEmbedFontData()
1166 case psp::fonttype::Type1: { in DoGetEmbedFontData()
1186 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in DoGetFontEncodingVector()
1188 psp::PrintFontInfo aFontInfo; in DoGetFontEncodingVector()
1199 void PspGraphics::DoGetGlyphWidths( psp::fontID aFont, in DoGetGlyphWidths()
1204 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in DoGetGlyphWidths()
1209 FontWidth PspGraphics::ToFontWidth (psp::width::type eWidth) in ToFontWidth()
1213 case psp::width::UltraCondensed: return WIDTH_ULTRA_CONDENSED; in ToFontWidth()
1214 case psp::width::ExtraCondensed: return WIDTH_EXTRA_CONDENSED; in ToFontWidth()
1215 case psp::width::Condensed: return WIDTH_CONDENSED; in ToFontWidth()
1216 case psp::width::SemiCondensed: return WIDTH_SEMI_CONDENSED; in ToFontWidth()
1217 case psp::width::Normal: return WIDTH_NORMAL; in ToFontWidth()
1218 case psp::width::SemiExpanded: return WIDTH_SEMI_EXPANDED; in ToFontWidth()
1219 case psp::width::Expanded: return WIDTH_EXPANDED; in ToFontWidth()
1220 case psp::width::ExtraExpanded: return WIDTH_EXTRA_EXPANDED; in ToFontWidth()
1221 case psp::width::UltraExpanded: return WIDTH_ULTRA_EXPANDED; in ToFontWidth()
1222 case psp::width::Unknown: return WIDTH_DONTKNOW; in ToFontWidth()
1230 FontWeight PspGraphics::ToFontWeight (psp::weight::type eWeight) in ToFontWeight()
1234 case psp::weight::Thin: return WEIGHT_THIN; in ToFontWeight()
1235 case psp::weight::UltraLight: return WEIGHT_ULTRALIGHT; in ToFontWeight()
1236 case psp::weight::Light: return WEIGHT_LIGHT; in ToFontWeight()
1237 case psp::weight::SemiLight: return WEIGHT_SEMILIGHT; in ToFontWeight()
1238 case psp::weight::Normal: return WEIGHT_NORMAL; in ToFontWeight()
1239 case psp::weight::Medium: return WEIGHT_MEDIUM; in ToFontWeight()
1240 case psp::weight::SemiBold: return WEIGHT_SEMIBOLD; in ToFontWeight()
1241 case psp::weight::Bold: return WEIGHT_BOLD; in ToFontWeight()
1242 case psp::weight::UltraBold: return WEIGHT_ULTRABOLD; in ToFontWeight()
1243 case psp::weight::Black: return WEIGHT_BLACK; in ToFontWeight()
1244 case psp::weight::Unknown: return WEIGHT_DONTKNOW; in ToFontWeight()
1252 FontPitch PspGraphics::ToFontPitch (psp::pitch::type ePitch) in ToFontPitch()
1256 case psp::pitch::Fixed: return PITCH_FIXED; in ToFontPitch()
1257 case psp::pitch::Variable: return PITCH_VARIABLE; in ToFontPitch()
1258 case psp::pitch::Unknown: return PITCH_DONTKNOW; in ToFontPitch()
1266 FontItalic PspGraphics::ToFontItalic (psp::italic::type eItalic) in ToFontItalic()
1270 case psp::italic::Upright: return ITALIC_NONE; in ToFontItalic()
1271 case psp::italic::Oblique: return ITALIC_OBLIQUE; in ToFontItalic()
1272 case psp::italic::Italic: return ITALIC_NORMAL; in ToFontItalic()
1273 case psp::italic::Unknown: return ITALIC_DONTKNOW; in ToFontItalic()
1281 FontFamily PspGraphics::ToFontFamily (psp::family::type eFamily) in ToFontFamily()
1285 case psp::family::Decorative: return FAMILY_DECORATIVE; in ToFontFamily()
1286 case psp::family::Modern: return FAMILY_MODERN; in ToFontFamily()
1287 case psp::family::Roman: return FAMILY_ROMAN; in ToFontFamily()
1288 case psp::family::Script: return FAMILY_SCRIPT; in ToFontFamily()
1289 case psp::family::Swiss: return FAMILY_SWISS; in ToFontFamily()
1290 case psp::family::System: return FAMILY_SYSTEM; in ToFontFamily()
1291 case psp::family::Unknown: return FAMILY_DONTKNOW; in ToFontFamily()
1299 ImplDevFontAttributes PspGraphics::Info2DevFontAttributes( const psp::FastPrintFontInfo& rInfo ) in Info2DevFontAttributes()
1315 case psp::fonttype::Builtin: in Info2DevFontAttributes()
1319 case psp::fonttype::TrueType: in Info2DevFontAttributes()
1323 case psp::fonttype::Type1: in Info2DevFontAttributes()
1361 void PspGraphics::AnnounceFonts( ImplDevFontList* pFontList, const psp::FastPrintFontInfo& aInfo ) in AnnounceFonts()
1365 if( aInfo.m_eType == psp::fonttype::TrueType ) in AnnounceFonts()
1368 psp::PrintFontManager& rMgr = psp::PrintFontManager::get(); in AnnounceFonts()