handdrawn semibold

This commit is contained in:
Gavin Nishizawa 2023-04-10 15:01:11 -07:00
parent e51429749a
commit 735bcda933
No known key found for this signature in database
GPG key ID: AE3B177777CE55CD

View file

@ -180,6 +180,11 @@ func init() {
Family: HandDrawn,
Style: FONT_STYLE_BOLD,
}: fuzzyBubblesBoldBase64,
{
Family: HandDrawn,
Style: FONT_STYLE_SEMIBOLD,
// This font has no semibold, so just reuse bold
}: fuzzyBubblesBoldBase64,
}
for k, v := range FontEncodings {
@ -271,6 +276,10 @@ func init() {
Family: HandDrawn,
Style: FONT_STYLE_BOLD,
}] = b
FontFaces[Font{
Family: HandDrawn,
Style: FONT_STYLE_SEMIBOLD,
}] = b
}
var D2_FONT_TO_FAMILY = map[string]FontFamily{