diff options
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/inc/wrapper.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/inc/wrapper.hxx b/sdext/source/pdfimport/inc/wrapper.hxx index 918f976ee817..12476a01aa1c 100644 --- a/sdext/source/pdfimport/inc/wrapper.hxx +++ b/sdext/source/pdfimport/inc/wrapper.hxx @@ -54,21 +54,25 @@ namespace pdfi const OUString& rFilterOptions ); const OUString fontAttributesSuffixes[] = { + // Note: for performance consideration, each one listed here is evaluated once, + // and they are checked from the suffix, thus the order matters. + // e.g. for "TimesNewRomanPS-BoldItalic", to get "TimesNewRoman", you should + // first have "Italic", and then "Bold", then "-", and then "PS". "MT", "PS", "PSMT", "Regular", "Bold", "Italic", - "Bold", "Oblique", + "Bold", //BoldItalic, BoldObique "Light", "Reg", "VKana", "-", ",", ";", - "PS", + "PS", // e.g. TimesNewRomanPS-BoldMT }; } |