thira-sans 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -1
- package/files/thira-sans-100.woff2 +0 -0
- package/files/thira-sans-200.woff2 +0 -0
- package/files/thira-sans-300.woff2 +0 -0
- package/files/thira-sans-400.woff2 +0 -0
- package/files/thira-sans-500.woff2 +0 -0
- package/files/thira-sans-600.woff2 +0 -0
- package/files/thira-sans-700.woff2 +0 -0
- package/files/thira-sans-variable.woff2 +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -48,9 +48,20 @@ import 'thira-sans/700.css';
|
|
|
48
48
|
|
|
49
49
|
The font files are also exported as `thira-sans/files/*.woff2` if you want to write your own `@font-face`.
|
|
50
50
|
|
|
51
|
+
## Line height
|
|
52
|
+
|
|
53
|
+
`line-height: normal` is 1.5. Thai tone marks stack above vowels (ปี๊บ) and some vowels hang below the letter (ฎุ), so a clipping box (`overflow: hidden`, `line-clamp`) needs room for them:
|
|
54
|
+
|
|
55
|
+
| Weight | Smallest line-height that never clips |
|
|
56
|
+
| --- | --- |
|
|
57
|
+
| 100–600 | 1.5 |
|
|
58
|
+
| 700 | 1.55 |
|
|
59
|
+
|
|
60
|
+
Below that, the tallest stacks can be cut at the top of the first line and the bottom of the last. The [metrics page](https://thiraphat-ps-dev.github.io/thira-sans/metrics.html) shows the same numbers in the browser.
|
|
61
|
+
|
|
51
62
|
## Status
|
|
52
63
|
|
|
53
|
-
0.x: Thira Sans has soft, rounded corners since 0.2.0 and supports `ss03` (single-storey a/g), `ss04` (dotted zero) and `zero` (slashed zero). It is a fork of [Anuphan](https://github.com/cadsondemak/Anuphan) by Cadson Demak and is being redesigned. Glyph shapes and metrics will change between minor versions.
|
|
64
|
+
0.x: Thira Sans has soft, rounded corners since 0.2.0 and supports `ss03` (single-storey a/g), `ss04` (dotted zero) and `zero` (slashed zero). Since 0.3.0 `line-height: normal` is 1.5 and stacked Thai marks are no longer clipped on Windows. It is a fork of [Anuphan](https://github.com/cadsondemak/Anuphan) by Cadson Demak and is being redesigned. Glyph shapes and metrics will change between minor versions.
|
|
54
65
|
|
|
55
66
|
## License
|
|
56
67
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|