diff options
Diffstat (limited to 'vcl/source/fontsubset/sft.cxx')
-rw-r--r-- | vcl/source/fontsubset/sft.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/fontsubset/sft.cxx b/vcl/source/fontsubset/sft.cxx index fd6e6f96df10..7b905f558051 100644 --- a/vcl/source/fontsubset/sft.cxx +++ b/vcl/source/fontsubset/sft.cxx @@ -54,6 +54,8 @@ static const char * const modextra = "gelf"; /*- private functions, constants and data types */ +namespace { + enum PathSegmentType { PS_NOOP = 0, PS_MOVETO = 1, @@ -62,6 +64,8 @@ enum PathSegmentType { PS_CLOSEPATH = 4 }; +} + struct PSPathElement { PathSegmentType type; @@ -1013,6 +1017,8 @@ static void GetNames(TrueTypeFont *t) } } +namespace { + enum cmapType { CMAP_NOT_USABLE = -1, CMAP_MS_Symbol = 10, @@ -1024,6 +1030,8 @@ enum cmapType { CMAP_MS_Johab = 16 }; +} + #define MISSING_GLYPH_INDEX 0 static sal_uInt32 getGlyph0(const sal_uInt8* cmap, sal_uInt32, sal_uInt32 c) { |