[gs-cvs] gs/src

Alex Cherepanov alexcher at ghostscript.com
Thu Jul 28 19:49:54 PDT 2005


Update of /cvs/ghostscript/gs/src
In directory casper2:/tmp/cvs-serv31893/gs/src

Modified Files:
	gxhintn.c 
Log Message:
Remove the check for 0 CTM in the type 1 font hinter to support PDF files
with 0-size fonts or 0 CTM. 
Fix bug 688237


Index: gxhintn.c
===================================================================
RCS file: /cvs/ghostscript/gs/src/gxhintn.c,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- gxhintn.c	15 Mar 2005 11:36:37 -0000	1.58
+++ gxhintn.c	29 Jul 2005 02:49:52 -0000	1.59
@@ -621,8 +621,6 @@
     double_matrix CTM;
     int code;
 
-    if (scale == 0)
-	return_error(gs_error_invalidfont);
     this->disable_hinting |= (scale < 1/1024. || scale > 4);
     this->log2_pixels_x = log2_pixels_x;
     this->log2_pixels_y = log2_pixels_y;



More information about the gs-cvs mailing list