29 |
|
|
30 |
The solution is to pass nothing about what should be done to the width |
The solution is to pass nothing about what should be done to the width |
31 |
of the string, but simply the unit square of the font. I.e.: the |
of the string, but simply the unit square of the font. I.e.: the |
32 |
font will render itself with height 1; it will have its normal aspect |
font will render itself with baseline at (0,1), and the line height |
33 |
ratio if the unit vectors are equal, i.e. if the distances |
such that the line above would have its baseline at (0,0). |
34 |
(0,1)..(0,0) and (0,1)..(1,1) are the same. |
The font will have its normal aspect ratio if the unit vectors |
35 |
|
are equal, i.e. if the distances (0,1)..(0,0) and (0,1)..(1,1) are the same. |
36 |
|
|
37 |
A table-driven lookup needs to be done to find the correct point size |
A table-driven lookup needs to be done to find the correct point size |
38 |
for a given height in the AWT rendering code. |
for a given height in the AWT rendering code. |