google / google/fonts

Open Sans: combining acute accent does not render correctly

Open
#2,392 4 comments 3 reactions 0 assignees View on GitHub
-- Bad rendering -- Glyphset issue
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

I am trying to display this chacter: "ą́" (SMALL LETTER A WITH OGONEK + COMBINING ACUTE ACCENT) using Open Sans font. It does not render correctly neither in Firefox nor Google Chrome.

Here is an example: http://robinski.org/share/open-sans-error.html

And a screenshot:
![open sans chrome and firefox rendering](https://user-images.githubusercontent.com/1949366/76702398-d5d22480-66c9-11ea-8be7-66171d575a30.png)

The combination of SMALL LETTER A WITH OGONEK + COMBINING ACUTE ACCENT renders properly using the Open Sans font installed on a local system (NOT using the Google Fonts CSS rules). Open Sans includes the COMBINING ACUTE ACCENT codepoint, but the Google Fonts @font-face rules split the font across multiple faces using unicode-range, and do not include the COMBINING ACUTE ACCENT in the face that has A WITH OGONEK. As a result, font fallback comes into effect. This is because although the "original" Open Sans font would be able to display this combination just fine, the sliced-up version deployed by Google Fonts cannot handle it and so Chrome and Firefox chooses an alternate font for the entire cluster.

Please fix the CSS stylesheet for Open Sans font (https://fonts.googleapis.com/css?family=Open+Sans) so that it properly renders combining acute accent.

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.