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



I just spent a good bit of the afternoon printing out and measuring the widths of all the "base glyphs" of font 2304 at 100 point, entering the data into a spreadsheet, converting the widths to ems (for size-independence), and mapping the US codepage of EBCDIC into those base glyphs.

My function, as I envision it, would go through a string, character by character, find the base glyph of each letter, find the set-width in ems for each character, and add them up to give the set width of the string, again in ems. The calling program would then be able to calculate a horizontal scaling for the string, to fit it into a given space for which it is too big, or a horizontal position offset, to center it.

And since 2305 is simply the bold for 2304, it should be "close enough for jazz" to calculate its set width as well.

--
JHHL

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.