ligature : Java Glossary

ligature
Ligatures are designed to correct awkward letter pair combinations where typeset letters can’t be made to snuggle neatly with kerning.
Ligatures
Appearance Short For HTML (Hypertext Markup Language) entity Unicode
Æ AE Æ \u00c6
æ ae æ \u00e6
Œ OE Œ \u0152
œ oe œ \u0153
ff ff \ufb00
fi fi \ufb01
fl fl \ufb02
ffi ffi \ufb03
ffl ffl \ufb04
ft ſt \ufb05
st st \ufb06
ß ss ß \u00df German ss Eszett, Scharfes S. It is more like an extra letter of the alphabet than a ligature, since the meaning of words can change when it is used. It has no equivalent upper case form.
tt  \ue70e unofficial in private area
th not available.
fj not available.

Why so Few Ligatures?

Unicode has more symbols than you could shake a stick at, but is barren when it comes to ligatures. Why is this? In other languages, especially Arabic, which simulates hand writing, the ligature problem is explosively large, so the Unicode people decided to leave most of the ligatures out of Unicode and simply allow the typesetting or browser software to deal with them, inserting ligatures using its own rules from documents encoded in ligature-free Unicode.

Exchange documents should not contain ligatures. They should be inserted at the last second by the font rendering software using its own rules, much the way it positions characters and chooses their sizes. The ligatures that do exist in Unicode are there primarily for legacy reasons.

GlyphVector

If your font does not have ligatures, you can fake ligatures with kerning to squeeze letters closer together than normal. You do that by composing a GlyphVector where you manually select the glyphs and manually position them. Then you feed that to Graphics2D.drawGlyphVector ( GlyphVector g, float x, float y).

Learning More

Oracle’s Javadoc on GlyphVector class : available:

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/ligature.html J:\mindprod\jgloss\ligature.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, please quote it and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. Threatening to kill me or spouting obscenities has yet to persuade me to change my mind.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.213]
You are visitor number 9,441.