Starting with JDK (Java Development Kit) 1.3, in addition to the five logical fonts, Java now bundles three additional fonts: Lucida Bright, Lucida Sans and Lucida Sans Typewriter with every JDK and JRE (Java Runtime Environment). They have the advantage over logical fonts in Java in that they are identical on all platforms.
If the font is installed, the sample text will show up in that font. If the font is not installed it will show up in a spindly vector font.
| Lucida Bright |
| Lucida Sans |
| Lucida Typewriter |
They live in the
You can put your own physical fonts in these locations. The will be visible to Java but not to non-Java apps.
They come in 8 variants of plain, bold and oblique/italic bundled as TrueType *.ttf fonts:
| Java’s Eight Built-in Physical JRE Fonts | |
|---|---|
| File | Font Name |
| LucidaBrightRegular.ttf | Lucida Bright (Regular) |
| LucidaBrightDemiBold.ttf | Lucida Bright (Demibold) |
| LucidaBrightItalic.ttf | Lucida Bright (Italic) |
| LucidaBrightDemiItalic.ttf | Lucida Bright (Demibold Italic) |
| LucidaSansRegular.ttf | Lucida Sans (Regular) |
| LucidaSansDemiBold.ttf | Lucida Sans (Demibold) |
| LucidaTypewriterRegular.ttf | Lucida Sans Typewriter (Regular) |
| LucidaTypewriterBold.ttf | Lucida Sans Typewriter (Bold) |
You get at them just like any other locally installed fonts e.g.
You don’t have to manually install the physical fonts into the OS (Operating System), unless you want them available to browsers and other non-Java applications too.
|
|
available on the web at: |
http://mindprod.com/jgloss/physicalfonts.html |
optional Replicator mirror
|
J:\mindprod\jgloss\physicalfonts.html | |
![]() |
Please email your
feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear
wording, broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Blog | Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[50.16.132.180] |
|
| Feedback | You are visitor number 11. | |