summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/src/Font.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/Font.h')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/src/Font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/Font.h b/Build/source/texk/dvisvgm/dvisvgm-src/src/Font.h
index 8d3d5d08c19..f4d828eb977 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/src/Font.h
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/Font.h
@@ -123,6 +123,8 @@ class PhysicalFont : public virtual Font
virtual bool getExactGlyphBox (int c, GlyphMetrics &metrics, bool vertical, GFGlyphTracer::Callback *cb=0) const;
virtual bool isCIDFont () const;
virtual int hAdvance () const;
+ virtual std::string familyName () const;
+ virtual std::string styleName () const;
virtual double hAdvance (int c) const;
virtual double vAdvance (int c) const;
std::string glyphName (int c) const;
@@ -324,6 +326,7 @@ class NativeFontImpl : public NativeFont
const Font* uniqueFont () const {return this;}
const char* path () const {return _path.c_str();}
int fontIndex() const {return _fontIndex;}
+ std::string fontFamily () const;
bool findAndAssignBaseFontMap ();
CharMapID getCharMapID () const {return CharMapID::NONE;}
Character decodeChar (UInt32 c) const;