Kaydet (Commit) 831fc27e authored tarafından Thomas Arnhold's avatar Thomas Arnhold Kaydeden (comit) Caolán McNamara

remove nonsense FOLD comments

Conflicts:
	vcl/inc/sft.hxx

Change-Id: I1b744f14b6524e4d5913775427280e68c4ee07fc
Reviewed-on: https://gerrit.libreoffice.org/6491Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 90ef8ac1
...@@ -280,7 +280,7 @@ namespace vcl ...@@ -280,7 +280,7 @@ namespace vcl
* @return value of SFErrCodes enum * @return value of SFErrCodes enum
* @ingroup sft * @ingroup sft
*/ */
int VCL_DLLPUBLIC OpenTTFontBuffer(const void* pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont** ttf); /*FOLD01*/ int VCL_DLLPUBLIC OpenTTFontBuffer(const void* pBuffer, sal_uInt32 nLen, sal_uInt32 facenum, TrueTypeFont** ttf);
#if !defined(WIN32) #if !defined(WIN32)
/** /**
* TrueTypeFont constructor. * TrueTypeFont constructor.
...@@ -554,7 +554,7 @@ namespace vcl ...@@ -554,7 +554,7 @@ namespace vcl
bool GetSfntTable( TrueTypeFont* ttf, int nSubtableIndex, bool GetSfntTable( TrueTypeFont* ttf, int nSubtableIndex,
const sal_uInt8** ppRawBytes, int* pRawLength ); const sal_uInt8** ppRawBytes, int* pRawLength );
/*- private definitions */ /*FOLD00*/ /*- private definitions */
struct _TrueTypeFont { struct _TrueTypeFont {
sal_uInt32 tag; sal_uInt32 tag;
......
...@@ -58,7 +58,7 @@ static const char *modname = "SunTypeTools-TT"; ...@@ -58,7 +58,7 @@ static const char *modname = "SunTypeTools-TT";
static const char *modver = "1.0"; static const char *modver = "1.0";
static const char *modextra = "gelf"; static const char *modextra = "gelf";
/*- private functions, constants and data types */ /*FOLD00*/ /*- private functions, constants and data types */
enum PathSegmentType { enum PathSegmentType {
PS_NOOP = 0, PS_NOOP = 0,
...@@ -214,7 +214,7 @@ const char *ulcodes[LAST_URANGE_BIT+2] = { ...@@ -214,7 +214,7 @@ const char *ulcodes[LAST_URANGE_BIT+2] = {
/*- inline functions */ /*FOLD01*/ /*- inline functions */
#ifdef __GNUC__ #ifdef __GNUC__
#define _inline static __inline__ #define _inline static __inline__
#else #else
...@@ -454,7 +454,7 @@ static void HexFmtBlockWrite(HexFmt *_this, const void *ptr, sal_uInt32 size) ...@@ -454,7 +454,7 @@ static void HexFmtBlockWrite(HexFmt *_this, const void *ptr, sal_uInt32 size)
/* Outline Extraction functions */ /*FOLD01*/ /* Outline Extraction functions */
/* fills the aw and lsb entries of the TTGlyphMetrics structure from hmtx table -*/ /* fills the aw and lsb entries of the TTGlyphMetrics structure from hmtx table -*/
static void GetMetrics(TrueTypeFont *ttf, sal_uInt32 glyphID, TTGlyphMetrics *metrics) static void GetMetrics(TrueTypeFont *ttf, sal_uInt32 glyphID, TTGlyphMetrics *metrics)
...@@ -488,7 +488,7 @@ static void GetMetrics(TrueTypeFont *ttf, sal_uInt32 glyphID, TTGlyphMetrics *me ...@@ -488,7 +488,7 @@ static void GetMetrics(TrueTypeFont *ttf, sal_uInt32 glyphID, TTGlyphMetrics *me
static int GetTTGlyphOutline(TrueTypeFont *, sal_uInt32 , ControlPoint **, TTGlyphMetrics *, std::vector< sal_uInt32 >* ); static int GetTTGlyphOutline(TrueTypeFont *, sal_uInt32 , ControlPoint **, TTGlyphMetrics *, std::vector< sal_uInt32 >* );
/* returns the number of control points, allocates the pointArray */ /* returns the number of control points, allocates the pointArray */
static int GetSimpleTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics) /*FOLD02*/ static int GetSimpleTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics)
{ {
const sal_uInt8* table = getTable( ttf, O_glyf ); const sal_uInt8* table = getTable( ttf, O_glyf );
sal_uInt8 flag, n; sal_uInt8 flag, n;
...@@ -579,7 +579,7 @@ static int GetSimpleTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoin ...@@ -579,7 +579,7 @@ static int GetSimpleTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoin
return lastPoint + 1; return lastPoint + 1;
} }
static int GetCompoundTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal_uInt32 >& glyphlist) /*FOLD02*/ static int GetCompoundTTOutline(TrueTypeFont *ttf, sal_uInt32 glyphID, ControlPoint **pointArray, TTGlyphMetrics *metrics, std::vector< sal_uInt32 >& glyphlist)
{ {
sal_uInt16 flags, index; sal_uInt16 flags, index;
sal_Int16 e, f, numberOfContours; sal_Int16 e, f, numberOfContours;
...@@ -1450,7 +1450,7 @@ static void GetKern(TrueTypeFont *ttf) ...@@ -1450,7 +1450,7 @@ static void GetKern(TrueTypeFont *ttf)
return; return;
} }
/*- Public functions */ /*FOLD00*/ /*- Public functions */
int CountTTCFonts(const char* fname) int CountTTCFonts(const char* fname)
{ {
...@@ -1742,7 +1742,7 @@ static int doOpenTTFont( sal_uInt32 facenum, TrueTypeFont* t ) ...@@ -1742,7 +1742,7 @@ static int doOpenTTFont( sal_uInt32 facenum, TrueTypeFont* t )
return SF_OK; return SF_OK;
} }
void CloseTTFont(TrueTypeFont *ttf) /*FOLD01*/ void CloseTTFont(TrueTypeFont *ttf)
{ {
#if !defined(WIN32) #if !defined(WIN32)
if( ttf->fname ) if( ttf->fname )
...@@ -1814,7 +1814,7 @@ int GetTTGlyphComponents(TrueTypeFont *ttf, sal_uInt32 glyphID, std::vector< sal ...@@ -1814,7 +1814,7 @@ int GetTTGlyphComponents(TrueTypeFont *ttf, sal_uInt32 glyphID, std::vector< sal
} }
#ifndef NO_TYPE3 #ifndef NO_TYPE3
int CreateT3FromTTGlyphs(TrueTypeFont *ttf, FILE *outf, const char *fname, /*FOLD00*/ int CreateT3FromTTGlyphs(TrueTypeFont *ttf, FILE *outf, const char *fname,
sal_uInt16 *glyphArray, sal_uInt8 *encoding, int nGlyphs, sal_uInt16 *glyphArray, sal_uInt8 *encoding, int nGlyphs,
int wmode) int wmode)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment