diff options
author | Henry Stiles <henry.stiles@artifex.com> | 1999-06-06 04:32:08 +0000 |
---|---|---|
committer | Henry Stiles <henry.stiles@artifex.com> | 1999-06-06 04:32:08 +0000 |
commit | 5afda32960a715d5ee3b149286dcd99410b30fe0 (patch) | |
tree | ca36b5c35d1fc219f191208a18b50a79ba874e99 /pl | |
parent | 09bb5dbfc949c120c62c53b733485772f29ca553 (diff) |
As of gs library version 5.86, the log2_current_scale member of the
gs_show_enum structure is renamed log2_scale. Adds conditional
compilation directives to determine the current library and the
correct member name to use. (peter)
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@878 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'pl')
-rw-r--r-- | pl/plchar.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pl/plchar.c b/pl/plchar.c index ad94789db..25e12fcff 100644 --- a/pl/plchar.c +++ b/pl/plchar.c @@ -37,6 +37,19 @@ #include "gxfcache.h" #include "gzstate.h" +/* + * As of gs library version 5.86, the log2_current_scale member of the + * gs_show_enum structure is renamed log2_scale. The following test + * handles this, by checking for a #define that was added in the same + * version. + */ +#ifdef TEXT_FROM_ANY +# define log2_current_scale log2_scale +#endif + +# undef gs_show_move +# define gs_show_move TEXT_PROCESS_INTERVENE + /* Define whether to cache bitmap characters. */ /* Logically this seems unnecessary, but it enables a much faster path */ /* through the character rendering code. */ |