[Fontconfig] FcPattern object size does not accept value 7(i)

Arkadiusz Miśkiewicz arekm at maven.pl
Wed May 27 14:04:07 PDT 2015


On Wednesday 27 of May 2015, Behdad Esfahbod wrote:
> I've addressed that in my branch here:
> 
>   https://bugs.freedesktop.org/show_bug.cgi?id=80873

Ok, with it no warning anymore

Fontconfig (Liberation Sans 7):
requested size       7 points
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading 
configurations from ~/.fonts.conf is deprecated. please move it to 
/home/users/arekm/.config/fontconfig/fonts.conf manually
family               Liberation Sans
pixelsize            7,29 pixels
size                 7 points
antialias            1
hinting              1
autohint             0
embeddedbitmap       1
hintstyle            2 (medium)
rgba                 1 (rgb)


Which patch in that branch addressed this?

> 
> On 15-05-27 12:24 PM, Arkadiusz Miśkiewicz wrote:
> > Hi.
> > 
> > I'm getting such warning:
> > 
> > Fontconfig warning: FcPattern object size does not accept value 7(i)
> > 
> > for Liberation Sans font (from 
> > https://fedorahosted.org/liberation-fonts/ 1.07.4) when using
> > https://github.com/derat/font-config-info/blob/master/font-
> > config-info.c (queries system for into about fonts) and also when using
> > google chrome.
> > 
> > What does that mean? Doesn't like size 7 for this font?
> > 
> > "ftview 7 LiberationSans-Regular.ttf" works fine, no warning.
> > 
> > 
> > longer part of font-config-info output:
> > Fontconfig (Liberation Sans 7):
> > Fontconfig warning: FcPattern object size does not accept value 7(i)
> > requested size       7 points
> > Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading
> > configurations from ~/.fonts.conf is deprecated. please move it to
> > /home/users/arekm/.config/fontconfig/fonts.conf manually
> > family               Liberation Sans
> > pixelsize            12,50 pixels
> > size                 [type mismatch]
> > antialias            1
> > hinting              1
> > autohint             0
> > embeddedbitmap       1
> > hintstyle            2 (medium)
> > rgba                 1 (rgb)
> > 
> > fontconfig 2.11.93 at this moment
> > 
> > Thanks,


-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


More information about the Fontconfig mailing list