[Fontconfig] Re: fc-cache sometimes looses fonts

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

 



I just saw a probably similar symptom.

It took a bit of thinking to figure out what I was seeing, but
inspiration eventually struck.  It looks like, given an absolute
path named $foo, then:

      :; cd $foo && fc-cache -f .

results in different cache files than:

      :; fc-cache -f $foo

In the former case the paths in the cache files are relative to $foo,
in the latter they are absolute.  

Ie, I got paths like:

  "./GhostPCL/URW_Fonts/A028-Med.ttf"

where I should have gotten:

  "/usr/local/share/fonts/GhostPCL/URW_Fonts/A028-Med.ttf"

when I ran 'fc-cache -fv .' in /usr/local/share/fonts.  Re-running
with 'fc-cache -fv /usr/local/share/fonts' got the correct results.

-JimC
-- 
James H. Cloos, Jr. <cloos@xxxxxxxxxxx>


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

  Powered by Linux