adobe-fonts / adobe-fonts/source-han-sans

locl not working in Chrome/Firefox when showing individual punctuation

Ouverte
#439 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
17.2k
Forks
1.4k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

When using OpenType `locl` feature to show individual CJK punctuations, in Chrome and Firefox some do not load the correct punctuation. See the left 2nd-6th column.

It is suspected that there is no script DFLT in feature file (only language dflt), while the punctuations are sc=Zyyy, so when Chrome calculate they become default (no preceding sc) and no script match them in feature.

Chrome: (Does not load any of them)
![image](https://github.com/adobe-fonts/source-han-sans/assets/33471049/b17e431b-6742-4774-9d7e-e38aaa7f8981)

Firefox: (Does not load U+3001 、 and U+3002 。 for TW/HK)
![image](https://github.com/adobe-fonts/source-han-sans/assets/33471049/a43c1e30-62c8-477c-a007-e9e213d2773e)

It is fine in Microsoft Word and Adobe InDesign.

Word:
![image](https://github.com/adobe-fonts/source-han-sans/assets/33471049/59bd40c0-311f-49d0-9b1a-c3dde17e8859)

InDesign:
![image](https://github.com/adobe-fonts/source-han-sans/assets/33471049/e91f922c-7346-4a3d-9574-b4ff29e4365e)

Test file: [test.txt](https://github.com/adobe-fonts/source-han-sans/files/12063862/test.txt)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.