[Libreoffice-commits] core.git: vcl/inc

Chris Sherlock chris.sherlock79 at gmail.com
Wed Jan 27 02:46:02 PST 2016


 vcl/inc/fontsubset.hxx |   30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

New commits:
commit c2e28398c9cf6c31c017f16f32480209b6b90690
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Wed Jan 27 21:44:59 2016 +1100

    vcl: cosmetic formatting of fontsubset.hxx
    
    Change-Id: I2b9c4f9f7c1ae564179a3e5276730d1b86a24b67

diff --git a/vcl/inc/fontsubset.hxx b/vcl/inc/fontsubset.hxx
index 0507f2a..7e25b9b 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


More information about the Libreoffice-commits mailing list