FontDlg sample text
Shachar Shemesh
wine-devel at shemesh.biz
Mon Dec 1 02:39:32 CST 2003
Dmitry Timoshkov wrote:
>"Shachar Shemesh" <wine-devel at shemesh.biz> wrote:
>
>
>
>>>Please explain:
>>>1. What kind of a resource should I use, in your opinion?
>>>
>>>
>
>String resources.
>
>
>
>>>2. How should I select which resource to load, given a specific locale?
>>>
>>>
>
>Font charsets doesn't depend on the current user locale. So, just create
>LANG_NEUTRAL resource with strings for each charset you want and IDs something
>like:
>
>#define CHARSET_BASE 1000
>
>STRINGTABLE
>{
> ANSI_CHARSET+CHARSET_BASE "AaBbYyZz"
> DEFAULT_CHARSET+CHARSET_BASE "AaBbYyZz"
> SYMBOL_CHARSET+CHARSET_BASE "Symbol"
> ...
>}
>
>
>
How do I put Unicode there? I need to put in characters that, by
definition, are taken from very varied parts of the unicode charset table.
If that problem is *easilly* solveable, I'll glady do the change. Note,
however, that this is no reason not to commit the patch I sent, as the
scheme currently used has been in place since February. All the current
patch did was enhance the sample text for more charsets.
Shachar
--
Shachar Shemesh
Open Source integration & consulting
Home page & resume - http://www.shemesh.biz/
The opinions expressed in this mail are my own, and do not necessarily
represent the opinions of my employer.
Wait! I am self employed! Hmm...
More information about the wine-devel
mailing list