diff options
author | Jonathan Kew <jfkthame@googlemail.com> | 2008-02-15 13:15:05 +0000 |
---|---|---|
committer | Jonathan Kew <jfkthame@googlemail.com> | 2008-02-15 13:15:05 +0000 |
commit | 8ffd652f16549581f95dc60a3f383774a6df2e5d (patch) | |
tree | f9c1b0c48ec300c602ec2c89de8d2797b4046f4c /Build/source/texk/web2c/xetexdir/XeTeXFontMgr.h | |
parent | e814a390ac12149e9d6a37d07cb403373de34ccb (diff) |
sync with xetex repos. rev 572
git-svn-id: svn://tug.org/texlive/trunk@6636 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/xetexdir/XeTeXFontMgr.h')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeXFontMgr.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/xetexdir/XeTeXFontMgr.h b/Build/source/texk/web2c/xetexdir/XeTeXFontMgr.h index b82194afb07..44e2bcade75 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeXFontMgr.h +++ b/Build/source/texk/web2c/xetexdir/XeTeXFontMgr.h @@ -43,6 +43,8 @@ typedef ATSFontRef PlatformFontRef; typedef FcPattern* PlatformFontRef; #endif +#include "XeTeXLayoutInterface.h" + #ifdef __cplusplus /* allow inclusion in plain C files just to get the typedefs above */ #include <string> @@ -83,6 +85,7 @@ public: const char** famName, const char** styName) const; // return Postscript, family, and style names, for use in .xdv + double getDesignSize(XeTeXFont font); char getReqEngine() const; // return the requested rendering technology for the most recent findFont @@ -118,7 +121,8 @@ protected: , parent(NULL) , fontRef(ref), weight(0), width(0), slant(0) , isReg(false), isBold(false), isItalic(false) - { opSizeInfo.subFamilyID = 0; } + { opSizeInfo.subFamilyID = 0; + opSizeInfo.designSize = 100; } /* default to 10bp */ ~Font() { delete fullName; delete psName; } @@ -181,6 +185,8 @@ protected: void prependToList(std::list<std::string>* list, const char* str); void addToMaps(PlatformFontRef platformFont, const NameCollection* names); + const OpSizeRec* getOpSizePtr(XeTeXFont font); + virtual void getOpSizeRecAndStyleFlags(Font* theFont); virtual void searchForHostPlatformFonts(const std::string& name) = 0; |