← Back to team overview

documentation-packages team mailing list archive

[Bug 1034928] Re: Fontconfig warning: Having multiple values in <test> isn't supported and may not works as expected

 

Launchpad has imported 4 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=837520.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2012-07-04T07:49:07+00:00 Akira wrote:

Description of problem:

Still no changes in the behavior in the latest version of fontconfig,
but it now warns when <test> contains multiple values or <alias> contains
multiple <family>s. this is because the behavior isn't intuitive and
doesn't work as expected necessarily. So you better consider to fix it
to make clearer what you want to do with it.

For solution, if you are expecting OR operator with that rule, add more
<match>s or <alias>es. if you are expecting AND operator with that rule,
just add more <test>s in that <match>.

Version-Release number of selected component (if applicable):
khmeros-fonts-5.0-12.fc17.src.rpm

How to reproducible:
always

Steps to Reproduce:
1. install the fonts package
2. fc-match

Actual results:
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-base.conf", line 29: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-base.conf", line 41: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-base.conf", line 53: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-battambang.conf", line 16: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-bokor.conf", line 16: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-handwritten.conf", line 22: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-handwritten.conf", line 34: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-metal-chrieng.conf", line 16: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-muol.conf", line 29: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-muol.conf", line 41: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-muol.conf", line 53: Having multiple values in <test> isn't supported and may not works as expected
Fontconfig warning: "/etc/fonts/conf.d/65-0-khmeros-siemreap.conf", line 16: Having multiple values in <test> isn't supported and may not works as expected

Expected results:
no warnings

Reply at: https://bugs.launchpad.net/ubuntu/+source/fonts-unfonts-
core/+bug/1034928/comments/0

------------------------------------------------------------------------
On 2012-07-05T10:16:54+00:00 Parag wrote:

Fixed in khmeros-fonts-5.0-13.fc18

Reply at: https://bugs.launchpad.net/ubuntu/+source/fonts-unfonts-
core/+bug/1034928/comments/1

------------------------------------------------------------------------
On 2012-07-05T10:18:13+00:00 Parag wrote:

*** Bug 837547 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/fonts-unfonts-
core/+bug/1034928/comments/2

------------------------------------------------------------------------
On 2012-08-13T01:52:43+00:00 Akira wrote:

*** Bug 847340 has been marked as a duplicate of this bug. ***

Reply at: https://bugs.launchpad.net/ubuntu/+source/fonts-unfonts-
core/+bug/1034928/comments/9


** Changed in: fedora
       Status: Unknown => Fix Released

** Changed in: fedora
   Importance: Unknown => Undecided

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ttf-wqy-zenhei in Ubuntu.
https://bugs.launchpad.net/bugs/1034928

Title:
  Fontconfig warning: Having multiple values in <test> isn't supported
  and may not works as expected

Status in culmus package in Ubuntu:
  Fix Released
Status in fonts-arphic-ukai package in Ubuntu:
  Fix Released
Status in fonts-arphic-uming package in Ubuntu:
  Fix Released
Status in fonts-baekmuk package in Ubuntu:
  Fix Released
Status in fonts-droid package in Ubuntu:
  Fix Released
Status in fonts-nanum package in Ubuntu:
  Fix Released
Status in fonts-nanum-coding package in Ubuntu:
  Fix Released
Status in fonts-sil-andika package in Ubuntu:
  Fix Released
Status in fonts-tlwg package in Ubuntu:
  Fix Released
Status in fonts-unfonts-core package in Ubuntu:
  Fix Released
Status in fonts-unfonts-extra package in Ubuntu:
  Fix Released
Status in language-selector package in Ubuntu:
  Fix Released
Status in libreoffice package in Ubuntu:
  Fix Released
Status in ttf-wqy-zenhei package in Ubuntu:
  Fix Released
Status in culmus source package in Quantal:
  Fix Released
Status in fonts-arphic-ukai source package in Quantal:
  Fix Released
Status in fonts-arphic-uming source package in Quantal:
  Fix Released
Status in fonts-baekmuk source package in Quantal:
  Fix Released
Status in fonts-droid source package in Quantal:
  Fix Released
Status in fonts-nanum source package in Quantal:
  Fix Released
Status in fonts-nanum-coding source package in Quantal:
  Fix Released
Status in fonts-sil-andika source package in Quantal:
  Fix Released
Status in fonts-tlwg source package in Quantal:
  Fix Released
Status in fonts-unfonts-core source package in Quantal:
  Fix Released
Status in fonts-unfonts-extra source package in Quantal:
  Fix Released
Status in language-selector source package in Quantal:
  Fix Released
Status in ttf-wqy-zenhei source package in Quantal:
  Fix Released
Status in fonts-arphic-ukai package in Debian:
  Fix Released
Status in fonts-arphic-uming package in Debian:
  Fix Released
Status in fonts-baekmuk package in Debian:
  Fix Released
Status in fonts-droid package in Debian:
  Fix Released
Status in fonts-nanum package in Debian:
  Fix Released
Status in fonts-sil-andika package in Debian:
  Fix Released
Status in fonts-unfonts-core package in Debian:
  Fix Released
Status in fonts-unfonts-extra package in Debian:
  Fix Released
Status in ttf-wqy-zenhei package in Debian:
  New
Status in Fedora:
  Fix Released

Bug description:
  In 12.10, fontconfig prints warnings similar to the following whenever
  fontconfig is invoked:

  Fontconfig warning: "/etc/fonts/conf.d/90-fonts-unfonts-core.conf",
  line 11: Having multiple values in <test> isn't supported and may not
  works as expected

  This affects fonts from a number of packages:
  fonts-arphic-ukai: /etc/fonts/conf.d/41-arphic-ukai.conf
  fonts-arphic-uming: /etc/fonts/conf.d/41-arphic-uming.conf
  fonts-droid: /etc/fonts/conf.d/65-droid-sans-fonts.conf
  fonts-tlwg-garuda: /etc/fonts/conf.d/89-tlwg-garuda-synthetic.conf
  fonts-tlwg-kinnari: /etc/fonts/conf.d/89-tlwg-kinnari-synthetic.conf
  fonts-tlwg-loma: /etc/fonts/conf.d/89-tlwg-loma-synthetic.conf
  fonts-tlwg-umpush: /etc/fonts/conf.d/89-tlwg-umpush-synthetic.conf
  fonts-nanum: /etc/fonts/conf.d/90-fonts-nanum.conf
  fonts-unfonts-core: /etc/fonts/conf.d/90-fonts-unfonts-core.conf

  [Test Case]
  1) Install the fonts in question
  2) Open a terminal
  3) Launch 'gedit' from the terminal

  Expected results:
  gedit launches, no fontconfig warnings in the terminal

  Actual results:
  gedit launches, fontconfig warnings are displayed in the terminal

  [Regression Potential]
  In case of a regression, the font in question can be affected.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: fonts-unfonts-core 1.0.3.is.1.0.2-080608-5ubuntu1
  ProcVersionSignature: Ubuntu 3.5.0-8.8-generic 3.5.0
  Uname: Linux 3.5.0-8-generic x86_64
  ApportVersion: 2.4-0ubuntu6
  Architecture: amd64
  Date: Thu Aug  9 10:02:59 2012
  Dependencies:

  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: fonts-unfonts-core
  UpgradeStatus: Upgraded to quantal on 2012-08-07 (1 days ago)

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