How to Inspect CSS font-feature-settings Vertical Kerning (vkrn) in Safari Web Inspector

Typesetting vertical text in East Asian web typography requires precise vertical inter-glyph spacing adjustments to avoid awkward vertical gaps between punctuation marks and characters. The OpenType vkrn (Vertical Kerning) feature tag adjusts vertical glyph metrics to ensure consistent typographic rhythm. Safari Web Inspector provides native controls to preview and audit vertical kerning on macOS.

Typographical Role of Vertical Kerning

Similar to standard horizontal kerning (kern), vertical kerning examines glyph pairs along the vertical Y-axis and adjusts the spacing distance between consecutive characters when rendered in vertical writing modes (e.g. writing-mode: vertical-rl).

Configuring Vertical Kerning in CSS

Declare vertical kerning properties in your stylesheet:

.vertical-poetry {
  writing-mode: vertical-rl;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-feature-settings: "vkrn" 1;
  font-kerning: normal;
  letter-spacing: 0.05em;
}

Inspecting Features in Safari Web Inspector

  1. Open the vertical typography webpage in Safari.
  2. Right-click the vertical text line and select Inspect Element.
  3. In Web Inspector’s right pane, open the Font tab.
  4. Locate Vertical Kerning (vkrn) under the Features disclosure list.
  5. Toggle the switch to audit immediate vertical baseline shifts rendered by Apple’s CoreText layout engine.

Verifying Proportional Alternates Pairing

Pair vkrn with proportional vertical metrics (vpal) to achieve optimal visual harmony in traditional publishing layouts.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.