gdi32: Update fontsubstitutes and add ms shell dlg 2

Huw Davies huw at codeweavers.com
Fri Dec 7 06:48:43 CST 2007


On Fri, Dec 07, 2007 at 01:20:59PM +0100, Maarten Lankhorst wrote:
> ---
>  dlls/gdi32/freetype.c |   34 ++++++++++++++++++----------------
>  1 files changed, 18 insertions(+), 16 deletions(-)

> diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
> index e9fb663..1542e29 100644
> --- a/dlls/gdi32/freetype.c
> +++ b/dlls/gdi32/freetype.c
> @@ -1884,83 +1884,83 @@ static const struct nls_update_font_list
>      const char *oem, *fixed, *system;
>      const char *courier, *serif, *small, *sserif;
>     /* these are for font substitute */
> -    const char *shelldlg, *tmsrmn;
> +    const char *shelldlg, *shelldlg2, *tmsrmn;
>  } nls_update_font_list[] =
>  {
>      /* Latin 1 (United States) */
>      { 1252, 437, "vgaoem.fon", "vgafix.fon", "vgasys.fon",
>        "coure.fon", "serife.fon", "smalle.fon", "sserife.fon",
> -      "Tahoma","Times New Roman",
> +      "MS Sans Serif", "Tahoma","Times New Roman",
>      },

I'm fairly sure we don't want to map MS Shell Dlg to MS Sans Serif.
Which version of Windows has this mapping?  Some map it to Microsoft
Sans Serif, but that's a completely different font...

Huw.
-- 
Huw Davies
huw at codeweavers.com



More information about the wine-devel mailing list