Welcome! Anonymous

Having multiple values in <test> isn't supported and may not

A place to ask questions, or discuss anything related to infinality.net stuff.

Having multiple values in <test> isn't supported and may not

Postby greatquux » Mon Sep 03, 2012 8:13 pm

be supported
-
a new warning that was added to fontconfig in May (http://cgit.freedesktop.org/fontconfig/ ... 18d48f4652) and is causing a lot of warnings when starting programs on Ubuntu 12.10 (which incorporates this version of fontconfig): https://bugs.launchpad.net/ubuntu/+sour ... ug/1034928

It's not just infinality that uses these and the Ubuntu developers are considering reverting the warning anyway, I just figured you might want to be aware of this. :)
greatquux
 
Posts: 2
Joined: Wed May 02, 2012 9:26 am

Re: Having multiple values in <test> isn't supported and may

Postby infinality » Tue Sep 04, 2012 6:36 pm

Thanks... Yes I'm aware of the issue and working on adjusting the rules to do things the "right" (and really inconvenient) way. I may be able to get the fontconfig people to adjust the warning a bit.... More later.

:ugeek:
- Linux font rendering has gone from the most reviled to the most renowned.
User avatar
infinality
Site Admin
 
Posts: 735
Joined: Wed Oct 20, 2010 7:57 am
Location: Wisconsin, USA

Re: Having multiple values in <test> isn't supported and may

Postby pablox » Mon Sep 10, 2012 7:59 pm

I got the same issue too, but on Arch Linux that recently updated fontconfig to 2.10. I'm also getting a lot of errors.
There's some way to workaround this meanwhile we got a patch?
pablox
 
Posts: 6
Joined: Fri Dec 10, 2010 9:55 am

Re: Having multiple values in <test> isn't supported and may

Postby bwat47 » Mon Sep 17, 2012 7:13 pm

pablox wrote:I got the same issue too, but on Arch Linux that recently updated fontconfig to 2.10. I'm also getting a lot of errors.
There's some way to workaround this meanwhile we got a patch?

The only workaround would probably be to not use fontconfig-infinality, since those warnings are due to the way infinality's fontconfig is setup.

The warnings are harmless anyway, I wouldn't worry.
bwat47
 
Posts: 26
Joined: Wed Nov 23, 2011 10:15 am

Re: Having multiple values in <test> isn't supported and may

Postby bohoomil » Tue Sep 18, 2012 10:48 am

bwat47 wrote:The only workaround would probably be to not use fontconfig-infinality, since those warnings are due to the way infinality's fontconfig is setup.


Not really: you have to modify Infinality fontconfig rules so that one test set applies to each font separately, more or less like this:

Code: Select all
cat 60-group-tt-fonts.conf

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
. . .
<match target="font">
  <test name="force_autohint">
   <bool>false</bool>
  </test>
  <test name="family">
   <string>Aller Light</string>
  </test>
  <edit name="font_type" mode="assign">
   <string>TT Instructed Font</string>
 </edit>
</match>
. . .
</fontconfig>
:: github :: g+
User avatar
bohoomil
 
Posts: 5
Joined: Wed May 16, 2012 2:50 pm

Re: Having multiple values in <test> isn't supported and may

Postby infinality » Fri Sep 28, 2012 9:00 pm

A tentative fix for this is in the git repo now... may be subject to change though, so wait for the next release if you are a packager. :)

https://github.com/Infinality/fontconfig-infinality
- Linux font rendering has gone from the most reviled to the most renowned.
User avatar
infinality
Site Admin
 
Posts: 735
Joined: Wed Oct 20, 2010 7:57 am
Location: Wisconsin, USA


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests