[comp.windows.x] Byte Order in Fonts

km@emory.uucp (Ken Mandelberg) (09/18/88)

Are the X fonts byte order dependent? If so, is there a 
conversion program to convert back and forth from Sun to
Vax byte order?
-- 
Ken Mandelberg      | km@mathcs.emory.edu          PREFERRED
Emory University    | {decvax,gatech}!emory!km     UUCP 
Dept of Math and CS | km@emory                     NON-DOMAIN BITNET  
Atlanta, GA 30322   | Phone: (404) 727-7963

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (09/19/88)

> Are the X fonts byte order dependent? If so, is there a 
> conversion program to convert back and forth from Sun to
> Vax byte order?

If you are building fonts for X11, use the BDF format.  Servers will have
converters for generating the appropriate "compiled" version of the font for
that particular server. 

						Jim Fulton
						MIT X Consortium

jim@athsys.uucp (Jim Becker) (09/20/88)

From article <3209@emory.uucp>, by km@emory.uucp (Ken Mandelberg):
> Are the X fonts byte order dependent? If so, is there a 
> conversion program to convert back and forth from Sun to
> Vax byte order?
> -- 
> Ken Mandelberg

I'm not an Xpert (yet), but this appears to be true. You should 
recompile the fonts for the Sun or the Vax, creating new  ".snf"
fonts from the ".bdf" definitions. The ".bdf" are from the dist-
ribution tape. 

Also, there was a program around that converted the ".onx" from
the X11 distribution to the ".bdf" needed for X11. It should be 
in the archives.


-Jim Becker