[PATCH 1/2] Fix ISO-8859-6 → ISO-10646 mapping.
James Cloos
cloos at jhcloos.com
Tue Apr 24 12:55:35 PDT 2012
ISO-8859-6 code point 0xC0 is unassigned.
ISO-10646 code point U+0620, to which 0xC0 was mapping, has since been
assigned an unrelated character.
Reported by Norm Pierce.
Signed-off-by: James Cloos <cloos at jhcloos.com>
---
src/fontenc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/fontenc.c b/src/fontenc.c
index fb56ff1..bb8ff12 100644
--- a/src/fontenc.c
+++ b/src/fontenc.c
@@ -250,7 +250,8 @@ iso8859_6_to_unicode(unsigned isocode, void *client_data)
if(isocode<=0xA0 || isocode==0xA4 || isocode==0xAD)
return isocode;
else if(isocode==0xAC || isocode==0xBB ||
- (isocode>=0xBF && isocode<=0xDA) ||
+ isocode==0xBF ||
+ (isocode>=0xC1 && isocode<=0xDA) ||
(isocode>=0xE0 && isocode<=0xEF) ||
(isocode>=0xF0 && isocode<=0xF2))
return isocode-0xA0+0x0600;
--
1.7.10
--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline;
filename=0002-Fix-ISO-8859-7-ISO-10646-mapping.patch
More information about the xorg-devel
mailing list