diff options
Diffstat (limited to 'sfntly/table/core/font_header_table.h')
-rw-r--r-- | sfntly/table/core/font_header_table.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sfntly/table/core/font_header_table.h b/sfntly/table/core/font_header_table.h index 343e62c..3b20863 100644 --- a/sfntly/table/core/font_header_table.h +++ b/sfntly/table/core/font_header_table.h @@ -45,10 +45,8 @@ class FontHeaderTable : public Table, public RefCounted<FontHeaderTable> { public: // Constructor scope altered to public because C++ does not allow base // class to instantiate derived class with protected constructors. - Builder(FontDataTableBuilderContainer* font_builder, Header* header, - WritableFontData* data); - Builder(FontDataTableBuilderContainer* font_builder, Header* header, - ReadableFontData* data); + Builder(Header* header, WritableFontData* data); + Builder(Header* header, ReadableFontData* data); virtual ~Builder(); virtual CALLER_ATTACH FontDataTable* SubBuildTable(ReadableFontData* data); @@ -90,6 +88,9 @@ class FontHeaderTable : public Table, public RefCounted<FontHeaderTable> { virtual void SetIndexToLocFormat(int32_t format); virtual int32_t GlyphDataFormat(); virtual void SetGlyphDataFormat(int32_t format); + + static CALLER_ATTACH Builder* CreateBuilder(Header* header, + WritableFontData* data); }; virtual ~FontHeaderTable(); |