An application using peered AWT components can only use logical font names. What are the advantages and disadvantages of these four approaches?
• Using logical font names: • Advantages: These font names are guaranteed to work anywhere, and they enable text rendering in at least the language that the host operating system is localized for (often a much larger range of languages). • Disadvantages: The physical fonts used for rendering the text vary between different implementations, host operating systems, and locales, so an application can not achieve the same look everywhere. Also, the mapping mechanisms occasionally limit the range of characters that can be rendered. The latter used to be a big problem on JRE versions before 5.0: for example, Japanese text could only be rendered on Japanese localized host operating systems, not on other localized systems even if Japanese fonts have been installed. For applications using 2D font rendering, this problem is much rarer with JRE version 5.0, because the mapping mechanism now generally recognizes and uses fonts for all supported writing systems if they are installed. • Using physic
Related Questions
- What are the advantages and disadvantages of the two primary approaches to delivering air through underfloor plenums: (1) pressurized plenum, and (2) zero-pressure plenum?
- An application using peered AWT components can only use logical font names. What are the advantages and disadvantages of these four approaches?
- What are the advantages and disadvantages of AC and DC generators?