[PATCH] gdi32: Collapse relative paths inside true type fonts file names in registry.

Nikolay Sivov nsivov at codeweavers.com
Mon Oct 7 07:21:37 CDT 2019


On 10/7/19 2:19 PM, Paul Gofman wrote:

> Signed-off-by: Paul Gofman <gofmanp at gmail.com>
> ---
>      The motivation under this patch is fixing the crash in Halo Online which
>      originates from libcef.dll with Wine Staging. The crash scenario is the
>      following.
>
>      A staging patch puts a 'Times New Roman' font replacement to
>      <datadir>/fonts/times.ttf. This is the only relevant difference introduced by
>      Staging. When the font file is found there, gdi32 uses wine_get_data_dir()
>      for a directory prefix to construct font file name. Later libcef.dll works
>      with fonts through dwrite, and somehow gets confused by a "\\..\\" inside the
>      font file name which it gets with IDWriteLocalFontFileLoader_GetFilePathFromKey()
>      from system font file enumerator object.

Is it the same for tahoma.ttf?Were you able to figure out where in CEF 
it fails and why exactly?




More information about the wine-devel mailing list