Make ChooseFontW use ChooseFontA

Alexandre Julliard julliard at winehq.com
Mon Jun 11 23:08:31 CDT 2001


Ian Pilcher <ian.pilcher at home.com> writes:

> ChooseFontW was not returning the iPointSize member, and possibly
> others.  This patch rewrites ChooseFontW to convert all its inputs to
> ASCII, call ChooseFontA, and convert the outputs back to Unicode.

It would be much better to make ChooseFontA call ChooseFontW instead;
converting Unicode to ASCII must be avoided as much as possible.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list