winecheck should be more verbose about failed tests

Bug #1389982 reported by Dennis Schridde
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pipelight
New
Undecided
Unassigned

Bug Description

On my system, winecheck reports missing fonts:

Checking fonts ...
Missing Arial
Missing Verdana
Fonts: FAILURE

However, ~/.wine-pipelight/system.reg contains:

[Software\\Microsoft\\Windows\\CurrentVersion\\Fonts] 1415225544
[…]
"Arial"="Z:\\usr\\share\\fonts\\corefonts\\arial.ttf"
[…]

[Software\\Microsoft\\Windows NT\\CurrentVersion\\Fonts] 1415225544
[…]
"Arial"="Z:\\usr\\share\\fonts\\corefonts\\arial.ttf"
[…]

/usr/share/fonts/corefonts/arial.ttf does indeed exist. So it is unclear what issue winecheck believes to see. I would like to know more, but there is no --verbose or --debug switch that would output additional information.

Revision history for this message
Michael Müller (mqchael) wrote :

Hi,

the registry entry is not enough for Silverlight. Silverlight also checks the name embedded into the font file and does not load it if the name does not match. Wine normally uses a replacement font for Arial, but this does not work for Silverlight since the name inside the file is wrong. To prevent this problem a similar check is implemented in winecheck. There are only two reasons why the check might fail if the font file exists and the file can be accessed by wine, i.e. the user is allowed to read the file:

* winecheck fails to parse the TTF file
* the font family inside the file does not match Arial

I can try to add some more verbose output till the next release, but it would be good to know why the test fails for you. Could you tell me which script/package was used to install the fonts? Alternatively, you can send the font to <email address hidden> and I will take a look at it.

Michael

Revision history for this message
Dennis Schridde (devurandom) wrote :

> Could you tell me which script/package was used to install the fonts?

This was the Gentoo/Linux package media-fonts/corefonts-1-r6. Additionaly I have media-fonts/croscorefonts-1.21.0 installed, if that matters.

> you can send the font to <email address hidden> and I will take a look at it

Will do, but we might also have to check which font wine actually tries to load. Because it is setup to use fontconfig, and I have the croscorefonts fallbacks enabled for fontconfig:
$ eselect fontconfig list | grep core
  [39] 62-croscore-arimo.conf *
  [40] 62-croscore-cousine.conf *
  [41] 62-croscore-symbolneu.conf *
  [42] 62-croscore-tinos.conf *

Revision history for this message
Michael Müller (mqchael) wrote :

Hi,

the font files seems to be okay. I wrote a quick patch to dump some more information if --verbose is passed. Can you apply it and show me the output?

Michael

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.