summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/fontsubset.hxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/vcl/inc/fontsubset.hxx b/vcl/inc/fontsubset.hxx
index 0507f2a6e66e..7e25b9b9e8d8 100644
--- a/vcl/inc/fontsubset.hxx
+++ b/vcl/inc/fontsubset.hxx
@@ -25,7 +25,7 @@
#include "salglyphid.hxx"
-namespace vcl { struct _TrueTypeFont; } ///< SFT's idea of a TTF font
+namespace vcl { struct _TrueTypeFont; } ///< SFT's idea of a TTF font
class FontSubsetInfo
{
@@ -35,13 +35,13 @@ public:
enum FontType {
NO_FONT = 0,
- SFNT_TTF = 1<<1, ///< SFNT container with TrueType glyphs
- SFNT_CFF = 1<<2, ///< SFNT container with CFF-container
- TYPE1_PFA = 1<<3, ///< PSType1 Postscript Font Ascii
- TYPE1_PFB = 1<<4, ///< PSType1 Postscript Font Binary
- CFF_FONT = 1<<5, ///< CFF-container with PSType2 glyphs
- TYPE3_FONT = 1<<6, ///< PSType3 Postscript font
- TYPE42_FONT = 1<<7, ///< PSType42 wrapper for an SFNT_TTF
+ SFNT_TTF = 1<<1, ///< SFNT container with TrueType glyphs
+ SFNT_CFF = 1<<2, ///< SFNT container with CFF-container
+ TYPE1_PFA = 1<<3, ///< PSType1 Postscript Font Ascii
+ TYPE1_PFB = 1<<4, ///< PSType1 Postscript Font Binary
+ CFF_FONT = 1<<5, ///< CFF-container with PSType2 glyphs
+ TYPE3_FONT = 1<<6, ///< PSType3 Postscript font
+ TYPE42_FONT = 1<<7, ///< PSType42 wrapper for an SFNT_TTF
ANY_SFNT = SFNT_TTF | SFNT_CFF,
ANY_TYPE1 = TYPE1_PFA | TYPE1_PFB,
ANY_FONT = 0xFF
@@ -58,18 +58,18 @@ public:
public: // TODO: make subsetter results private and provide accessor methods instead
// subsetter-provided subset details needed by e.g. Postscript or PDF
- OUString m_aPSName;
- int m_nAscent; ///< all metrics in PS font units
- int m_nDescent;
- int m_nCapHeight;
- Rectangle m_aFontBBox;
- FontType m_nFontType; ///< font-type of subset result
+ OUString m_aPSName;
+ int m_nAscent; ///< all metrics in PS font units
+ int m_nDescent;
+ int m_nCapHeight;
+ Rectangle m_aFontBBox;
+ FontType m_nFontType; ///< font-type of subset result
private:
// input-font-specific details
unsigned const char* mpInFontBytes;
int mnInByteLength;
- FontType meInFontType; ///< allowed mask of input font-types
+ FontType meInFontType; ///< allowed mask of input font-types
vcl::_TrueTypeFont* mpSftTTFont;
// subset-request details