diff options
author | James Cloos <cloos@jhcloos.com> | 2012-04-24 15:55:59 -0400 |
---|---|---|
committer | James Cloos <cloos@jhcloos.com> | 2012-04-24 15:55:59 -0400 |
commit | f7682533fa6de77d8bd6fa6480a0f5188e0e56d7 (patch) | |
tree | 883fc51efe23d5de1365c0d38a69832f15fe9740 /src | |
parent | 6012075d945e527866ef31b8796e04d6581071db (diff) |
Fix ISO-8859-6 → ISO-10646 mapping.
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@jhcloos.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/fontenc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; |