Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
CharWidth: 10,
LineHeight: 19,
LineShift: 4,
LineBreak: "\n",
PageCols: 80,
PageRows: 24,
Padding: 10,
MonoRegularFontBytes: monoRegularFontData,
MonoRegularFontPoints: 16.0,
MonoBoldFontBytes: monoBoldFontData,
MonoBoldFontPoints: 16.0,
MonoObliqueFontBytes: monoObliqueFontData,
MonoObliqueFontPoints: 16.0,
MonoObliqueBoldFontBytes: monoBoldObliqueFontData,
MonoObliqueBoldFontPoints: 16.0,
}
DefaultConfig represents default configuration for converter.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Text settings. CharWidth int LineHeight int LineShift int LineBreak string // Page settings. PageCols int PageRows int Padding int // Font settings. MonoRegularFontBytes []byte MonoRegularFontPoints float64 MonoBoldFontBytes []byte MonoBoldFontPoints float64 MonoObliqueFontBytes []byte MonoObliqueFontPoints float64 MonoObliqueBoldFontBytes []byte MonoObliqueBoldFontPoints float64 }
Config represents converter configuration.
Click to show internal directories.
Click to hide internal directories.