Lines Matching refs:o_rResult
873 bool identifyTrueTypeFont( const void* i_pBuffer, sal_uInt32 i_nSize, Font& o_rResult ) in identifyTrueTypeFont() argument
883 o_rResult.SetName( aInfo.ufamily ); in identifyTrueTypeFont()
885 … o_rResult.SetName( rtl::OStringToOUString( aInfo.family, RTL_TEXTENCODING_ASCII_US ) ); in identifyTrueTypeFont()
890 o_rResult.SetWeight( WEIGHT_THIN ); in identifyTrueTypeFont()
892 o_rResult.SetWeight( WEIGHT_ULTRALIGHT ); in identifyTrueTypeFont()
894 o_rResult.SetWeight( WEIGHT_LIGHT ); in identifyTrueTypeFont()
896 o_rResult.SetWeight( WEIGHT_NORMAL ); in identifyTrueTypeFont()
898 o_rResult.SetWeight( WEIGHT_MEDIUM ); in identifyTrueTypeFont()
900 o_rResult.SetWeight( WEIGHT_SEMIBOLD ); in identifyTrueTypeFont()
902 o_rResult.SetWeight( WEIGHT_BOLD ); in identifyTrueTypeFont()
904 o_rResult.SetWeight( WEIGHT_ULTRABOLD ); in identifyTrueTypeFont()
906 o_rResult.SetWeight( WEIGHT_BLACK ); in identifyTrueTypeFont()
909 o_rResult.SetWeight( (aInfo.macStyle & 1) ? WEIGHT_BOLD : WEIGHT_NORMAL ); in identifyTrueTypeFont()
914 o_rResult.SetWidth( WIDTH_ULTRA_CONDENSED ); in identifyTrueTypeFont()
916 o_rResult.SetWidth( WIDTH_EXTRA_CONDENSED ); in identifyTrueTypeFont()
918 o_rResult.SetWidth( WIDTH_CONDENSED ); in identifyTrueTypeFont()
920 o_rResult.SetWidth( WIDTH_SEMI_CONDENSED ); in identifyTrueTypeFont()
922 o_rResult.SetWidth( WIDTH_NORMAL ); in identifyTrueTypeFont()
924 o_rResult.SetWidth( WIDTH_SEMI_EXPANDED ); in identifyTrueTypeFont()
926 o_rResult.SetWidth( WIDTH_EXPANDED ); in identifyTrueTypeFont()
928 o_rResult.SetWidth( WIDTH_EXTRA_EXPANDED ); in identifyTrueTypeFont()
930 o_rResult.SetWidth( WIDTH_ULTRA_EXPANDED ); in identifyTrueTypeFont()
933 o_rResult.SetItalic( (aInfo.italicAngle != 0) ? ITALIC_NORMAL : ITALIC_NONE ); in identifyTrueTypeFont()
936 o_rResult.SetPitch( (aInfo.pitch == 0) ? PITCH_VARIABLE : PITCH_FIXED ); in identifyTrueTypeFont()
940 o_rResult.SetStyleName( rtl::OUString( aInfo.usubfamily ) ); in identifyTrueTypeFont()
942 o_rResult.SetStyleName( rtl::OUString::createFromAscii( aInfo.subfamily ) ); in identifyTrueTypeFont()
977 bool identifyType1Font( const char* i_pBuffer, sal_uInt32 i_nSize, Font& o_rResult ) in identifyType1Font() argument
1000 …o_rResult.SetName( rtl::OStringToOUString( rtl::OString( pOpen+1, pClose-pOpen-1 ), RTL_TEXTENCODI… in identifyType1Font()
1010 o_rResult.SetItalic( (nItalic != 0) ? ITALIC_NORMAL : ITALIC_NONE ); in identifyType1Font()
1034 o_rResult.SetWeight( pFound->weight ); in identifyType1Font()
1054 o_rResult.SetPitch( PITCH_FIXED ); in identifyType1Font()
1056 o_rResult.SetPitch( PITCH_VARIABLE ); in identifyType1Font()