Lines Matching refs:aInfo
101 psp::FastPrintFontInfo aInfo; in toFont() local
105 aInfo.m_aFamilyName = String( (const char *) rQFont.family().toUtf8(), RTL_TEXTENCODING_UTF8 ); in toFont()
108 aInfo.m_eItalic = ( qFontInfo.italic()? psp::italic::Italic: psp::italic::Upright ); in toFont()
113 aInfo.m_eWeight = psp::weight::Light; in toFont()
115 aInfo.m_eWeight = psp::weight::Normal; in toFont()
117 aInfo.m_eWeight = psp::weight::SemiBold; in toFont()
119 aInfo.m_eWeight = psp::weight::Bold; in toFont()
121 aInfo.m_eWeight = psp::weight::UltraBold; in toFont()
126 aInfo.m_eWidth = psp::width::UltraCondensed; in toFont()
128 aInfo.m_eWidth = psp::width::ExtraCondensed; in toFont()
130 aInfo.m_eWidth = psp::width::Condensed; in toFont()
132 aInfo.m_eWidth = psp::width::SemiCondensed; in toFont()
134 aInfo.m_eWidth = psp::width::Normal; in toFont()
136 aInfo.m_eWidth = psp::width::SemiExpanded; in toFont()
138 aInfo.m_eWidth = psp::width::Expanded; in toFont()
140 aInfo.m_eWidth = psp::width::ExtraExpanded; in toFont()
142 aInfo.m_eWidth = psp::width::UltraExpanded; in toFont()
145 …fprintf( stderr, "font name BEFORE system match: \"%s\"\n", OUStringToOString( aInfo.m_aFamilyName… in toFont()
149 psp::PrintFontManager::get().matchFont( aInfo, rLocale ); in toFont()
153 aInfo.m_nID != 0 ? "succeeded" : "failed", in toFont()
154 OUStringToOString( aInfo.m_aFamilyName, RTL_TEXTENCODING_ISO_8859_1 ).getStr() ); in toFont()
163 Font aFont( aInfo.m_aFamilyName, Size( 0, nPointHeight ) ); in toFont()
164 if( aInfo.m_eWeight != psp::weight::Unknown ) in toFont()
165 aFont.SetWeight( PspGraphics::ToFontWeight( aInfo.m_eWeight ) ); in toFont()
166 if( aInfo.m_eWidth != psp::width::Unknown ) in toFont()
167 aFont.SetWidthType( PspGraphics::ToFontWidth( aInfo.m_eWidth ) ); in toFont()
168 if( aInfo.m_eItalic != psp::italic::Unknown ) in toFont()
169 aFont.SetItalic( PspGraphics::ToFontItalic( aInfo.m_eItalic ) ); in toFont()
170 if( aInfo.m_ePitch != psp::pitch::Unknown ) in toFont()
171 aFont.SetPitch( PspGraphics::ToFontPitch( aInfo.m_ePitch ) ); in toFont()