Bug 219066 - fc-match returning bad results with non-existing styles
fc-match returning bad results with non-existing styles
Product: Fedora
Classification: Fedora
Component: fontconfig (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Behdad Esfahbod
Depends On:
  Show dependency treegraph
Reported: 2006-12-10 05:00 EST by Roozbeh Pournader
Modified: 2008-02-19 18:56 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-12-13 07:19:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Roozbeh Pournader 2006-12-10 05:00:23 EST
Description of problem:
When I run the following command, I get DejaVu Bold as the answer, while I
should get DejaVu Regular/Book:

$ fc-match "DejaVu LGC Sans:style=Italic"

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Make sure DejaVu LGC fonts are installed
2. Run $ fc-match "DejaVu LGC Sans:style=Italic"
Actual results:
DejaVuLGCSans-Bold.ttf: "DejaVu LGC Sans" "Bold"

Expected results:
DejaVuLGCSans.ttf: "DejaVu LGC Sans" "Book"

Additional info:
Same happens on Rawhide with fontconfig-2.4.2-1.fc7. This may also have
something to do with this Debian bug:
Comment 1 Roozbeh Pournader 2006-12-10 07:46:07 EST
Apparently this is not DejaVu only and also happens with Utopia (from package

$ fc-match "Utopia:style=Oblique"

gives me:

UTBI____.pfa: "Utopia" "Bold Italic"

While it should either give me Regular or Italic.
Comment 2 Behdad Esfahbod 2006-12-12 15:48:50 EST
Ok, this is apparently an upstream bug now that it happens with all fonts.


Note You need to log in before you can comment on or make changes to this bug.