diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-02-12 08:40:09 +0000 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2013-02-12 08:40:09 +0000 |
commit | f846f875e3353c6ca68836d67f6df131f21992b5 (patch) | |
tree | 7ba52a0c917f6f8fde10ceeae62b41f1680004a8 /Build/source/texk/xdvipdfmx | |
parent | bd74479743b9859bd48c6245cc6c61e504cd280c (diff) |
Drop use of deprecated ATS API
git-svn-id: svn://tug.org/texlive/trunk@29086 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvipdfmx')
-rw-r--r-- | Build/source/texk/xdvipdfmx/ChangeLog | 2 | ||||
-rw-r--r-- | Build/source/texk/xdvipdfmx/src/fontmap.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/xdvipdfmx/ChangeLog b/Build/source/texk/xdvipdfmx/ChangeLog index 1198467c6b1..e3fbe41cb3c 100644 --- a/Build/source/texk/xdvipdfmx/ChangeLog +++ b/Build/source/texk/xdvipdfmx/ChangeLog @@ -2,6 +2,8 @@ * dpxfile.c, dpxfile.h (dpx_find_dfont_file): Make public. * fontmap.c (pdf_load_native_font_from_path): Fix loading *.dfont files. + * fontmap.c (pdf_load_native_font): Drop use of depprecated ATS API, all + native fonts should be given as file names. 2013-02-08 Peter Breitenlohner <peb@mppmu.mpg.de> diff --git a/Build/source/texk/xdvipdfmx/src/fontmap.c b/Build/source/texk/xdvipdfmx/src/fontmap.c index 3444929e064..b532ed7f7f2 100644 --- a/Build/source/texk/xdvipdfmx/src/fontmap.c +++ b/Build/source/texk/xdvipdfmx/src/fontmap.c @@ -1171,7 +1171,8 @@ pdf_load_native_font (const char *ps_name, error = pdf_load_native_font_from_path(ps_name, layout_dir, extend, slant, embolden); } else { -#ifdef XETEX_MAC +/* re-enable this if we decided not to ship XeTeX 0.9999 in TeX Live 2013 */ +#if 0 && defined(XETEX_MAC) CFStringRef theName = CFStringCreateWithCStringNoCopy(kCFAllocatorDefault, ps_name, kCFStringEncodingASCII, kCFAllocatorNull); ATSFontRef fontRef = ATSFontFindFromPostScriptName(theName, kATSOptionFlagsDefault); |