Skip to main content

Font Variants in SVG Text

SVG 2 11.10.2.1 requires every font-variant subproperty on svg text. A report's sentence is set in oldstyle figures, and its chart is drawn twice.

  • Labels in lining figures: the chart keeps the face's default figures, all as tall as capitals, so its labels read louder than the text they illustrate
  • Labels in the report's own figures: fontVariantNumeric oldstyle on the chart's styles, and fontVariantCaps smallCaps on its title
  • A seal's ring of text set in small capitals

What to look for. The figures in the first chart standing taller than the sentence's, and the second chart's matching it.

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