Sidebearing-trim – align text to visible ink, not the glyph box
Show HN: Sidebearing-trim – align text to visible ink, not the glyph box
Sidebearing-trim – align text to visible ink, not the glyph box is a company in show hn launch.
Profile
Ahoy HN!I'm sure most of you have at least subconsciously noticed that when aligning heading to a layout edge or another element, text always appears slightly indented. This is indistinguishable on smaller font sizes, but starts to be noticeable especially on bigger sans-serif font sizes.This has been discussed in the internet without any proper solutions. There's even a W3C CSS proposal from 2014 for "font-side-bearings: trimmed" that has remained stale. https://lists.w3.org/Archives/Public/www-style/2014Jan/0242....This npm-package 'sidebearing-trim' fixes the issue. By extracting .woff font metrics we're detecting starting characters of the visual lines and shift each row by exactly the s
Sidebearing-trim – align text to visible ink, not the glyph box is positioned in show hn launch, a segment that rewards a clear, focused offering.
The company is listed at the Show HN launch stage of development.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: sidebearing-trim.js.org
Browse related
Create a free account