diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-08 12:31:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-08 12:36:24 +0000 |
commit | eb1352bb40b3571ee215d6f8bf0c8a0a85297aa4 (patch) | |
tree | e63470f07144e353b9627376bdff1fb00b92b1fd /vcl/inc/sft.hxx | |
parent | b6f9eeb9b5c0e29ca655185dc299ebd4a2c092d7 (diff) |
drop unused enum TTCreationFlags
there is only one method using it, and all of the call sites pass 0
Change-Id: I5d71b36cf890fbcf0be9d795756da0cfd61ae309
Reviewed-on: https://gerrit.libreoffice.org/34024
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/sft.hxx')
-rw-r--r-- | vcl/inc/sft.hxx | 23 |
1 files changed, 3 insertions, 20 deletions
diff --git a/vcl/inc/sft.hxx b/vcl/inc/sft.hxx index 91c13a3d34cd..a69439157327 100644 --- a/vcl/inc/sft.hxx +++ b/vcl/inc/sft.hxx @@ -122,22 +122,6 @@ namespace vcl OVERLAP_COMPOUND = 1<<10 }; -/** Flags for TrueType generation */ - enum TTCreationFlags { - TTCF_AutoName = 1, /**< Automatically generate a compact 'name' table. - If this flag is not set, name table is generated - either from an array of NameRecord structs passed as - arguments or if the array is NULL, 'name' table - of the generated TrueType file will be a copy - of the name table of the original file. - If this flag is set the array of NameRecord structs - is ignored and a very compact 'name' table is automatically - generated. */ - - TTCF_IncludeOS2 = 2 /** If this flag is set OS/2 table from the original font will be - copied to the subset */ - }; - /** Structure used by GetTTSimpleGlyphMetrics() and GetTTSimpleCharMetrics() functions */ typedef struct { sal_uInt16 adv; /**< advance width or height */ @@ -390,12 +374,11 @@ namespace vcl */ int CreateTTFromTTGlyphs(TrueTypeFont *ttf, const char *fname, - sal_uInt16 *glyphArray, - sal_uInt8 *encoding, + sal_uInt16 *glyphArray, + sal_uInt8 *encoding, int nGlyphs, int nNameRecs, - NameRecord *nr, - sal_uInt32 flags); + NameRecord *nr); /** * Generates a new PostScript Type42 font and dumps it to <b>outf</b> file. |