Skip to content

Capital 'І' have small line/bump on top of it  #576

Closed

Description

@oleksify

Did you get the font from Google Fonts? Then please head over to
https://github.com/google/fonts/issues
and file an issue with Google Fonts.
If not, REMOVE THIS PARAGRAPH BEFORE FILING YOUR ISSUE.

Describe the bug
Seems like there's something with capital "I". Feels like there's s small bump on the top, and it has different color - darker. I'm testing last beta (v4 beta 9). The issue is appearing on web using variable font.

To Reproduce
Steps to reproduce the behavior:

  1. Use capital І with variable woff2 in the browser
  2. Set CSS with
    font-feature-settings: "case" 0, "cpsp" 0, "dlig" 0, "frac" 0, "dnom" 0, "numr" 0, "salt", "subs" 0, "sups" 0, "tnum", "zero", "ss01", "ss02", "ss03" 0, "ss04" 0, "cv01" 0, "cv02", "cv03", "cv04", "cv05" 0, "cv06" 0, "cv07" 0, "cv08" 0, "cv09" 0, "cv10" 0, "cv11" 0, "liga", "calt", "ccmp", "kern";
  3. See the issue

Expected behavior
The top of the letter should be flat

Screenshots

242368970-12452d73-fda8-4196-9e40-78f3d272bea7

Environment

  • macOS 13.4
  • Firefox/Chrome/any browser really
  • Version of font - "Inter Variable v4.0-beta9b"

Activity

  1. rsms commented on Jun 3, 2023

    @rsms
    Owner

    This is a floating-point rounding error bug in the software rendering the font (a classic.)
    I was unable to reproduce this.
    Anyhow, I've merged the shapes of /I.1 which works around rounding errors (since there are no more overlapping paths.) Try v4.0-beta9c

    Note that some glyphs do use overlapping shapes that have perfectly-aligning edges which is likely going to cause issues with buggy software, so you might see this kind of thing again.

    Also note that this is specific to the variable font. The static font files are preprocessed to have overlapping shapes removed.

  2. oleksify commented on Jun 3, 2023

    @oleksify
    Author

    Got it, thanks!

    And thanks again for the amazing open font!

  3. oleksify commented on Jun 3, 2023

    @oleksify
    Author

    I can confirm that the issue is gone now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions