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

Glitch on uppercase "D" when size is under 148, in Chrome 71 on macOS 10.14 #85

Closed
amio opened this issue Oct 22, 2018 · 2 comments
Closed

Comments

@amio
Copy link

amio commented Oct 22, 2018

Describe the bug
Uppercase “D” has a little glitch when size is under 148, in Chrome (71)

To Reproduce
Steps to reproduce the behavior:

  1. Go to Inter UI font homepage
  2. Checkout the shape of uppercase "D"

Screenshots
screen shot 2018-10-22 at 10 52 27 am

Environment

  • OS: macOS 10.14
  • App that renders the font: Chrome 71 (Only in Chrome. Safari & Firefox renders correctly)
  • Version of font: index-var.css?v=20181015155019
@rsms
Copy link
Owner

rsms commented Nov 23, 2018

This happens since the "D" is composed of two shapes and the rasterizer used by Chrome in this case doesn't perform a boolean union or there's a bug in Chromium (or Skia or Freetype or Harfbuzz.) Essentially it applies anti-alias to each shape instead of the compund shape, which is the expected outcome.

It may be worth filing this issue with Chromium at https://bugs.chromium.org/p/chromium/issues/list

In the meantime, I'm adding a work-around where overlapping shapes are removed via boolean union operations for specific glyphs.

@rsms rsms closed this as completed in a113ad5 Nov 23, 2018
@rsms
Copy link
Owner

rsms commented Nov 23, 2018

screen shot 2018-11-23 at 12 55 19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants