Date: Fri, 31 Dec 2004 01:21:11 +0100 From: Alexander Leidinger <Alexander@Leidinger.net> To: Joe Marcus Clarke <marcus@FreeBSD.org> Cc: Kris Kennaway <kris@obsecurity.org> Subject: Re: linux vs freebsd fc-cache binaries Message-ID: <20041231012111.3ff5704f@Magellan.Leidinger.net> In-Reply-To: <1104451192.23882.2.camel@shumai.marcuscom.com> References: <20041230195320.GA91304@xor.obsecurity.org> <41D46431.4000808@FreeBSD.org> <20041230203049.GA11245@xor.obsecurity.org> <41D46A22.5030906@FreeBSD.org> <20041230211112.GA20159@xor.obsecurity.org> <41D46FC0.5080603@FreeBSD.org> <20041230215331.GA29414@xor.obsecurity.org> <1104447677.8767.3.camel@shumai.marcuscom.com> <20041231004046.715eaea2@Magellan.Leidinger.net> <1104451192.23882.2.camel@shumai.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30 Dec 2004 18:59:52 -0500 Joe Marcus Clarke <marcus@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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041231012111.3ff5704f>