mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 09:25:38 +00:00
text: add missing open-type weights
Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu>
This commit is contained in:
committed by
Elias Naur
parent
671f0b1858
commit
423c8f22ef
+16
-3
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user