Re: family substitution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nicolai Stange wrote:
> Hi all,
> 
> I recently compiled fontconfig 2.8.0 for Solaris10 (to give our users
> access to the newest gtk and packages that depend on it, e.g. firefox).
> Everything seems to work except my configuration:
> 
> $ fc-match serif
> Serif12.pcf.Z: "Serif" "Serif"
> 
> Which looks very ugly.

Yes it does.   We fixed this a while ago in the development branch
(aka OpenSolaris/Solaris Express) by changing the name embedded in
those font files:
-FONT -Sun-Serif-Medium-R-Normal-Serif-10-100-72-72-M-70-ISO8859-1
+FONT -Sun-SunSerif-Medium-R-Normal-Serif-10-100-72-72-M-70-ISO8859-1

It looks like this is in the process of being backported to a
Solaris 10 patch under the bug id:
6330987 Mozilla can not display italic characters

but it doesn't appear to be available yet.

> $ fc-match sans-serif
> Vera.ttf: "Bitstream Vera Sans" "Roman"
> 
> This looks very good. So, clever as I am, I tried this in
> etc/fonts/conf.d/00-serif2bitstream.conf:
> <match target="pattern" name="family">
>         <test qual="any" name="family">
>                 <string>serif</string>
>         </test>
>         <edit name="familiy" mode="assign" binding="strong">

Try fixing the typo in "family".   (It's always much easier to
see everyone else's typos than your own.)

-- 
	-Alan Coopersmith-        alan.coopersmith@xxxxxxxxxx
	 Oracle Solaris Platform Engineering: X Window System

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux