I'd suggest you try to attach to the X server process with `strace` (`strace` on Linux, `trace` or `truss` on Sun) just before you run the program that uses the specified font. Then you need to monitor the `access` and `open` system calls that are being used when you select the font.
Note that the X server keeps a cache of used fonts so, if that specific font is already in it, it won't access any file. Also note that a scalable font has one phyiscal file and the X server knows how to scale it to the desired size. -- Ilan Aisic Pointer Software Systems, Ltd. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of David Harel > Sent: Friday, April 09, 2004 11:00 PM > To: [EMAIL PROTECTED] > Cc: Linux-IL mailing list > Subject: Re: XFree86 fonts with xfs > > > This still does not say how to identify the actual file that is used > when you select a font. All it says is where to look for. So > many font > names reside in so many different files and I want to identify the > actual file when I select a font in a font dialog box like "Sans" > "Regular" "12". > > Diego Iastrubni wrote: > > >On Thursday 08 April 2004 16:38, David Harel wrote: > > > > > >>Hi all, > >> > >>How can I find which is the phisical file used when > selecting fonts by > >>name and size, like in KDE? > >> > >> > > > >if you query the fonts from xfs you cannot. > >otherwise, you should use fontconfig. (google) > > > > > > -- > Thanks. > > David Harel, > > ================================== > > Home office +972 4 6921986 > Fax: +972 4 6921986 > Cellular: +972 54 534502 > Snail Mail: Amuka > D.N Merom Hagalil > 13802 > Israel > Email: [EMAIL PROTECTED] > > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] > with the word "unsubscribe" in the message body, e.g., run > the command echo unsubscribe | mail [EMAIL PROTECTED] > > ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
