[Bug 50336] Wizard101 login fails (crashing process 'WizardBrowser.exe' uses 'Webkit' web browser engine, 'Arial' font face name validation)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Dec 17 10:21:40 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=50336

--- Comment #5 from Anastasius Focht <focht at gmx.net> ---
Hello James,

--- quote ---
There was some chatter about fonts, but I have the "fonts-wine"
(Windows API implementation - fonts) installed, so the font issue should be
moot.
--- quote ---

fonts are a complicated matter. Very short: there are legal aspects (copyright
and patent restrictions) which make it impossible to clone various vendor fonts
1:1.

You can find many discussions on the Internet about the topic

* https://en.wikipedia.org/wiki/Core_fonts_for_the_Web
* https://github.com/ValveSoftware/Proton/issues/571

There is a small set of Wine "builtin" Courier, System and MS Sans Serif fonts,
created and managed by the Wine project.

https://source.winehq.org/git/wine.git/tree/ef876fc54e207344b5809f40a59e3d5d610a6fda:/fonts

Provided as separate 'fonts-wine' package in your distro (example from Debian):

https://packages.debian.org/stretch/all/fonts-wine/filelist

There are distro provided fonts which can be used as substitutes but they don't
mimic Microsoft fonts in all aspects (font metrics etc). Some can be used for
substituting within font families but they are not full replacements.

https://wiki.archlinux.org/index.php/Metric-compatible_fonts

Additionally there are the non-free, proprietary Microsoft fonts, provided by
'msttcorefonts' distro package (repackaged) or via 'winetricks corefonts' (uses
original installers).

https://wiki.archlinux.org/index.php/Microsoft_fonts

There is a limited collection of free fonts provided via 'fonts-liberation'
distro package which use the same metrics which can serve as a drop-in
replacement (serif, sans-serif and monospaced fonts).

The Wine-Staging project has replacement fonts, taken and modified from
'Liberation' font family which aim to be better substitutes for Wine builtin
and distro provided fonts.

https://github.com/wine-staging/wine-staging/tree/master/patches/fonts-Missing_Fonts

---

--- quote ---
There was some chatter about this being a duplicate bug report, but when I went
to the referenced bug reports, I did not notice any similarities with the eight
year old bug report. Since this problem occurred after a clean install of LMDE4
and a current download of InstallWizard101.exe, I do not see how there could be
a multiple implementation of webkit, at least I presume that was the previous
problem.
--- quote ---

'WizardBrowser.exe' uses a component/library which provides the functionality
of a webbrowser. It's provided by 'libcef.dll'.

'libcef.dll' is short for Chromium Embedded Framework (CEF) Dynamic Link
Library.

The history/ancestry of the code is a bit complicated, see here:

https://en.wikipedia.org/wiki/Blink_(browser_engine)

--- quote ---
Blink is a browser engine developed as part of the Chromium project ...

Blink is a fork of the WebCore component of WebKit which is fork of the KHTML
and KJS libraries from KDE.

Several projects exist to turn Chromium's Blink into a reusable software
framework for other developers:

* Chromium Embedded Framework is widely used in software by Adobe
Systems,[17][18] streaming media services such as Spotify,[19][20] video game
services such as Battle.net and Steam,[21] etc.[22]
--- quote ---

To make matters even more complicated: Several of the companies maintain their
own forks of Chromium Embedded Framework and distribute a private/modified
version of 'libcef.dll' with their games/apps. Valve/Steam is for example one
"offender".

CEF has quite an amount of complicated font handling code due to the fact that
it needs to support multiple OS/platforms and several OS-specific font
renderer/manager technologies.

I hope I didn't create even more confusion now ;-)

---

You don't need to understand all the glory details. Just use the workarounds
from the command line to avoid the crash:

'winetricks -q arial' 

If that's not sufficient: 

'winetricks -q corefonts'

(https://wiki.winehq.org/Winetricks)

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list