Skip to content

Commit ec28040

Browse files
committed
fix(fontweight): support undocumented font weight value
1 parent a75100c commit ec28040

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/types.rs

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ use std::mem;
1111
pub enum FontWeight {
1212
Thin = 100,
1313
ExtraLight = 200,
14+
YaheiLight = 290,
1415
Light = 300,
1516
SemiLight = 350,
1617
Regular = 400,

0 commit comments

Comments
 (0)