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

Misalignment of bulletpoints when using inline #679

Closed
annaschumacher opened this issue Feb 14, 2024 · 1 comment
Closed

Misalignment of bulletpoints when using inline #679

annaschumacher opened this issue Feb 14, 2024 · 1 comment

Comments

@annaschumacher
Copy link

annaschumacher commented Feb 14, 2024

Describe the bug
While using both the Inter and Inter Variable fonts, I encountered an alignment issue with bullet points when attempting to conceal a portion of a phone number. When using the bullet points (option+8) to obscure digits like ••••••••787, I noticed that the alignment of the first few bullet points deviates from the rest. This inconsistency occurs only when there are 5 or more bullet points, and the subsequent characters are numeric.

Is this misalignment intentional for the Inter font, or is it a bug that can be addressed?

To Reproduce

  1. Use either the Inter or Inter Variable font in e.g. Figma or a code editor
  2. Attempt to mask a portion of a phone number using bullet points (••••••••787) (option+8, not the option+shift+9).

Expected behavior
The bullet points should maintain consistent alignment regardless of the number of characters or the type of characters following them.

Actual result
The first few bullet points are misaligned when followed by numeric characters after 5 or more bullet points.

Screenshots
Screenshot 2024-02-14 at 11 02 43
Screenshot 2024-02-14 at 11 02 56
Screenshot 2024-02-14 at 11 03 17

Environment

  • OS: macOS 13.0 (Ventura)
  • App that renders the font: Figma, Chrome, Arc
  • Version of font: Inter Variable. Version 4.000;git-a52131595

Additional context

  • This issue persists across different platforms; I observed it both in Figma and in cod/browser (Chrome, Arc).
  • No similar alignment issues occur when using other fonts.
@kenmcd
Copy link

kenmcd commented Feb 14, 2024

This is by design.
Disable the OpenType Contextual Alternates (calt) feature to stop this.

See similar issues: #442 and #594

@rsms rsms closed this as not planned Won't fix, can't repro, duplicate, stale Mar 26, 2024
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

3 participants