Bug 490941 - fc-match "times roman" results in a Sans font
Summary: fc-match "times roman" results in a Sans font
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Behdad Esfahbod
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-18 16:17 UTC by John Ellson
Modified: 2009-09-28 20:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-28 20:09:43 UTC
Type: ---


Attachments (Terms of Use)

Description John Ellson 2009-03-18 16:17:35 UTC
Description of problem:
fc-match "times roman" results in a Sans font



Version-Release number of selected component (if applicable):
dejavu-fonts-2.26-2.fc10.noarch
fontconfig-2.6.0-3.fc10.x86_64

How reproducible:
100%

Steps to Reproduce:
1. fc-match "times roman"
2.
3.
  
Actual results:
DejaVuSans.ttf: "DejaVu Sans" "Book"

Expected results:
DejaVuSerif.ttf: "DejaVu Serif" "Book"

Additional info:
Perhaps this should be fixed in fontconfig as well?  Clearly (to the user) 
any font name beginning with "times" should return a Serif font.

eg:
    fc-match times
    fc-match "times roman"
    fc-match "times new roman"
    fc-match "times-roman"
    fc-match "times-new-roman"

Comment 1 Behdad Esfahbod 2009-09-28 20:09:43 UTC
What makes you think 'fc-match "times roman"' should match a serif font?  There are two relevant names, one is "times", the other is "times new roman".  There is no such family named "times roman".


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