[cairo-commit] src/cairo-type1-subset.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Fri Dec 21 20:11:18 PST 2012


 src/cairo-type1-subset.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 4e751fcb031557e6ad720f5bf5f14e181564ab9b
Author: David Maxwell <damaxwell at alaska.edu>
Date:   Thu Oct 11 08:52:36 2012 -0800

    type1-subset: always include subroutine 4 (hint replacement idiom)
    
    http://lists.cairographics.org/archives/cairo/2012-December/023846.html

diff --git a/src/cairo-type1-subset.c b/src/cairo-type1-subset.c
index d177fa9..e87ed46 100644
--- a/src/cairo-type1-subset.c
+++ b/src/cairo-type1-subset.c
@@ -1399,9 +1399,9 @@ skip_subrs:
 	    return status;
     }
 
-    /* Always include the first four subroutines in case the Flex/hint mechanism is
+    /* Always include the first five subroutines in case the Flex/hint mechanism is
      * being used. */
-    for (j = 0; j < MIN(font->num_subrs, 4); j++) {
+    for (j = 0; j < MIN (font->num_subrs, 5); j++) {
 	font->subrs[j].used = TRUE;
     }
 


More information about the cairo-commit mailing list