Discussion:
Fontconfig problem with italic font!?
Mats Lidell
2015-05-08 07:29:34 UTC
Permalink
Hi,

Seemingly out of the blue I'm getting this type of fontconfig errors with 21.5:

Fontconfig warning: FcPattern object size does not accept value 100(i)
Fontconfig warning: FcPattern object size does not accept value True

Since I'm constantly upgrading the Linux box, Gentoo, and do lot of other tweaking I have no idea what could cause this. New fontconfig behavior, missing font, problem in XEmacs!? What can it be? Help is needed!

Yours
--
%% Mats
Stephen J. Turnbull
2015-05-09 02:42:22 UTC
Permalink
Post by Mats Lidell
Fontconfig warning: FcPattern object size does not accept value 100(i)
Fontconfig warning: FcPattern object size does not accept value True
I guess that you (or XEmacs) has font specs that look like
"TimesRoman-Italic" where the key point is that the first hyphen in
the spec is not followed by a number and (optionally) a series of
colon-prefixed options. That is, a fontconfig spec has the syntax

FONTNAME-SIZE:OPTION:OPTION:OPTION...

where in FONTNAME pretty much any character is permitted, except that
"-" and "\" must be escaped by "\". If SIZE is omitted, the prefixing
hyphen must be omitted, too.

My best guess is that you're passing XLFD-style specs to fontconfig.
Those are the ones with up to 14 hyphens in them.
Mats Lidell
2015-05-09 12:57:25 UTC
Permalink
Post by Stephen J. Turnbull
My best guess is that you're passing XLFD-style specs to fontconfig.
Those are the ones with up to 14 hyphens in them.
Hmm... Well I will have a look at it. Maybe those font specs some how
have crept in again. Thanks for giving me something to go on.

Yours
--
%% Mats
Loading...