1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Add a mechanism for determining which charset to use for a given Mac OS font,

and use it.

[originally from svn r2409]
This commit is contained in:
Ben Harris
2003-01-01 19:51:13 +00:00
parent 3deb118d4b
commit 0ea7e35008
5 changed files with 194 additions and 12 deletions

View File

@ -136,4 +136,10 @@ int charset_from_xenc(const char *name);
const char *charset_to_mimeenc(int charset);
int charset_from_mimeenc(const char *name);
/*
* Convert Mac OS script/region/font to our charset identifiers.
*/
int charset_from_macenc(int script, int region, int sysvers,
const char *fontname);
#endif /* charset_charset_h */