Documentation ¶
Index ¶
- Constants
- func FPrintLines(w io.Writer, lines []FigText, hardblank rune, maxwidth int, align string)
- func FPrintMsg(w io.Writer, msg string, f *Font, maxwidth int, s Settings, align string)
- func FontNamesInDir(dir string) ([]string, error)
- func GuessFontsDirectory() string
- func PrintLines(lines []FigText, hardblank rune, maxwidth int, align string)
- func PrintMsg(msg string, f *Font, maxwidth int, s Settings, align string)
- func SprintMsg(msg string, f *Font, maxwidth int, s Settings, align string) string
- type FigText
- type Font
- type Settings
Constants ¶
View Source
const ( SMEqual = 1 SMLowLine = 2 SMHierarchy = 4 SMPair = 8 SMBigX = 16 SMHardBlank = 32 SMKern = 64 SMSmush = 128 )
smush modes
Variables ¶
This section is empty.
Functions ¶
func FPrintLines ¶
func FontNamesInDir ¶
func GuessFontsDirectory ¶
func GuessFontsDirectory() string
Types ¶
type Font ¶
type Font struct {
// contains filtered or unexported fields
}
func GetFontByName ¶
func ReadFontFromBytes ¶
Click to show internal directories.
Click to hide internal directories.