From 47b81b9fea50328bd089db4e5ef8dcb1b181515b Mon Sep 17 00:00:00 2001 From: Adrian Johnson Date: Fri, 26 Nov 2010 21:51:25 +1030 Subject: [PATCH] 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 --- src/cairo-truetype-subset.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cairo-truetype-subset.c b/src/cairo-truetype-subset.c index 9e0aaa520..176f163c2 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 }, };