summaryrefslogtreecommitdiff
path: root/src/fontenc.c
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2012-04-24 16:01:35 -0400
committerJames Cloos <cloos@jhcloos.com>2012-04-24 16:01:35 -0400
commit7de846ed190b2564b0642de79918dd3804083b4e (patch)
treee6f1ce6a9c71348817df5b2abc94bf9c7dee12ba /src/fontenc.c
parentf7682533fa6de77d8bd6fa6480a0f5188e0e56d7 (diff)
Fix ISO-8859-7 → ISO-10646 mapping.
ISO-8859-7 code point 0xD2 is unassigned. ISO-10646 code point U+03A2, to which 0xD2 was mapping, also is unassigned. Reported by Norm Pierce. Signed-off-by: James Cloos <cloos@jhcloos.com>
Diffstat (limited to 'src/fontenc.c')
-rw-r--r--src/fontenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fontenc.c b/src/fontenc.c
index bb8ff12..4cfa1e5 100644
--- a/src/fontenc.c
+++ b/src/fontenc.c
@@ -279,6 +279,8 @@ iso8859_7_to_unicode(unsigned isocode, void *client_data)
return 0x02BC;
else if(isocode==0xAF)
return 0x2015;
+ else if(isocode==0xD2) /* unassigned */
+ return 0;
else if(isocode>=0xB4)
return isocode-0xA0+0x0370;
else