[Commit] fontconfig/src fcfreetype.c,1.26,1.26.2.1

Keith Packard commit@keithp.com
Thu, 24 Apr 2003 10:32:40 -0700


Committed by: keithp

Update of /local/src/CVS/fontconfig/src
In directory home.keithp.com:/tmp/cvs-serv4169

Modified Files:
      Tag: fc-2_2_branch
	fcfreetype.c 
Log Message:
Eliminate italic_angle check for PS fonts


Index: fcfreetype.c
===================================================================
RCS file: /local/src/CVS/fontconfig/src/fcfreetype.c,v
retrieving revision 1.26
retrieving revision 1.26.2.1
diff -u -d -r1.26 -r1.26.2.1
--- fcfreetype.c	20 Apr 2003 04:44:09 -0000	1.26
+++ fcfreetype.c	24 Apr 2003 17:32:37 -0000	1.26.2.1
@@ -769,10 +769,16 @@
 		}
 	}
      
+#if 0
+	/* 
+	 * Don't bother with italic_angle; FreeType already extracts that
+	 * information for us and sticks it into style_flags
+	 */
         if (psfontinfo.italic_angle < 0) 
             slant = FC_SLANT_ITALIC; 
         else if (psfontinfo.italic_angle >= 0) 
             slant = FC_SLANT_ROMAN; 
+#endif
 
         if(!foundry)
             foundry = FcNoticeFoundry(psfontinfo.notice);