At first glance it appears there is no support for ISO-8859-1.
Looking at the libharu source code (src/hpdf_encoding.c) you can see that
what they call 'WinAnsiEncoding' is Windows Code Page 1252. CP1252 is a superset of ISO-8859-1 that adds printable characters at 0x80 to 0x9F.
So you can use that to get ISO-8859-1.
Encodages internes
| Nom | Description |
|---|---|
| StandardEncoding | L'encodage par défaut de PDF. |
| MacRomanEncoding | L'encodage par défaut de Mac OS. |
| WinAnsiEncoding | L'encodage par défaut de Windows. |
| FontSpecific | L'encodage des polices internes. |
| ISO8859-2 | Latin2 (Europe de l'est) |
| ISO8859-3 | Latin3 (Europe de l'ouest) |
| ISO8859-4 | Latin4 (Europe du nord) |
| ISO8859-5 | Cyrillique |
| ISO8859-6 | Arabe |
| ISO8859-7 | Grec |
| ISO8859-8 | Hébreu |
| ISO8859-9 | Latin5 (Turque) |
| ISO8859-10 | Latin6 (Nordique) |
| ISO8859-11 | Thaï |
| ISO8859-13 | Latin7 (Jante baltique) |
| ISO8859-14 | Latin8 (Celtique) |
| ISO8859-15 | Latin9 |
| ISO8859-16 | Latin10 |
| CP1250 | MS Windows Codepage 1250. |
| CP1251 | MS Windows Codepage 1251. |
| CP1252 | MS Windows Codepage 1252. |
| CP1253 | MS Windows Codepage 1253. |
| CP1254 | MS Windows Codepage 1254. |
| CP1255 | MS Windows Codepage 1255. |
| CP1256 | MS Windows Codepage 1256. |
| CP1257 | MS Windows Codepage 1257. |
| CP1258 | MS Windows Codepage 1258. |
| KOI8-R | Jeu de caractères cyrillique. |
| Nom | Description |
|---|---|
| GB-EUC-H | Encodage EUC-CN. |
| GB-EUC-V | Version verticale de GB-EUC-H. |
| GBK-EUC-H | Encodage Microsoft Code Page 936 (lfCharSet 0x86) GBK. |
| GBK-EUC-V | Version verticale de GBK-EUC-H. |
| ETen-B5-H | Jeu de caractères Microsoft Code Page 950 (lfCharSet 0x88) Big Five avec les extensions ETen. |
| ETen-B5-V | Version verticale de ETen-B5-H. |
| 90ms-RKSJ-H | Microsoft Code Page 932, caractère JIS X 0208. |
| 90ms-RKSJ-V | Version verticale de 90ms-RKSJ-V. |
| 90msp-RKSJ-H | Microsoft Code Page 932, caractère JIS X 0208 (proportionnel). |
| EUC-H | Jeu de caractères JIS X 0208, encodage EUC-JP. |
| EUC-V | Version verticale de EUC-H. |
| KSC-EUC-H | Jeu de caractères KS X 1001:1992, encodage EUC-KR. |
| KSC-EUC-V | Version verticale de KSC-EUC-V. |
| KSCms-UHC-H | Microsoft Code Page 949 (lfCharSet 0x81), jeu de caractères KS X 1001:1992 et 8822 additionnel hangul, encodage UHC (Unified Hangul Code) (à largeur fixe). |
| KSCms-UHC-HW-H | Microsoft Code Page 949 (lfCharSet 0x81), jeu de caractères KS X 1001:1992 et 8822 additionnel hangul, encodage UHC (Unified Hangul Code) (à largeur fixe). |
| KSCms-UHC-HW-V | Version verticale de KSCms-UHC-HW-H. |
gem at rellim dot com
28-Jan-2010 07:19
