Misalignment of bulletpoints when using inline
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
- Use either the Inter or Inter Variable font in e.g. Figma or a code editor
- 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
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.
This is by design.
Disable the OpenType Contextual Alternates (calt) feature to stop this.
See similar issues: https://github.com/rsms/inter/issues/442 and https://github.com/rsms/inter/issues/594