[comp.windows.x] Need X11 Font File Format

joe@gistdev.UUCP (Joe Brownlee) (07/26/89)

I need a copy of the X11 font file format.  The books and header files I
have available to me give me a lot of useful information, but I need to be
able to create X fonts and also read X fonts from non-X environments, which
means I need to know the format of the font files themselves.  If some kind
soul could e-mail me the information, that would be best, as I do not have
"ftp" access at this site.

Many thanks in advance!!!

-------------------------------------------------------------------------------
Joe Brownlee       | Captain, please -- not in front of the Klingons.
GIST, Inc.         |                                -- Mr. Spock, Star Trek V
1800 Woodfield Dr. | Pay attention to what I say, and you might start a trend.
Savoy, IL 61874	   | ARPANET: joe%gistdev@uxc.cso.uiuc.edu
(217) 352-1165	   | UUCP   : {uunet,pur-ee,convex}!uiucuxc!gistdev!joe
-------------------------------------------------------------------------------

rws@EXPO.LCS.MIT.EDU (07/26/89)

BDF (source) format is described in a document distributed with MIT X11R3,
in the directory doc/bdf/.

joe@gistdev.UUCP (Joe Brownlee) (07/26/89)

Thanks to all for info regarding font file format!!!

Joe Brownlee       | Captain, please -- not in front of the Klingons.
GIST, Inc.         |                                -- Mr. Spock, Star Trek V
1800 Woodfield Dr. | Pay attention to what I say, and you might start a trend.
Savoy, IL 61874	   | ARPANET: joe%gistdev@uxc.cso.uiuc.edu
(217) 352-1165	   | UUCP   : {uunet,pur-ee,convex}!uiucuxc!gistdev!joe

kali@tut.fi (Salo Juha) (07/26/89)

What about the binary (server) format?

kali@altair.utu.fi

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (07/27/89)

	What about the binary (server) format?

There is no single binary format.  The format used by the MIT sample servers
depends on the padding that the corresponding server requires.  Various
vendors have their own formats.

In general, you shouldn't care.  If you are creating a font for an application,
you should use the BDF format; if you are a server developer then you can use
the MIT code (look in fonts/bdftosnf/*.c and fonts/mkfontdir/*.c as well as
server/ddx/snf/*.c) for one way to do it.

rws@EXPO.LCS.MIT.EDU (07/27/89)

    What about the binary (server) format?

Different servers will use different binary formats.  The format for the
MIT sample server isn't really documented anywhere.  Use The Source, Luke.