Bug 490941

Summary: fc-match "times roman" results in a Sans font
Product: [Fedora] Fedora Reporter: John Ellson <john.ellson>
Component: fontconfigAssignee: Behdad Esfahbod <behdad>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: behdad, fonts-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-28 20:09:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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".