20 stable releases
new 2.7.0 | Apr 23, 2024 |
---|---|
2.6.1 | Apr 17, 2024 |
2.3.0 | Mar 22, 2024 |
2.1.0 | Feb 18, 2024 |
1.5.0 | Feb 18, 2024 |
#49 in Data formats
777 downloads per month
15KB
306 lines
notoize
A crate that tells you what Noto font stack you need.
This is not "not oize". what's oize
Beware:
- no config options yet
- Sometimes outputs FangsongKSSRotated instead of CJK.
- Fetches CJK when encountering emoji
notoize()
Takes a &str
and returns a FontStack
.
FontStack
A Vec<
font names>
.
files()
returns aVec<Font>
.
Font
filename
,bytes
: for writing the font file elsewherefontname
: for CSS
Dependencies
~4–18MB
~264K SLoC