Comments (2)
I just noticed that the contextual alternate of the colon is also triggered under various circumstances in which one would not expect it to be triggered—and that it is not triggered when it should be.
Here is some HTML code to illustrate this observation:
<html>
<head>
<link rel="stylesheet" href="inter.css">
</head>
<body>
<span style="font-family: InterDisplay; font-size: 60;">
Test: <i>Test</i>: Test (i): Test (4): Test (<i>i</i>): Test (<i>i</i>): <i>i</i>: Test:<br>
1:2. 1<span style="color: gray;">:</span>2. 1 : <b>2</b>.
<i>1</i> : 2. <i>1</i> : <b>2</b>. <b>1</b> : <b>2</b>.
<b>1</b> <span style="color: gray;">:</span> <b>2</b>.
</span>
<br>
<span style="font-family: Inter; font-size: 60;">
Test: <i>Test</i>: Test (i): Test (4): Test (<i>i</i>): Test (<i>i</i>): <i>i</i>: Test:<br>
1:2. 1<span style="color: gray;">:</span>2. 1 : <b>2</b>.
<i>1</i> : 2. <i>1</i> : <b>2</b>. <b>1</b> : <b>2</b>.
<b>1</b> <span style="color: gray;">:</span> <b>2</b>.
</span>
</body>
</html>
This is the output (identical across Chrome, Firefox, and Safari):
It shows that also
- HTML tags preceding the colon,
- numbers in parentheses, and
- HTML tags in parentheses
trigger the contextual alternate—but not if followed by another HTML tag.
from inter.
After aa71d61:
For your example @HolgerGerhardt, see last row
from inter.
Related Issues (20)
- Missing Open Type Features (Figma) HOT 4
- Pipe (vertical bar) character "|" should not be italicized/slanted. HOT 2
- [Request] Horizontal touching Q (like Univers) as alternate for titling HOT 2
- Inter Variable font weights don't render properly HOT 3
- Bring back the alternate 'r' with oblique terminal HOT 1
- [Request] Inter from version 4.0 onwards no longer has an alternate 'r' with oblique terminal HOT 1
- Adobe Illustrator: Invalid vertical and horizontal Cyrillic characters: ГПРСТХй (InterDisplay-ExtraBold, v4.0) HOT 10
- [Bug] ordmasculine/feminine don't match Inter style (they are still reminiscent of Roboto) HOT 2
- The versions from 4.0 onwards no longer have the 'r' with oblique terminal. HOT 2
- Sharp S "ẞ" using the Frankfurt shape HOT 1
- Add plane symbol (✈︎) HOT 1
- Improvements to Cyrillic glyphs HOT 7
- [U+0189] "Đ" crossbar is too long in v4.
- Possible line height issue HOT 3
- on Safari "i" doesn't render with font weight 600 HOT 7
- Make it available on Samsung store
- Why Numbering is not aligned properly in MS Word HOT 2
- Italic missing round version of low quotes U+201E and U+201A
- The sample image in the README leads to "404 not found"
- Parentheses are not aligned HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inter.