Re: How could I use this font for xterm?
Brought to you by:
set
From: Salvador E. T. <sal...@in...> - 2002-12-11 12:17:57
|
Grzegorz Adam Hankiewicz wrote: >I find the type "Rom BIOS 8x15" very pleasing for my eye (AFAICS >the default is Rom BIOS 8x16). Is there any way I could use such >font from a normal xterm or linux console? > This font is really 8x16 passed for a simple algorithm to reduce the=20 height by 1. The code is in the fontcoll.cc (TV) file, is=20 TVFontCollection::ReduceOne. That=B4s really simple, it just avoids=20 damaging things like g. About Xterm: You have to convert the SFT file into a PCF file, I have=20 code to do the reverse ;-). I don=B4t know if the knowledge I put in that= =20 code can be used to do this conversion. I didn=B4t consult the PCF=20 reference, just figured out things looking at the binaries. The code I=20 have is in the SETEdit package in the fonts directory: convpcf1.cc Linux console: You have to setup a video mode using 8x15 characters, the = editor can=B4t force it. Lamentably you=B4ll need a PSF or RAW font for=20 that. The TV example: examples/fonts/genraw.cc shows how to generate a=20 RAW file from an SFT file. I have a project called "Bifed" that=B4s a font editor for TV, it works o= n=20 any target supported by TV and if the font you are editing matchs with=20 the screen font size you can see the shapes of the edited font. This=20 program will have some conversion features, PSF is currently supported. SET --=20 Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: se...@co... se...@ie...=20 Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |