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.
This mailing list archive is Copyright 1997-2026 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.