Date: Fri, 9 Jul 1999 01:30:48 +0100 From: Mark Ovens <markov@globalnet.co.uk> To: Ben Smithurst <ben@scientia.demon.co.uk> Cc: Evren Yurtesen <yurtesen@ispro.net.tr>, freebsd-questions@freebsd.org Subject: Re: how to create a font ? Message-ID: <19990709013048.B254@marder-1> In-Reply-To: <19990707233530.A42991@rainbow5.scientia.demon.co.uk>; from Ben Smithurst on Wed, Jul 07, 1999 at 11:35:30PM %2B0100 References: <3783A62B.6976A379@ispro.net.tr> <19990707233530.A42991@rainbow5.scientia.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 07, 1999 at 11:35:30PM +0100, Ben Smithurst wrote:
> Evren Yurtesen wrote:
>
> > I want to have turkish characters on my freebsd box console
> > but the problem is I could not find any character set with iso-8859-9
> > or any font.
> > how can I create them?
>
> Create a font file under /usr/share/syscons/fonts. The format is very
> simple; one bit per screen pixel. So, since all fonts are 8 pixels wide,
> one byte == one line, with varying numbers of lines per character (8, 14
> or 16).
>
> I actually wrote a couple of *very* rough programs for editing syscons
> fonts, though there may be better ones available. fontdump will
> dump a font file to a human readable form, and fontmake reads the
> human readable format after you've edited it, and write it as a font
Are fontdump & fontmake the "*very* rough programs" that you're
talking about? If so, where are they available from?
> file. Both read from the file specified by argv[1], write to standard
> output.
>
> Note that the files under /usr/share/syscons/fonts are uuencoded, you'll
> need to uudecode it before running fontdump on it, and you may as well
> uuencode your new font before putting it in /usr/share/syscons/fonts.
>
> Run something like,
>
> $ cp /usr/share/syscons/fonts/iso-8859-2-8x16.fnt .
> $ uudecode iso-8859-2-8x16.fnt
> $ fontdump iso-8859-2-8x16 > newfont
> $ (edit newfont as needed, it should be obvious what the format is.)
> $ fontmake newfont > iso-8859-9-8x16
>
> Then just copy your iso-8859-9-8x16 file to /usr/share/syscons/fonts and
> tell the system to use it with vidcontrol.
>
> Of course, it may well be that someone has already created the font you
> need. It may also be worth send-pr'ing your font so it can be included
> with FreeBSD for other Turkish users.
>
> --
> Ben Smithurst | PGP: 0x99392F7D
> ben@scientia.demon.co.uk | key available from keyservers and
> | ben+pgp@scientia.demon.co.uk
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
--
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://www.users.globalnet.co.uk/~markov
_______________________________________________________________
Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
CAD/CAM solutions for Sheetmetal Working Industry
mailto:markov@globalnet.co.uk http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990709013048.B254>
