thira-sans 0.1.1 → 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 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 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thira-sans",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "description": "Thira Sans: a Thai + Latin variable sans-serif (weight 100-700) as self-hosted webfonts",
5
5
  "license": "OFL-1.1",
6
6
  "author": "Thiraphat Phutson",