physical fonts : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

physical fonts

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

JRE font directory :

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.

Learning More

Oracle’s Technote Guide on physical fonts : available:

This page is posted
on the web at:

http://mindprod.com/jgloss/physicalfonts.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\physicalfonts.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.
no blog for this page
IP:[65.110.21.43]
Your face IP:[54.161.191.254]
You are visitor number