simple fix required by the auto-hinting module (sets the ft_outline_reverse_fill bit_flag)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
diff --git a/src/type1/t1gload.c b/src/type1/t1gload.c
index 26ff2f5..d644267 100644
--- a/src/type1/t1gload.c
+++ b/src/type1/t1gload.c
@@ -1597,7 +1597,9 @@
if ( size->root.metrics.y_ppem < 24 )
glyph->root.outline.flags |= ft_outline_high_precision;
-
+
+ glyph->root.outline.flags |= ft_outline_reverse_fill;
+
/*
glyph->root.outline.second_pass = TRUE;
glyph->root.outline.high_precision = ( size->root.metrics.y_ppem < 24 );
@@ -1642,7 +1644,7 @@
}
}
}
-
+
return error;
}
diff --git a/src/type1z/t1gload.c b/src/type1z/t1gload.c
index dccfe4f..52cd514 100644
--- a/src/type1z/t1gload.c
+++ b/src/type1z/t1gload.c
@@ -1332,6 +1332,9 @@
glyph->root.outline.flags &= ft_outline_owner;
if ( size->root.metrics.y_ppem < 24 )
glyph->root.outline.flags |= ft_outline_high_precision;
+
+ glyph->root.outline.flags |= ft_outline_reverse_fill;
+
/*
glyph->root.outline.second_pass = TRUE;
glyph->root.outline.high_precision = ( size->root.metrics.y_ppem < 24 );