[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] How to get list of fonts?
From: |
Ramiro Estrugo |
Subject: |
Re: [Freetype] How to get list of fonts? |
Date: |
Tue, 03 Jul 2001 09:40:13 -0700 |
I wrote code to reap the fonts from the X font server config. Thats how
we polulate the Nautilus font picker, for example:
http://cvs.gnome.org/lxr/source/eel/eel/eel-font-manager.h#42
This solution completely bypasses the X server. So far it works pretty
well on "standard" Linux systems.
-re
Lars Clausen wrote:
>
> This sounds to me like a silly question, but I have found nothing in the
> FAQ, archives or manpages.
>
> I'm trying to use FreeType to do fonts for Dia
> <URL:http://www.lysator.liu.se/~alla/dia/dia.html>. However, FreeType
> expects a filename, and all I get from X is a font name. I've found no way
> of going that extra step to get a (somewhat system-independent) list of
> font files. The demos just have hardcoded filenames. What is the standard
> way to do this? I really want to avoid yet another font dir configuration
> list.
>
> -Lars
>