From owner-freebsd-questions Thu Jul 8 17:35:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand.global.net.uk (unknown [195.147.248.109]) by hub.freebsd.org (Postfix) with ESMTP id 28DA014FA2 for ; Thu, 8 Jul 1999 17:35:41 -0700 (PDT) (envelope-from marko@globalnet.co.uk) Received: from p77s10a06.client.global.net.uk ([195.147.218.120] helo=marder-1.) by sand.global.net.uk with esmtp (Exim 2.05 #1) id 112OdO-0002Jy-00; Fri, 9 Jul 1999 01:35:22 +0100 Received: (from marko@localhost) by marder-1. (8.9.2/8.8.8) id BAA00350; Fri, 9 Jul 1999 01:30:48 +0100 (BST) (envelope-from marko) Date: Fri, 9 Jul 1999 01:30:48 +0100 From: Mark Ovens To: Ben Smithurst Cc: Evren Yurtesen , freebsd-questions@freebsd.org Subject: Re: how to create a font ? Message-ID: <19990709013048.B254@marder-1> References: <3783A62B.6976A379@ispro.net.tr> <19990707233530.A42991@rainbow5.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19990707233530.A42991@rainbow5.scientia.demon.co.uk>; from Ben Smithurst on Wed, Jul 07, 1999 at 11:35:30PM +0100 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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