text: add missing open-type weights

Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
This commit is contained in:
Walter Werner SCHNEIDER
2021-08-31 17:17:25 +03:00
committed by Elias Naur
parent 671f0b1858
commit 423c8f22ef
+16 -3
View File
@@ -73,9 +73,22 @@ const (
) )
const ( const (
Normal Weight = 400 - 400 Thin Weight = 100 - 400
Medium Weight = 500 - 400 Hairline Weight = Thin
Bold Weight = 600 - 400 ExtraLight Weight = 200 - 400
UltraLight Weight = ExtraLight
Light Weight = 300 - 400
Normal Weight = 400 - 400
Medium Weight = 500 - 400
SemiBold Weight = 600 - 400
DemiBold Weight = SemiBold
Bold Weight = 700 - 400
ExtraBold Weight = 800 - 400
UltraBold Weight = ExtraBold
Black Weight = 900 - 400
Heavy Weight = Black
ExtraBlack Weight = 950 - 400
UltraBlack Weight = ExtraBlack
) )
func (a Alignment) String() string { func (a Alignment) String() string {