| Font Support Under Java | ||||||
|---|---|---|---|---|---|---|
| Font Type | Extension | Java 1.6 Windows | Java 1.6 Linux | Java 1.6 Fedora | Old Java Windows | Notes |
| OpenType
(TrueType internally) |
otf | High-end fonts for Windows. | ||||
| OpenType
(PostScript Adobe CCF internally) |
otf | High end PostScript fonts. You can detect these by the file signature { 0x4F, 0x54, 0x54, 0x4F } — the string "OTTO", at the head of the file. | ||||
| TrueType | ttf | Most common font for Windows. | ||||
| PostScript | pfm/pfb | Older style PS fonts. Supported by PostScript printer hardware. Windows itself supports PS fonts, at least with Adobe Type Manager, but Java ignores them. | ||||
| Bitmap | fon | Used primarily for small font sizes. Come only a small set of point sizes. | ||||
| Vector outline | fon | These are obsolete. Used by Windows without Java. | ||||
| 8-bit fonts | any | Java needs 16-bit fonts. It won’t use 8-bit fonts directly. Old or specialty 8-bit fonts can be used by stitching them together with a Unicode mapping, a daunting task. | ||||
Sun announced that Java programs would use the Bravo interface to generate PostScript programs that are then interpreted for printer, screen or typesetter. Then deafening silence and all reference to the project was expunged from the universe.
PostScript uses a different co-ordinate system from Java. Units are floating point 1/72 of an inch, close to a printer’s point of 1/72.27 inch.
You need quite at least three textbooks to have much hope of understanding PostScript. I suggest starting with the official books from Adobe:
![]() |
recommend book⇒Language Tutorial and Cookbook | |||||||||||||||||
| paperback | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ISBN13: | 978-0-201-10179-9 | |||||||||||||||||
| ISBN10: | 0-201-10179-3 | |||||||||||||||||
| publisher: | Addison-Wesley | |||||||||||||||||
| published: | 2007-08-24 | |||||||||||||||||
| by: | Adobe | |||||||||||||||||
| Also known as the Blue Book. If you buy only one book, get this one. | ||||||||||||||||||
| ||||||||||||||||||
![]() |
recommend book⇒PostScript Language Reference | |||||||||||||||||
| paperback | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ISBN13: | 978-0-201-37922-8 | |||||||||||||||||
| ISBN10: | 0-201-37922-8 | |||||||||||||||||
| publisher: | Addison-Wesley | |||||||||||||||||
| published: | 1999-05 | |||||||||||||||||
| by: | Adobe | |||||||||||||||||
| Also known as the Red Book, even though it is now mostly white. This is the language reference manual. It is available in downloadable PDF format. | ||||||||||||||||||
| ||||||||||||||||||
![]() |
recommend book⇒PostScript Language Program Design | |||||||||||||||||
| paperback | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ISBN13: | 978-0-201-14396-6 | |||||||||||||||||
| ISBN10: | 0-201-14396-8 | |||||||||||||||||
| publisher: | Addison-Wesley | |||||||||||||||||
| published: | 1988-01-11 | |||||||||||||||||
| by: | Adobe | |||||||||||||||||
| Also known as the Green Book. This explains how PostScript works under the hood. PostScript made little sense to me until I read this book. Then again I come from a Forth background, and like to think very concretely about what is going on. | ||||||||||||||||||
| ||||||||||||||||||
![]() |
recommend book⇒Adobe Type 1 Font Format | |||||||||||||||||
| paperback | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ISBN13: | 978-0-201-57044-1 | |||||||||||||||||
| ISBN10: | 0-201-57044-0 | |||||||||||||||||
| publisher: | Addison Wesley | |||||||||||||||||
| published: | 1990-01-01 | |||||||||||||||||
| by: | Adobe | |||||||||||||||||
| Known as the White Book. This explains how PostScript fonts work under the hood, including the formerly secret proprietary encryption technique. You can probably live without this book, but I found it satisfied a deep set of curiosity itches. Also available free in PDF format. | ||||||||||||||||||
| ||||||||||||||||||
Aandi Inston’s wrote a remarkable (but expensive ) tool for composing and debugging PostScript PSAlter.
![]() |
and suggestions to improve this page to Roedy Green : | ||
| Canadian Mind Products | |||
| mindprod.com IP:[65.110.21.43] | |||
| Your face IP:[38.103.63.16] | The information on this page is for non-military use only. | ||
| You are visitor number 9,783. | Military use includes use by defence contractors. | ||
| You can get a fresh copy of this page from: | or possibly from your local J: drive (Java virtual drive/Mindprod website mirror) | ||
| http://mindprod.com/jgloss/postscript.html | J:\mindprod\jgloss\postscript.html | ||