Re: Another try at blocking fallback

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

 



There are an example of the rejectfont element in
conf.d/70-no-bitmaps.conf and some clue in fonts.dtd too. also
documented in fonts-conf.5 manpage how it works.

Though I'm not sure how it helps to stop falling back fonts since it
doesn't makes that conditional. do you want to do that with/without
Pango right? as Khaled Hosny suggested, it can be done in Pango
though, there are no way to do that in fontconfig so far and a RFE is
in Bugzilla long while.


On Fri, Dec 14, 2012 at 12:10 PM, Wendell P <wendellp@xxxxxxxxxxxxx> wrote:
> Still trying to block glyph fallback.
>
> Is it possible to block fallback to specific fonts? Maybe I could just
> block all fonts.
>
> For example, to configure so that when the font is Terminus, all glyph
> fallback is blocked, have something like:
>
>   <match target="font">
>     <test name="family"><string>Terminus</string></test>
>     <Block_fallback_to_any_other_font>
>   </match>
>
> From the docs, it seems that <rejectfont> might do this, but I couldn't
> find an example of using it this way. This didn't work:
>
>   <match target="font">
>     <test name="family"><string>Terminus</string></test>
>     <rejectfont>
>       <pattern>
>         <patelt name="family"><string></string></patelt>
>       </pattern>
>     </rejectfont>
>   </match>
>
> --
> http://www.fastmail.fm - A fast, anti-spam email service.
>
> _______________________________________________
> Fontconfig mailing list
> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/fontconfig



-- 
Akira TAGOH
_______________________________________________
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