-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Expand file tree
/
Copy pathbundled-fonts.go
More file actions
55 lines (41 loc) · 1.12 KB
/
bundled-fonts.go
File metadata and controls
55 lines (41 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package theme
import (
_ "embed"
"fyne.io/fyne/v2"
)
//go:embed font/NotoSans-Regular.ttf
var notoSansRegular []byte
var regular = &fyne.StaticResource{
StaticName: "NotoSans-Regular.ttf",
StaticContent: notoSansRegular,
}
//go:embed font/NotoSans-Bold.ttf
var notoSansBold []byte
var bold = &fyne.StaticResource{
StaticName: "NotoSans-Bold.ttf",
StaticContent: notoSansBold,
}
//go:embed font/NotoSans-Italic.ttf
var notoSansItalic []byte
var italic = &fyne.StaticResource{
StaticName: "NotoSans-Italic.ttf",
StaticContent: notoSansItalic,
}
//go:embed font/NotoSans-BoldItalic.ttf
var notoSansBoldItalic []byte
var bolditalic = &fyne.StaticResource{
StaticName: "NotoSans-BoldItalic.ttf",
StaticContent: notoSansBoldItalic,
}
//go:embed font/DejaVuSansMono-Powerline.ttf
var dejaVuSansMono []byte
var monospace = &fyne.StaticResource{
StaticName: "DejaVuSansMono-Powerline.ttf",
StaticContent: dejaVuSansMono,
}
//go:embed font/InterSymbols-Regular.ttf
var interSymbolsRegular []byte
var symbol = &fyne.StaticResource{
StaticName: "InterSymbols-Regular.ttf",
StaticContent: interSymbolsRegular,
}