Skip to main content

Superscript and subscript forms

fontVariantPosition, CSS Fonts 4 6.5: units and formulas in the face's own forms, then the same text with the sup and sub shortcodes.

  • The face's own glyphs (OpenType sups, subs) stand on the baseline at full size, drawn smaller and higher by the type designer
  • A run the face cannot cover is made whole: ordinals such as 3rd have no superscript letters in the face, so the whole run is reduced and raised as the shortcodes draw it
  • Another face, other forms
  • fontSynthesis without position refuses the synthetic form, and each word of fontSynthesis does its own part
  • Tagged TextPosition Sup or Sub, so a reader knows the run's role

What to look for. The first grey line against the line under it: the same text, the face's forms against shrunken digits.

Features used: PDF/A-4, PDF/UA-2, DOCX Transitional conformance, tables