fontconfig strange selection

Bug #504235 reported by Jean-Marc Bourguet
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fontconfig (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: fontconfig

I've the Adobe Type 1 "basic types" package which includes Helvetica and Helvetica Narrow fonts.

I think I've installed them correctly:
$ fc-list | grep Helveti
Helvetica:style=Narrow Bold
Helvetica:style=Oblique
Helvetica:style=Narrow
Helvetica:style=Bold
Helvetica:style=Narrow Oblique
Helvetica:style=Regular
Helvetica:style=Narrow Bold Oblique
Helvetica:style=Bold Oblique

but

$ fc-match Helvetica:Oblique
hvno____.pfb: "Helvetica" "Narrow Oblique"

I'd have expected hvo______.pfb, "Hevetica" "Oblique". And worse, fc-match -s doesn't even present the correct result in its list.

$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
$ apt-cache policy fontconfig
fontconfig:
  Installed: 2.6.0-1ubuntu12
  Candidate: 2.6.0-1ubuntu12
  Version table:
 *** 2.6.0-1ubuntu12 0
        500 http://fr.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

I made few tests and I agree that fc-match results are not really what a user would expect. I don't have the same fonts as yours so I can't specifically say anything about fc choice in your case, but could you please attach the output of the command:
$ FC_DEBUG=1 fc-match "Helvetica:Oblique"

It will give us some light about the reasons of the choice.

Changed in fontconfig (Ubuntu):
status: New → Incomplete
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future.
To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New".
Thanks again!

Changed in fontconfig (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Jean-Marc Bourguet (jm-bourguet) wrote :

I'm sorry, I was sure I answered. The problem is fixed in 10.04. If you want I may upload the output of
   FC_DEBUG=1 fc-match "Helvetica:Oblique"

[~]$ lsb_release -rd
Description: Ubuntu 10.04.1 LTS
Release: 10.04
[~]$ apt-cache policy fontconfig
fontconfig:
  Installed: 2.8.0-2ubuntu1
  Candidate: 2.8.0-2ubuntu1
  Version table:
 *** 2.8.0-2ubuntu1 0
        500 http://fr.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

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.