From owner-freebsd-questions Thu Nov 11 14:57:53 1999 Delivered-To: freebsd-questions@freebsd.org Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 19EEC14F54 for ; Thu, 11 Nov 1999 14:57:48 -0800 (PST) (envelope-from keramida@diogenis.ceid.upatras.gr) Received: from hades.hell.gr (patr530-a077.otenet.gr [195.167.115.77]) by athserv.otenet.gr (8.9.3/8.9.3) with SMTP id AAA28522 for ; Fri, 12 Nov 1999 00:57:47 +0200 (EET) Received: (qmail 436 invoked by uid 1001); 11 Nov 1999 22:53:08 -0000 To: freebsd-questions@freebsd.org Subject: Re: FreeType and TrueType Fonts References: From: Giorgos Keramidas Date: 12 Nov 1999 00:53:08 +0200 In-Reply-To: Gene Harris's message of "Wed, 10 Nov 1999 09:56:38 -0600 (CST)" Message-ID: <86r9hwk5d7.fsf@localhost.hell.gr> Lines: 41 X-Mailer: Gnus v5.6.45/XEmacs 21.1 - "20 Minutes to Nikko" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Gene Harris writes: > I am examining the use of freetype to provide rendering for > truetype fonts. Does anyone have any experience beyond that > provided in the handbook and other archives? Any advice or > how-tos would be greatly appreciated. > > Why am I doing this? I really like the screen shots from > the freetype web site. The fonts are beautimous! It's probably useless to the rest of the list, but since someone reading the archives later on (does anyone actually _use_ the archives before posting anymore? I'm really curious), here comes one nice freetype application for X11 users. I am using FreeType to render TT fonts in certain `useful' sizes for my web-browsing. This started when I realized that X11 had no Greek fonts and I had to do some hacking of my own to make my X show my native language with that nice TT fonts my friends let me copy from their installations of that `other' OS. So far, I have found really useful the *ttf2bdf* program found in the contrib/ directory of freetype's tarball. Used with the Unicode maps found at ftp.unicode.org I did manage to make 256-character fonts with the proper iso-8859-7 encoding from the Unicode .ttf fonts. Then it's just a matter of a proper pipeline, like: % bdftopcf cour10.bdf | gzip -9c -> cour10.pcf.gz and a nice wrapper script, and it's all going just fine. Now, someone might ask why not use a font-server like xfsft and/or xfstt that provide one with dynamic rendering of needed sizes, and all that. My short answer is: because it's slow on my machine. Ciao. -- Giorgos Keramidas, "What we have to learn to do, we learn by doing." [Aristotle] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message