tony2001/libharu — pull request #12 by orouge (2012-05-29 14:40:37+00:00)
Title: Encoder: Fixes on 3 basic tables

Bug Fixes on hpdf_encoder.c file
ref : Adobe Standard Encoding at http://unicode.org/Public/MAPPINGS/VENDORS/ADOBE/stdenc.txt
Windows Ansi (CP1252) at http://unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT
Mac OS Roman at http://unicode.org/Public/MAPPINGS/VENDORS/APPLE/ROMAN.TXT

HPDF_UNICODE_MAP_STANDARD table:
0x84 0x00D1 -> 0x0000

HPDF_UNICODE_MAP_WIN_ANSI table:
0xA0 0x0000 -> 0x00A0
0xAD 0x0000 -> 0x00AD
0xB0 0x02DA -> 0x00B0

HPDF_UNICODE_MAP_MAC_ROMAN table:
0x84 0x0000 -> 0x00D1
0xAD 0x0000 -> 0x2260
0xB0 0x0000 -> 0x221E
0xB2 0x0000 -> 0x2264
0xB3 0x0000 -> 0x2265
0xB6 0x0000 -> 0x2202
0xB7 0x0000 -> 0x2211
0xB8 0x0000 -> 0x220F
0xB9 0x0000 -> 0x03C0
0xBA 0x0000 -> 0x222B
0xBD 0x0000 -> 0x03A9
0xC3 0x0000 -> 0x221A
0xC5 0x0000 -> 0x2248
0xC6 0x0000 -> 0x2206
0xCA 0x0020 -> 0x00A0
0xD7 0x0000 -> 0x25CA
0xDB 0x00A4 -> 0x20AC
0xF0 0x0000 -> 0xF8FF

Best regards