google / google/fonts

Issue with `vert` feature not working in macOS/iOS

Open
#8,695 9 comments 0 reactions 0 assignees View on GitHub
I Font Bug
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

The font in use is [LXGW WenKai TC](https://fonts.google.com/specimen/LXGW+WenKai+TC?lang=zh_Hant)。

**Describe the bug**

When displaying LXGW WenKai TC on Apple devices (eg Safari and Google Chrome on iPad), the OpenType `vert` feature is not triggered. This caused vertical punctuations to fail to rotate. This issue does not appear on Windows/Linux devices.

iPad Safari:
![Image](https://github.com/user-attachments/assets/bca791ed-f448-401f-ba40-772d142dd7d5)

**To Reproduce**

Open the HTML file in Apple devices and compare to Windows/Linux devices.

Replication HTML

```html








html,
body {
height: 100%;
}
body {
font-family: "LXGW WenKai TC", sans-serif;
writing-mode: vertical-rl;
height: 100%;
font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "vert" 1;
}



测试



ABCD這~是!鍵·盤#上¥的%全……形—標*點(符)號——橫+排`豎-排=的「顯」示【情】況:一;點“明”體‘與’其『他』字,體「對」比?自、動|橫/變豎。


```

**Expected behavior**

Punctuations in OpenType `vert` feature are triggered.

Google Chrome on Windows:
![Image](https://github.com/user-attachments/assets/c330b429-469f-4e24-af23-de325dbd7924)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.