[gs-cvs] gs/src

L. Peter Deutsch lpd at casper.ghostscript.com
Wed Jun 12 15:06:53 PDT 2002


Update of /cvs/ghostscript/gs/src
In directory casper:/tmp/cvs-serv28363/src

Modified Files:
	gdevpsft.c 
Log Message:

Fixes a bug in writing "stripped" TrueType fonts.  (Only affects font
copying.)


Index: gdevpsft.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gdevpsft.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- gdevpsft.c	9 Jun 2002 23:08:22 -0000	1.15
+++ gdevpsft.c	12 Jun 2002 22:06:51 -0000	1.16
@@ -784,7 +784,8 @@
      * Note that the existing directory is already sorted by tag.
      */
 
-    numTables_out = numTables + 3 /* head, glyf, loca */
+    numTables_out = numTables + 1 /* head */
+	+ !writing_stripped * 2	/* glyf, loca */
 	+ !no_generate		/* OS/2 */
 	+ !have_cmap + !have_name + !have_post;
     if (numTables_out >= MAX_NUM_TABLES)




More information about the gs-cvs mailing list