Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unicode-ranges for Noto Sans missing U+0307 and U+035F #8781

Closed
HMPerson1 opened this issue Dec 30, 2024 · 2 comments
Closed

unicode-ranges for Noto Sans missing U+0307 and U+035F #8781

HMPerson1 opened this issue Dec 30, 2024 · 2 comments
Assignees

Comments

@HMPerson1
Copy link

Describe the bug

In the Google Fonts CSS v2 API response for Noto Sans (https://fonts.googleapis.com/css2?family=Noto+Sans), the code points U+0307 and U+035F are not listed in any of the @font-face unicode-range entries, despite the fact that these are included in Noto Sans (according to https://notofonts.github.io/overview/ "Combining Diacritical Marks").

Interestingly, if &text=u%CC%87 (or similar) is specified, the corresponding font file does include U+0307.

To Reproduce

  1. Go to https://fonts.google.com/noto/specimen/Noto+Sans?preview.text=u%CC%87#styles
  2. Observe that "u̇" is rendered correctly
    • This is because the page requests the font with &text=u%CC%87, which can be confirmed in DevTools
  3. Click on one of the rendered samples to open the text input field
  4. Observe that it becomes tofu
    • This is because the page requests the "full" font, which is missing U+0307

(same issue with U+035F at https://fonts.google.com/noto/specimen/Noto+Sans?preview.text=t%CD%9Fh#styles)

Expected behavior

The CSS response includes the code points U+0307 and U+035F

Screenshots

Initial page load

Image

After activating the text input field

Image

Additional context

I needed these specific combining diacritical marks because they're used in Merriam-Webster's pronunciation transcription system and do not exist as "precomposed" unicode code points. There may be other codepoints missing but I haven't looked further into that.

Chrome 131.0.6778.205
Windows 11 build 22631.4602

@emmamarichal
Copy link
Collaborator

I can reproduce, thank you @HMPerson1!
cc @simoncozens

Image

@simoncozens
Copy link
Collaborator

This is a known subsetting issue. We can't currently reliably combine Basic Latin with Combining Diacritics because we haven't worked out which subset to put Combining Diacritics in to make it work. (@nathan-williams @garretrieger)

@emmamarichal emmamarichal closed this as not planned Won't fix, can't repro, duplicate, stale Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants