× 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.



Hi James, we did it for at lest 20 fonts but it's a part of a commercial
package.

As Nathan said we generated 2 files with:

1 - Font Name, Font Size, Character, Pixel Width
2 - Font Name, Font Size, Line height

So we are now able to print left/rigth/center aligned, rotated text,
paragraphs and so on.

The only way I know is through a printer output.

HTH

--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco

2015-03-18 23:42 GMT+01:00 James H. H. Lampert <jamesl@xxxxxxxxxxxxxxxxx>:

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
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.