summaryrefslogtreecommitdiff
path: root/vcl/inc/fontsubset.hxx
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-27 21:44:59 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-27 21:44:59 +1100
commitc2e28398c9cf6c31c017f16f32480209b6b90690 (patch)
tree5ba48df3d970d701cef070e3cf96f4805936ab7c /vcl/inc/fontsubset.hxx
parent239bc77f26074450b747f61a9fea178fac66b4bf (diff)
vcl: cosmetic formatting of fontsubset.hxx
Change-Id: I2b9c4f9f7c1ae564179a3e5276730d1b86a24b67
Diffstat (limited to 'vcl/inc/fontsubset.hxx')
-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