Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Files embed.FS
Files provides Opentype fonts. The subfolders included are :
- morx : contains AAT 'morx' tables
- collections : contains opentype font collections
- common : contains opentype fonts
View Source
var Monospace = map[string]bool{ "common/SourceSans-VF.ttf": true, "common/Go-Mono-Bold-Italic.ttf": true, "common/LiberationMono-Italic.ttf": true, "common/Lmmono-italic.otf": true, "common/DejaVuSansMono.ttf": true, }
View Source
var WithAvar = []string{
"common/Selawik-VF.ttf",
"common/Commissioner-VF.ttf",
"common/SourceSans-VF.ttf",
}
View Source
var WithCBLC = []struct { Path string StrikesNumber int GlyphRange [2]int // GID with bitmap data }{ {"toys/CBLC1.ttf", 1, [2]int{2, 4}}, {"toys/CBLC2.ttf", 1, [2]int{1, 1}}, {"bitmap/NotoColorEmoji.ttf", 1, [2]int{4, 17}}, }
View Source
var WithEBLC = []struct { Path string StrikesNumber int }{ {"toys/KacstQurn.ttf", 2}, {"bitmap/IBM3161-bitmap.otb", 1}, }
View Source
var WithFvar = []struct { Path string AxisCount int }{ {"common/Selawik-VF.ttf", 1}, {"common/Commissioner-VF.ttf", 4}, {"common/SourceSans-VF.ttf", 1}, {"toys/Var1.ttf", 15}, }
View Source
var WithGlyphs = []struct { Path string GlyphNumber int }{ {"common/Commissioner-VF.ttf", 1123}, {"common/Roboto-BoldItalic.ttf", 3359}, {"common/open-sans-v15-latin-regular.woff", 221}, }
View Source
var WithMVAR = []string{
"toys/Var1.ttf",
"common/SourceSans-VF.ttf",
}
View Source
var WithOTLayout = []string{
"common/Raleway-v4020-Regular.otf",
"common/Commissioner-VF.ttf",
"common/Estedad-VF.ttf",
"common/Mada-VF.ttf",
}
WithOTLayout is the path of font files containing Opentype GSUB/GPOS tables, with path expressed from the root of Files
View Source
var WithSbix = []struct { Path string StrikesNumber int }{ {"toys/Sbix1.ttf", 1}, {"toys/Sbix2.ttf", 1}, {"toys/Sbix3.ttf", 1}, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.