shithub: freetype+ttf2subf

Download patch

ref: 04affa270bd415136da6818643c07e838ba3da47
parent: 3d3ff4b2f951ef592904aa4462d76997db8e572c
author: Werner Lemberg <[email protected]>
date: Fri Aug 17 05:28:28 EDT 2012

* src/base/ftsynth.c (FT_GlyphSlot_Oblique): Fix shear angle.

The old value was far too large (more than 20°).  The new one
corresponds to 12°, quite common in typography.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-08-17  Werner Lemberg  <[email protected]>
+
+	* src/base/ftsynth.c (FT_GlyphSlot_Oblique): Fix shear angle.
+
+	The old value was far too large (more than 20°).  The new one
+	corresponds to 12°, quite common in typography.
+
 2012-08-12  Alexei Podtelezhnikov  <[email protected]>
 
 	Fix Savannah bug #37017.
--- a/src/base/ftsynth.c
+++ b/src/base/ftsynth.c
@@ -63,7 +63,7 @@
     transform.xx = 0x10000L;
     transform.yx = 0x00000L;
 
-    transform.xy = 0x06000L;
+    transform.xy = 0x0366AL;
     transform.yy = 0x10000L;
 
     FT_Outline_Transform( outline, &transform );