diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-05 10:17:55 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-01-05 10:17:55 +0000 |
commit | 58ec6ee9f72e68fe95a270a2295b102a7e138e40 (patch) | |
tree | 8c6de7433f18b5abd7813a0401089c873154cfeb | |
parent | 31abeb756e78904f1452897fdcaa8a907c2ac1c7 (diff) |
XeTeX: Print Graphite2 version (from Akira)
git-svn-id: svn://tug.org/texlive/trunk@28736 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/xetexdir/ChangeLog | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeX_ext.c | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog index af93b44e953..6b2c05f8efc 100644 --- a/Build/source/texk/web2c/xetexdir/ChangeLog +++ b/Build/source/texk/web2c/xetexdir/ChangeLog @@ -7,6 +7,8 @@ * trans.h: ... and '#define M_PI' here immediately after '#include <math.h>'. + * XeTeX_ext.c: Print the Graphite2 version (from Akira). + 2013-01-04 Khaled Hosny <khaledhosny@eglug.org> Merge changes from XeTeX repository. diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c index 68dc7b9a0a7..baf8ff5e3c1 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.c +++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.c @@ -146,11 +146,13 @@ void initversionstring(char **versions) int fc_version = FcGetVersion(); #endif FT_Int ftMajor, ftMinor, ftPatch; + int grMajor, grMinor, grBugfix; const_string fmt = "Compiled with ICU version %s\n" "Compiled with zlib version %s; using %s\n" "Compiled with FreeType2 version %d.%d.%d; using %d.%d.%d\n" + "Compiled with Graphite2 version %d.%d.%d; using %d.%d.%d\n" "Compiled with HarfBuzz version %s; using %s\n" #ifdef XETEX_MAC "Using Mac OS X Carbon, Cocoa & QuickTime frameworks\n" @@ -173,6 +175,7 @@ void initversionstring(char **versions) + strlen(POPPLER_VERSION) + 6 * 3 /* for fontconfig version #s (won't really need 3 digits per field!) */ #endif + + 6 * 3 /* for graphite2 version #s (ditto) */ + 6 * 3; /* for freetype version #s (ditto) */ *versions = xmalloc(len + 1); @@ -184,12 +187,15 @@ void initversionstring(char **versions) exit(9); } FT_Library_Version(gFreeTypeLibrary, &ftMajor, &ftMinor, &ftPatch); + gr_engine_version(&grMajor, &grMinor, &grBugfix); (void)sprintf(*versions, fmt, U_ICU_VERSION, ZLIB_VERSION, zlib_version, FREETYPE_MAJOR, FREETYPE_MINOR, FREETYPE_PATCH, ftMajor, ftMinor, ftPatch, + GR2_VERSION_MAJOR, GR2_VERSION_MINOR, GR2_VERSION_BUGFIX, + grMajor, grMinor, grBugfix, HB_VERSION_STRING, hb_version_string() #ifdef XETEX_OTHER , |