summaryrefslogtreecommitdiff
path: root/mac/freetype_linespacing.patch
diff options
context:
space:
mode:
Diffstat (limited to 'mac/freetype_linespacing.patch')
-rw-r--r--mac/freetype_linespacing.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/mac/freetype_linespacing.patch b/mac/freetype_linespacing.patch
new file mode 100644
index 0000000..426e18f
--- /dev/null
+++ b/mac/freetype_linespacing.patch
@@ -0,0 +1,13 @@
+--- a/src/truetype/ttdriver.c
++++ b/src/truetype/ttdriver.c
+@@ -246,7 +246,10 @@
+ FT_Request_Metrics( size->face, req );
+
+ if ( FT_IS_SCALABLE( size->face ) )
++ {
+ error = tt_size_reset( ttsize );
++ ttsize->root.metrics = ttsize->metrics;
++ }
+
+ return error;
+ }