This content has been marked as final. Show 4 replies
to get list of supported fonts.
Or you can use logical fonts
Logical fonts are the five font families defined by the Java platform which must be supported by any Java runtime environment: Serif, SansSerif, Monospaced, Dialog, and DialogInput. These logical fonts are not actual font libraries. Instead, the logical font names are mapped to physical fonts by the Java runtime environment. The mapping is implementation and usually locale dependent, so the look and the metrics provided by them vary. Typically, each logical font name maps to several physical fonts in order to cover a large range of characters.
Is there a way to get that map? So that I can find out what font is used when I request "Times New Roman" and it does not have that font on the system?
The more basic question is - is there a way to get LineBreakMeasurer to work correctly on a system that does not have "Times New Roman" installed? I'm thinking no because if the correct textmetric data isn't there, there's no way to get the breaks perfect. But I figure better to ask.
??? - thanks - dave