[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Wrapping Proportional Fonts
Julian,
> Does anyone have a solution to wrapping of proportional fonts ( mixed
> case and all uppercase )???
This requires a little work. The basic problem is that SQR doesn't
know the widths of each character of a proportional font. There
are solutions available for SQR, but they require you to obtain
or produce your own font metrics.
Take a look at:
http://www.ontko.com/sqr/hp.html
which is a collection of routines that I wrote for handling
proportional fonts for hp printers, mostly for truncation.
I did not attempt to address the wrap problem, however. For
that, you'll need to look at:
http://www.sqrug.com/~ftp/wrap/
Unfortunately, it doesn't address the problem of how to come
up with the font metric information.
Hope this helps.
Ray
----------------------------------------------------------------------
Ray Ontko | Ray Ontko & Co | "Ask me about SQR for Linux"
rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/