1
1
mirror of https://github.com/rsms/inter.git synced 2024-11-22 11:02:55 +03:00
This commit is contained in:
Rasmus Andersson 2021-04-07 09:31:40 -07:00
parent 81f8ce796b
commit 8e9fd7f417
2 changed files with 5 additions and 0 deletions

View File

@ -74,6 +74,10 @@ A second major revision was created where the previously-strict rule of geometry
The glyphs are designed based on this "plan"; most stems and lines will be positioned at EM units that are even multiples of 128, and in a few cases they are at even multiples of 64 or as low as 16.
A UPM of 2816 is great for Inter since that means that its cap height is exactly 2048 units (64× 32-unit squares) and its x-height is 1536 (48× 32-unit squares) which both makes the design easier (can deal with only integers, never any fractions, plus use a perfect grid) and it makes the target "small size" of 11dp a pixel-perfect match — at 11px rasterization 1 pixel is exactly 256 units in the design! At 11dp with a 2x scaling factor 1 pixel is 128 units, 64 units at a 3x scaling factor and so on. This makes it feasible to really tune Inter for detailed rasterization.
![Metrics](docs/res/metrics2.png)
Metrics:
- UPM: 2816
@ -91,6 +95,7 @@ Translating between EM units and pixels:
There's a Figma workspace for glyphs, with configured metrics: ["Inter glyphs"](https://www.figma.com/file/RtScFU5NETY3j9E0yOmnW4gv/)
## Supporters
A wholehearted **Thank You** to everyone who supports the Inter project!

BIN
docs/res/metrics2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 556 KiB