freetype
[Top][All Lists]
Advanced

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

Re: [Freetype] where are the fonts ???


From: Vadim Plessky
Subject: Re: [Freetype] where are the fonts ???
Date: Mon, 2 Sep 2002 18:59:15 +0400
User-agent: KMail/1.4.6

On Monday 02 September 2002 6:57 pm, Riccardo Cohen wrote:
|  Yes, but in a program that will be distributed, I cannot afford making a
| find or locate at startup ! I was expected a C function or environment
| variable telling where they are !

Than canyou explain what exactly this program does?

|
|  The rpm function would not work on linux debian.
|
|  Shall I scan /etc/X11/XftConfig ?

Probably, yes.

|
|  on the other hand, I have a standard redhat 6.2 machine with :
|       FontPath    "/usr/X11R6/lib/X11/fonts/TrueType"
|  in the file /etc/X11/XF86Config, but there is no directory like this on
| the machine !

check 'xftcache' code than.
It exactly scans all directories, and says "Can't find xxxx" if it can't find 
some folder with fonts.
 
|
|  All that is strange...

Not really.
It seems function you want to find is located in glibc, or other system 
libraries, not in freetype.
May be, you should ask <Xpert> (XFree86) list?

|
|  Vadim Plessky wrote:
|  > On Monday 02 September 2002 12:28 pm, Riccardo Cohen wrote:
|  > |  Hi,
|  > |  If I build an application with freetype, I suppose that I must know
|  > | where are the fonts in the hard disk. On windows I can try in
|  > | "GetWindowsDirectory()/Fonts", but on Linux ??? and MacOsX ???
|  > |
|  > |  Thanks for any information...

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]