The Cyber-Spy.Com Usenet Archive Feeds Directly
From The Open And Publicly Available Newsgroup
This Group And Thousands Of Others Are Available
On Most IS NNTP News Servers On Port 119.
Cyber-Spy.Com Is NOT Responsible For Any Topic,
Opinions Or Content Posted To This Or Any Other
Newsgroup. This Web Archive Of The Newsgroup And
Posts Are For Informational Purposes Only.
From: Luiz@nlink.com.br (Luiz de Barros)
Subject: Re: Windows/Unix Font converter for Graphics LCD and Thermal printer.
Date: 27 Nov 2002 17:56:26 -0800
NNTP-Posting-Date: 28 Nov 2002 01:56:26 GMT
The plataform is a Rabbit Semiconductor RCM3000 (Rabbit 3000
microprocessor + 512KSRAM + 512K Flash). The desired resolution is LOw
(maximmum 24x32 or 32x48) for LARGE characters.
The characters will be used to draw letters and numbers in graph LCD
(128x64) or Thermal printer.
The fonts can be fixed size ( i need only a few fonts - 4 or 5).
Luiz de Barros
Geoff Steckel wrote in message news:...
> In article ,
> Luiz de Barros wrote:
> > Dear ALL,
> > I am looking for a FONT DOWNLOADER that can convert WINDOWS .FNT and
> > TTF, Adobe Type 1 Fonts, Unix X11 Fonts to C code that can be used to
> > generate C/ASM code for use with Graphics LCD displays and Thermal
> > Printers.
> > This will be used in an automation product.
> > I want to load windows or unix fonts to LCD display and printer.
> I'm not entirely sure what your requirements and platform(s) are.
> It depends -very- much on the desired resolution, available
> CPU and memory resources, etc.
> I -strongly- recommend -against- "converting fonts to C code".
> A data driven approach where the C code interprets tables
> of font data is -much- more likely to result in a compact
> and debuggable system.
> Accurate scaling with pleasing outlines is a hard problem.
> Case 1: you want high resolution and good rendering at
> many sizes:
> The most resource-hungry but quickest to implement might be
> to license Ghostscript or one of the Web browsers that uses
> a free TrueType rendering engine and a free Type 1 rendering engine.
> This will take about 5 megabytes and a 32-bit processor.
> There are freely available font rendering engines, but
> they are optimized for good rendering not small size.
> You would have to write code to drive them.
> Case 2: you only need low to medium resolution at a few sizes:
> Write a small shell script to run this:
> Write a little postscript code to load desired
> font files into Ghostscript to render needed characters
> at needed sizes to a bitmap file.
> Convert the bitmaps to C data files using Perl.
> Feed the converted data files to your machine.
> Write a tiny rendering engine for your micro which displays
> these characters as needed.
> You can compress the glyph data a lot if you look at
> what other people have done.
Go Back To The Cyber-Spy.Com
Usenet Web Archive Index Of
The sci.electronics.design Newsgroup