On Tue, Mar 19, 2002 at 12:14:42AM -0700, James Rich [EMAIL PROTECTED] XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX wrote: > On Tue, 19 Mar 2002, Scott Klement wrote: [snip] > > When I type '?OVRPRTF' on my iseries, it tells me that the possible values > > for CPI are 5, 10, 12, 13.3, 15, 16.7, 18 and 20. > > Okay maybe I should make a map for these sizes. > > There may be another solution to this problem. I think I remember reading > in the PDF specs about defining your own fonts. Maybe we could define a > font that is measured in characters per inch instead of points. Then a > lot of this would be more straightforward. Of course the size of the page > is still always measured in points. We could also just say to use a point > size of (72 points per inch)/(characters per inch). I've tried that and > everything comes out way too small. [snip]
Isn't this because points are measuring the height of the characters, and CPI is measuring the width of characters? I think you need to put the font's aspect ratio (with perhaps some intercharacter spacing) in that calculation. -- Nathaniel -- Sentience can be such a burden. This email may be read aloud. _______________________________________________ This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: [EMAIL PROTECTED] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/linux5250 or email: [EMAIL PROTECTED] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.
