[cairo-commit] 2 commits - src/cairo-pdf-surface.c src/cairo-truetype-subset.c

Adrian Johnson ajohnson at kemper.freedesktop.org
Fri Nov 26 03:25:23 PST 2010


 src/cairo-pdf-surface.c     |    2 ++
 src/cairo-truetype-subset.c |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 47b81b9fea50328bd089db4e5ef8dcb1b181515b
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Fri Nov 26 21:51:25 2010 +1030

    Truetype subset: add missing unicode ranges to cmap
    
    A couple of unicode ranges were missing from the cmap generated for latin fonts.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=31878

diff --git a/src/cairo-truetype-subset.c b/src/cairo-truetype-subset.c
index 9e0aaa5..176f163 100644
--- a/src/cairo-truetype-subset.c
+++ b/src/cairo-truetype-subset.c
@@ -408,6 +408,7 @@ static cmap_unicode_range_t winansi_unicode_ranges[] = {
     { 0x0020, 0x007f },
     { 0x00a0, 0x00ff },
     { 0x0152, 0x0153 },
+    { 0x0160, 0x0161 },
     { 0x0178, 0x0178 },
     { 0x017d, 0x017e },
     { 0x0192, 0x0192 },
@@ -416,6 +417,7 @@ static cmap_unicode_range_t winansi_unicode_ranges[] = {
     { 0x2013, 0x2026 },
     { 0x2030, 0x2030 },
     { 0x2039, 0x203a },
+    { 0x20ac, 0x20ac },
     { 0x2122, 0x2122 },
 };
 
commit 2ae2be36d4551906fd4edbc8bf07aaa7fe0c93cf
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Fri Nov 26 21:41:17 2010 +1030

    PDF: Add missing clipper_reset

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index f048dc8..7835642 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -1762,6 +1762,8 @@ _cairo_pdf_surface_finish (void *abstract_surface)
 	surface->font_subsets = NULL;
     }
 
+    _cairo_surface_clipper_reset (&surface->clipper);
+
     return status;
 }
 


More information about the cairo-commit mailing list