summaryrefslogtreecommitdiff
path: root/src/cairo-truetype-subset.c
diff options
context:
space:
mode:
authorAdrian Johnson <ajohnson@redneon.com>2010-11-26 21:51:25 +1030
committerAdrian Johnson <ajohnson@redneon.com>2010-11-26 21:54:39 +1030
commit47b81b9fea50328bd089db4e5ef8dcb1b181515b (patch)
tree1f50dc83589d06ec279e4e78ca75a8b3e7ac2074 /src/cairo-truetype-subset.c
parent2ae2be36d4551906fd4edbc8bf07aaa7fe0c93cf (diff)
downloadcairo-47b81b9fea50328bd089db4e5ef8dcb1b181515b.tar.gz
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
Diffstat (limited to 'src/cairo-truetype-subset.c')
-rw-r--r--src/cairo-truetype-subset.c2
1 files changed, 2 insertions, 0 deletions
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 },
};