Documentation ¶
Overview ¶
Package fonts contains the embedded fonts and utility functions.
Code generated by rice embed-go; DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatoItalic ¶
LatoItalic returns the italic style of the Lato font.
func LatoRegular ¶
LatoRegular returns the regular style of the Lato font.
func LiberationSansBold ¶
LiberationSansBold returns the bold style of the Liberation Sans font.
func LiberationSansItalic ¶
LiberationSansItalic returns the italic style of the Liberation Sans font.
func LiberationSansRegular ¶
LiberationSansRegular returns the normal style of the Liberation Sans font.
Types ¶
type FontFamily ¶
FontFamily encapsulates a font family for easy adding to the document
func NewLatoFamily ¶
func NewLatoFamily() (*FontFamily, error)
NewLatoFamily returns a new FontFamily of the Lato font.
func NewLiberationSansFamily ¶
func NewLiberationSansFamily() (*FontFamily, error)
NewLiberationSansFamily returns a new FontFamily of the Liberation Sans font.
Click to show internal directories.
Click to hide internal directories.