linux vs freebsd fc-cache binaries
Alexander Leidinger
Alexander at Leidinger.net
Thu Dec 30 16:21:13 PST 2004
On Thu, 30 Dec 2004 18:59:52 -0500
Joe Marcus Clarke <marcus at FreeBSD.org> wrote:
> On Fri, 2004-12-31 at 00:40 +0100, Alexander Leidinger wrote:
> > On Thu, 30 Dec 2004 18:01:17 -0500
> > Joe Marcus Clarke <marcus at FreeBSD.org> wrote:
> >
> > > 2.1.9 would work, but we have not updated due to the API changes.
> > > Therefore, I haven't tested 2.1.9 to know if its rendering style will be
> > > uglier than 2.1.7. If someone can produce a 2.1.9 RPM, and it renders
> > > decent fonts, then by all means, go for it.
> >
> > Will the data produced by fc-cache be compatible? The linux bits will
> > use the FreeBSD fonts, so any files generated in a place which FreeBSD
> > sees too has to be compatible.
>
> The data produced by the two should be compatible, but the versions of
> fontconfig are so different, I can't say for sure. The files, however,
> are text, so you should be able to visually compare
Thanks for the info.
> > Another question: does fc-cache produce anything else except the
> > fonts.cache files in the fonts directories? If the answer is "no" we
> > don't have to run fc-cache in the linux case and installing a font
> > doesn't needs a run of the linux version.
>
> Everytime a font is added, fc-cache should be run to update the font
> cache. However, it isn't necessary to do so, since fontconfig will
> processes each directory on the fly. That said, fonts.cache-1 is the
> only file created by fc-cache.
So if we can't find a difference in the generated files, we're safe to
not run the linux version of fc-cache, since the FreeBSD version of
fc-cache is supposed to be run automatically for every suitable fonts
port. That's nice!
BTW: If I didn't stumbled upon some ports which fontconfig can't cope
with: not every port does this ATM (see "grep -R fc-cache
/usr/ports/x11-fonts").
Bye,
Alexander.
--
If Bill Gates had a dime for every time a Windows box crashed...
...Oh, wait a minute, he already does.
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
More information about the freebsd-x11
mailing list