summaryrefslogtreecommitdiff
path: root/vcl/source/fontsubset/cff.cxx
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-25 22:51:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-26 04:56:16 -0600
commitd9f0af83b7f0abe7119eefca62cbbca7eff818ef (patch)
tree19b6ed4d3b1dd538bb46205880505e59f8bb8002 /vcl/source/fontsubset/cff.cxx
parent0fb3bdc5d3aa47a61affc67b20bdbb775808fb66 (diff)
Remove visual noise from vcl
Conflicts: vcl/source/app/settings.cxx vcl/source/window/dockmgr.cxx vcl/source/window/dockwin.cxx vcl/source/window/floatwin.cxx vcl/source/window/toolbox2.cxx Change-Id: Ie67681549a76e77064b09d4b5bf80fe4c6010341 Reviewed-on: https://gerrit.libreoffice.org/8339 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/fontsubset/cff.cxx')
-rw-r--r--vcl/source/fontsubset/cff.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/vcl/source/fontsubset/cff.cxx b/vcl/source/fontsubset/cff.cxx
index 79c9f50ab577..b1411ac27e7d 100644
--- a/vcl/source/fontsubset/cff.cxx
+++ b/vcl/source/fontsubset/cff.cxx
@@ -39,7 +39,7 @@ typedef RealType ValType;
#include <vector>
typedef std::vector<ValType> ValVector;
-// ====================================================================
+
static const char* pStringIds[] = {
/*0*/ ".notdef", "space", "exclam", "quotedbl",
@@ -276,7 +276,7 @@ struct TYPE2OP
};
};
-// ====================================================================
+
struct CffGlobal
{
@@ -306,7 +306,7 @@ struct CffGlobal
int mnFamilyNameSID;
};
-// ====================================================================
+
struct CffLocal
{
@@ -339,7 +339,7 @@ struct CffLocal
bool mbForceBold;
};
-// ====================================================================
+
class SubsetterContext
{
@@ -355,7 +355,7 @@ public:
SubsetterContext::~SubsetterContext( void)
{}
-// ====================================================================
+
class CffSubsetterContext
: public SubsetterContext
@@ -547,7 +547,7 @@ void CffSubsetterContext::addHints( bool bVerticalHints)
// copy the remaining values to the hint arrays
// assert( (mnStackIdx & 1) == 0); // depends on called subrs
- if( mnStackIdx & 1) --mnStackIdx;//#######
+ if( mnStackIdx & 1) --mnStackIdx;
// TODO: if( !bSubr) assert( mnStackIdx >= 2);
assert( (mnHintSize + mnStackIdx) <= 2*NMAXHINTS);
@@ -1334,7 +1334,7 @@ int CffSubsetterContext::convert2Type1Ops( CffLocal* pCffLocal, const U8* const
mbSawError = false;
mbNeedClose = false;
mbIgnoreHints = false;
-mnHintSize=mnHorzHintSize=mnStackIdx=0; maCharWidth=-1;//#######
+mnHintSize=mnHorzHintSize=mnStackIdx=0; maCharWidth=-1;
mnCntrMask = 0;
while( mpReadPtr < mpReadEnd)
convertOneTypeOp();
@@ -1514,7 +1514,7 @@ void CffSubsetterContext::seekIndexEnd( int nIndexBase)
assert( mpReadEnd <= mpBaseEnd);
}
-// ====================================================================
+
// initialize FONTDICT specific values
CffLocal::CffLocal( void)
@@ -2335,7 +2335,7 @@ bool CffSubsetterContext::emitAsType1( Type1Emitter& rEmitter,
return true;
}
-// ====================================================================
+
bool FontSubsetInfo::CreateFontSubsetFromCff( GlyphWidth* pOutGlyphWidths )
{
@@ -2353,6 +2353,6 @@ bool FontSubsetInfo::CreateFontSubsetFromCff( GlyphWidth* pOutGlyphWidths )
return bRC;
}
-// ====================================================================
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */