[comp.windows.x] Format of X font files

adamb@helios.enst.fr (Adam Beguelin) (11/27/90)

Is it possible to read the low level bits in the X font files?  Things
like font edit must do this but I haven't been able to find information
on this in the X books we have around here.  

Email responses would be appreciated.

	Adam


Email:  adamb@inf.enst.fr or adamb@boulder.colorado.edu
Office: (1) 4581 7881  (From the USA prefix 011-33)
Home:   (1) 4581 7138 
Post:   Adam Beguelin // 212, rue de Tolbiac Ch. 420 // 75013 Paris France

mouse@LARRY.MCRCIM.MCGILL.EDU (11/29/90)

> Is it possible to read the low level bits in the X font files?

Of course.  The BDF format (the format fonts are distributed in) is
documented.  The MIT server uses something called snf format, which is
documented somewhere (I'm not sure where, save that prseumably it's on
the MIT tape somewhere); I would hope that vendors that don't use snf
format would document their format.  (If they don't, you can always use
getbdf to get a BDF-format file....)

However, note that you may not be able to access the file corresponding
to an X font.  (Indeed, there may not even be such a file; I think at
least one X server has the `fixed' font compiled into the server as a
font of last resort....)

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu