[PATCH 2/2] Fix ISO-8859-7 → ISO-10646 mapping.

James Cloos cloos at jhcloos.com
Tue Apr 24 13:01:11 PDT 2012


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 at jhcloos.com>
---
 src/fontenc.c |    2 ++
 1 file changed, 2 insertions(+)

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
-- 
1.7.10


--=-=-=
Content-Type: text/plain


-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

--=-=-=--


More information about the xorg-devel mailing list