[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

acceptfont element

Writing an utility application to help in managing user fonts, I had some difficulties when trying to use some of fontconfig features.It’s about the version 2.4.2 that comes with OpenSuse 10.3.
Here is an excerpt of my ~/.fonts.conf============================================<dir>/home/pierre/fontes/DONTUSE_/emigre</dir><selectfont>    <rejectfont>        <glob>/home/pierre/fontes/DONTUSE_/emigre/*</glob>    </rejectfont>    <acceptfont>        <pattern>            <patelt name="file" >                  <string>/home/pierre/fontes/DONTUSE_/emigre/ARBITRAB.PFB</string>            </patelt>        </pattern>    </acceptfont></selectfont>=============================================
What I expected from this was to "activate" only ARBITRAB.PFB among all what’s contained in /home/pierre/fontes/DONTUSE_/emigre/ directory."dir" directive works."rejectfont" works."acceptfont" does not, and after trying & trying, I come to you asking for the correct way to achieve this. When I say "it doesn’t work", I mean the font is not listed in fc-list output after an fc-cache invocation.
Thanks in advance
-- Pierre Marchandhttp://www.fontmatrix.net
_______________________________________________Fontconfig mailing listFontconfig@xxxxxxxxxxxxxxxxxxxxxxxxx://lists.freedesktop.org/mailman/listinfo/fontconfig

[Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Legacy]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux