https://bugzilla.novell.com/show_bug.cgi?id=379991
User mfabian@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=379991#c6
Mike Fabian changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|eward@novell.com |mfabian@novell.com
Status|NEW |ASSIGNED
--- Comment #6 from Mike Fabian 2008-04-16 07:00:56 MST ---
As one can see in the output of the fontconfig test program,
we get the style names translated in Catalan, *although* the
test program explicitly requested them in English:
pattern = FcPatternBuild (NULL,
FC_FAMILY,
FcTypeString,
(unsigned char *) argv[1],
/* FC_STYLE, */
/* FcTypeString, */
/* "Italic", */
FC_SLANT,
FcTypeInteger,
100,
FC_STYLELANG,
FcTypeString,
"en", ← style requested in English
NULL);
Requesting the style "Italic" (commented out above) or
the slant value of 100 works, it really limits the the
fontset created from this pattern with
fontset = FcFontList (NULL, pattern, objectset);
to only the slanted versions.
But requesting a language for the style does *not* work. Requesting an
non-existing language for the style, e.g. "xx" or "de" (The styles of
Arial have no German translation) results in an empty result. But
requesting "en" or any other language where translations of the style
exist doesn’t limit the result to the requested language.
I guess it should, therefore this looks like a fontconfig bug to me.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.