× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



"Kern" may be the word you are looking for?

On 3/18/2015 6:31 PM, Vernon Hamberg wrote:
James

I'm looking at a print manual, I think -
http://publib.boulder.ibm.com/iseries/v5r2/ic2924/books/c415713531.htm

There is a font width listed for several of the FNTCHRSET names - in
various places - and that width is how many 1/1440ths wide a blank is -
which MIGHT be kind of an average.

I thought there as something in the font resources that defined each
characters width - has to be so that the successive characters are
spaced properly.

HTH
Vern

On 3/18/2015 5:42 PM, James H. H. Lampert wrote:
Fellow Midrange Geeks:

My first (and so far, only) project involving both an
externally-described print file and AFPDS keywords is going rather
well, but it could be a lot better if I could determine the set-width
of a character string, in the font in which it is presented.

There are numerous fields that have too little space on the page to
accommodate the full field length, in which I'm applying variable
horizontal scaling, based on the RPG %LEN(%TRIM()) of the field.
They'd work a lot better if I could calculate the horizontal scaling
from the actual set-width.

One of those fields, in addition, is one where it would be nice if,
for values that take up less than the available space even without
horizontal scaling, I could accurately center the value (which of
course can't be done without knowing the set-width.

Surely I'm not the first one in this position?

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.