How to Inspect CSS font-feature-settings JIS04 Forms (jp04) in Safari Web Inspector

The JIS X 0213:2004 (JIS2004) standard is the modern typographical benchmark for contemporary Japanese digital text, updating 168 kanji characters to match traditional stroke structures sanctioned by the Japanese Agency for Cultural Affairs. The OpenType jp04 (JIS2004 Forms) feature tag substitutes older JIS78/JIS83/JIS90 variants with modern JIS2004 standard forms. Safari Web Inspector provides dedicated controls to preview and audit JIS2004 substitutions on macOS.

Typographical Role of JIS2004 Glyphs

When displaying legal documentation, government publications, or official registries, ensuring kanji render with strict JIS2004 compliance is critical. Specifying font-feature-settings: "jp04" 1; activates Apple’s CoreText substitution routines, rendering modern stroke forms accurately across Apple devices.

Configuring JIS2004 Glyphs in CSS

Implement JIS2004 typography in your stylesheet:

.jis04-modern {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-feature-settings: "jp04" 1;
  font-variant-east-asian: jis04;
  line-height: 1.8;
}

Inspecting Features in Safari Web Inspector

  1. Open the webpage containing Japanese kanji in Safari.
  2. Right-click the target paragraph and choose Inspect Element.
  3. Switch to the Font tab in Web Inspector’s right pane.
  4. Locate JIS2004 Forms (jp04) under the Features list.
  5. Toggle the switch to observe live kanji stroke alterations rendered by CoreText across the character sequence.

Accessible Semantic Text Integrity

Because OpenType substitutions operate exclusively at the graphic layout layer, the accessibility tree retains standard semantic text representation, ensuring optimal search indexing and screen reader performance.

Get the best tech tips delivered straight to your inbox.

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