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

Re: Mozilla and TrueType



On Wed, Mar 05, 2003 at 11:16:31PM +0100, Ismael Valladolid Torres wrote:
> Hi,
> 
> To enable TrueType support for Mozilla at work I configure my
> /etc/mozilla/prefs.js as follows:
> 
> // TrueType
> pref("font.FreeType2.enable", true);
> pref("font.freetype2.shared-library", "libfreetype.so.6");
> pref("font.FreeType2.autohinted", true);
> pref("font.FreeType2.unhinted", false);
> pref("font.antialias.min",        10);
> pref("font.directory.truetype.1", "/usr/share/fonts/truetype");
> 
> I have copied some .ttf files inside this directory. But Mozilla only
> allows me to select these fonts if the directory, owned by root, is
> world writable, as I have detected that a .mozilla_font_summary.ndb
> file needs first to be created and later to be open for writing.

Perhaps you need to run mkttfdir in this directory?  I could imagine
that Mozilla would create it's own similar-looking one
(.mozilla_font_summary.ndb) if the fonts.{alias,scale,etc} files are not
there already.

-- 
Rob Weir <rweir@ertius.org>				http://ertius.org/

Attachment: pgpkRbXi6Opdi.pgp
Description: PGP signature


Reply to: