Hi,
I'm currently working on a WYSiWYG preview screen for an editor. It's integrated with a particular printer that only supports two different monospaced fonts: Courier and SansSerif. Each font has three sizes and a print mode type called "condensed print". I'm trying to match the font sizes of my printer's font so that the number of characters displayed on a line per font size on the screen is the same as the printer's. I tried everything. From the simple and obvious setFont(...), ... SimpleAttributeSets, ... to the scary java 2D API. When you reach the point where 15pt. is too small and 16pt. is to big what is left? even scaling with a particular AffineTransform of high-precision doubles you get the same freakin' interpolation behaviour 15pt or 16pt.
I just need an advice, a tip, a light at the end of the tunnel that could answer:
Am I wasting my time?
Is this hopeless?
Should I start to build the java font api from scratch?
Well, seriously, does anyone have a clue on how to free-scale fonts?
Thanks for your time.
Luis Alfredo.