Documentation
¶
Overview ¶
Package fonts describes the installed faces a desktop page can choose. It returns names and CSS traits, never font files or their paths.
Index ¶
Constants ¶
View Source
const Available = true
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Face ¶
type Face struct {
Family string `json:"family"`
Name string `json:"name"`
Weight float64 `json:"weight"`
Style string `json:"style"`
Stretch float64 `json:"stretch"`
}
Face is one installed style. Name is the font's own style name; Style is its CSS slope. Stretch is a percentage, and Weight is an OpenType weight.
Click to show internal directories.
Click to hide internal directories.