[Bug 959] New: - ChooseFontA dialog never displays the script selection

wine-bugs at winehq.com wine-bugs at winehq.com
Sat Aug 10 12:57:34 CDT 2002


http://bugs.winehq.com/show_bug.cgi?id=959

           Summary: ChooseFontA dialog never displays the script selection
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: wine-gui
        AssignedTo: wine-bugs at winehq.com
        ReportedBy: winebugzilla at sun.consumer.org.il


The "ChooseFont" dialog, when not using Unicode, has an option to select which
script will be used when the font supports more than one. This option is not
implemented in WINE at the moment.

In principle, it shouldn't be too dificult to implement. All that needs to be
done is adding a combo box to the dialog layout, and filling it out with the
result of "GetFontUnicodeRanges". There is only really need to check for those
ranges that correspond to the defined charsets (SYMBOL_CHARSET,
SHIFTJIS_CHARSET, etc.).

There is, however, some need to tweak the resources. For each of these charset,
you probably need:
1. The demo text to use (locale independant).
2. The display name to use (i.e. - SHIFTJIS_CHARSET is "Japanese" if the current
locale is English, "RUSSIAN_CHARSET" is "Russian" if the current locale is
English, etc.).

It is my experience that, under Windows 2000, ChooseFontW puts this combo box
in, but disables it (ugly).

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=959>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.



More information about the wine-bugs mailing list