How about just using a fixed size font like Courier? On Thu, Feb 27, 2014 at 12:01 AM, Dave Crozier <[email protected]> wrote: > We have a works "spec sheet" that defines each parameter of a customer job > and prints out on a SINGLE sheet of A4 all the parameters that a machine > operator requires. Some of this data is not fixed length i.e 2 fields that are > purely descriptive so in the space we have available for each field we > need to display the data in the largest font available for the space > available. > However, I have had mixed success using the sysmetric and fontmetric calls > in order to determine how large the font should be.
-- .~. Might, Courage, Vision. SINCERITY! / v \ 64-bit Ubuntu 9.10 (Linux kernel 2.6.39.3) /( _ )\ http://sites.google.com/site/changmw ^ ^ May the Force and farces be with you! _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CAGv=mjbd98suzx5cmyqjumv72axcccnci+y-hjzw3kqzrex...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

