physical fonts : Java Glossary

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:

CMP homejump to top

available 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 email your , 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 : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, especially when sending an ad-hominem attack, a rant composed mainly of obscenities or a death threat, please quote the offending passage and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. I can’t very well fix erroneous or ambiguous text if I can’t find it.
Blog
IP:[65.110.21.43]
Your face IP:[50.16.132.180]
You are visitor number 11.