[Bug 74051] Re: Defoma fontconfig backend creates weird fonts.conf

Adolfo Jayme fitoschido at gmail.com
Mon Feb 3 23:33:15 UTC 2014


defoma is deprecated, nowadays fontconfig is the norm

** Changed in: defoma (Ubuntu)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to defoma in Ubuntu.
https://bugs.launchpad.net/bugs/74051

Title:
  Defoma fontconfig backend creates weird fonts.conf

Status in “defoma” package in Ubuntu:
  Won't Fix

Bug description:
  Defoma fontconfig backend creates a
  /var/lib/defoma/fontconfig.d/fonts.conf that gets read by fontconfig
  as /etc/fonts/conf.d/10-defoma.conf through links.

  So far so good.

  However entries in /var/lib/defoma/fontconfig.d/fonts.conf are useless

  Take the Palatino font, for instance, that is provided through the URW
  Palladio font.  One has entries like:

  <alias>
        <family>Palatino-Roman</family>
        <accept><family>URWPalladioL-Roma</family></accept>
  </alias>

  that tells fontconfig to substitute URWPalladioL-Roma for Palatino-
  Roman

  this is useless... the entry should actually be something like

  <alias>
        <family>Palatino</family>
        <accept><family>URW Palladio L</family></accept>
  </alias>

  The families are "Palatino" and "URW Palladio L"

  for fontconfig Roman is the Style of the font.  It does not belong to
  the Family name.  There is no such thing as a "URWPalladioL-Roma" font
  for fontconfig.  And in fact if one asks

  fc-match "URWPalladioL\-Roma"

  the result is invariably

  DejaVu-Sans.ttf: "DejaVu Sans" "Book"

  
  same thing with any font,  e.g. Avantgarde, etc...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/defoma/+bug/74051/+subscriptions



More information about the foundations-bugs mailing list