Cutting misc fonts

Daniel Stone daniel at fooishbar.org
Thu Nov 1 04:52:35 PDT 2007


On Thu, Nov 01, 2007 at 01:54:42PM +0200, bora.sahin at ttnet.net.tr wrote:
> > On Wed, Oct 31, 2007 at 08:09:20PM +0200, bora.sahin at ttnet.net.tr wrote:
> > > We have an embedded system based on MIPS. After I cross compiled Xorg,
> > > cut some big parts of it by using "trial-and-test" method but I stuck
> > > with lib/X11/fonts/misc folder, which contains necessary fonts. How can I
> > > cut it to a bare minumum?
> >
> > Build the server with --enable-builtin-fonts.
> 
> Hmm. My Xorg version is 6.8.2. I know this is very old but its features are 
> enough for us. I cross compiled it long time ago, and now we have some 
> storage limitations. I grepped the source for "font" and come up with 
> "BuildBuiltinFonts" in the config/cf/X11.tmpl file. Can I use it as a match 
> for --enable-builtin-fonts?

Honestly, I don't know.  It's extremely old now.

> Secondly, is this flag prevents the other fonts installed(only necessary ones) 
> or fonts are installed but you can remove them?

It uses the libXfont builtin source as its primary source, but you can
still use others if you want.  So, you can have --enable-builtin-fonts
with no font directory at all, or --enable-builtin-fonts, and a load of
other fonts shipped with it.  Of course, you want to use client-side
fonts whereever possible, instead of server-side ...

Unfortunately I can't really support 6.8.2, so I don't know which option
you need there.  The codebase also lacks a lot of the fixes to builtin
fonts we made later on.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20071101/ec3d122e/attachment.pgp>


More information about the xorg mailing list