Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFont ¶
FindFont uses Fontconfig to find the path to a font file given a string-formatted Fontconfig pattern (a font name) and weight.
It returns the path of the font file, discarding additional properties that may have been provided.
The Fontconfig pattern syntax ("Font name") is described at: https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#AEN36
Types ¶
type Email ¶
type FontPathOptions ¶
func FindFonts ¶
func FindFonts(headerFontName, contentFontName string) (FontPathOptions, error)
type RenderOptions ¶
type RenderOptions struct {
PageFormat string
LogoPath string
FontPaths FontPathOptions
}
Click to show internal directories.
Click to hide internal directories.
