SYMBOL INDEX (216 symbols across 26 files) FILE: color/color.go type RGBA (line 7) | type RGBA FILE: config/config.go type Config (line 19) | type Config struct method Adjust (line 73) | func (a *Config) Adjust(args []string, ev EnvVars) error { method SetFontFileAndFontIndex (line 155) | func (a *Config) SetFontFileAndFontIndex(runtimeOS string) { method addTimeStampToOutPath (line 206) | func (a *Config) addTimeStampToOutPath(t time.Time) { method addNumberSuffixToOutPath (line 218) | func (a *Config) addNumberSuffixToOutPath() { method setWriter (line 242) | func (a *Config) setWriter() error { type osDefaultFont (line 54) | type osDefaultFont struct constant ShellgeiEmojiFontPath (line 60) | ShellgeiEmojiFontPath = "/usr/share/fonts/truetype/ancient-scripts/Symbo... constant defaultWindowsFont (line 63) | defaultWindowsFont = `C:\Windows\Fonts\msgothic.ttc` constant defaultDarwinFont (line 64) | defaultDarwinFont = "/System/Library/Fonts/AppleSDGothicNeo.ttc" constant defaultIOSFont (line 65) | defaultIOSFont = "/System/Library/Fonts/Core/AppleSDGothicNeo.ttc" constant defaultAndroidFont (line 66) | defaultAndroidFont = "/system/fonts/NotoSansCJK-Regular.ttc" constant defaultLinuxFont1 (line 67) | defaultLinuxFont1 = "/usr/share/fonts/opentype/noto/NotoSansCJK-Regular... constant defaultLinuxFont2 (line 68) | defaultLinuxFont2 = "/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc" function validateInputText (line 276) | func validateInputText(texts []string) error { function validateFileExtension (line 291) | func validateFileExtension(ext string) error { function normalizeTexts (line 303) | func normalizeTexts(texts []string) []string { function readInputText (line 319) | func readInputText(args []string) []string { function outputImageDir (line 332) | func outputImageDir(outDir string, useAnimation bool) (string, error) { function optionColorStringToRGBA (line 353) | func optionColorStringToRGBA(colstr string) (color.RGBA, error) { function toSlideStrings (line 405) | func toSlideStrings(src []string, lineCount, slideWidth int, slideForeve... function removeZeroWidthCharacters (line 447) | func removeZeroWidthCharacters(s string) string { function readStdin (line 468) | func readStdin() (ret []string) { FILE: config/config_test.go function newDefaultConfig (line 13) | func newDefaultConfig() Config { function TestConfig_Adjust (line 42) | func TestConfig_Adjust(t *testing.T) { function TestOptionColorStringToRGBA (line 327) | func TestOptionColorStringToRGBA(t *testing.T) { function TestToSlideStrings (line 374) | func TestToSlideStrings(t *testing.T) { function TestRemoveZeroWidthCharacters (line 587) | func TestRemoveZeroWidthCharacters(t *testing.T) { function TestApplicationConfigSetFontFileAndFontIndex (line 607) | func TestApplicationConfigSetFontFileAndFontIndex(t *testing.T) { function TestApplicationConfig_AddTimeStampToOutPath (line 673) | func TestApplicationConfig_AddTimeStampToOutPath(t *testing.T) { function TestOutputImageDir (line 733) | func TestOutputImageDir(t *testing.T) { function TestApplicationConfig_AddNumberSuffixToOutPath (line 785) | func TestApplicationConfig_AddNumberSuffixToOutPath(t *testing.T) { FILE: config/envvar.go type EnvVars (line 8) | type EnvVars struct constant envNameOutputDir (line 16) | envNameOutputDir = "TEXTIMG_OUTPUT_DIR" constant envNameFontFile (line 17) | envNameFontFile = "TEXTIMG_FONT_FILE" constant envNameEmojiDir (line 18) | envNameEmojiDir = "TEXTIMG_EMOJI_DIR" constant envNameEmojiFontFile (line 19) | envNameEmojiFontFile = "TEXTIMG_EMOJI_FONT_FILE" function NewEnvVars (line 31) | func NewEnvVars() EnvVars { function PrintEnvs (line 40) | func PrintEnvs() { FILE: config/face.go function readFace (line 15) | func readFace(fontPath string, fontIndex int, fontSize float64) (font.Fa... FILE: config/face_test.go function TestReadFace (line 10) | func TestReadFace(t *testing.T) { FILE: config/writer_mock.go type MockWriter (line 8) | type MockWriter struct method Write (line 20) | func (m *MockWriter) Write(p []byte) (n int, err error) { method Close (line 27) | func (m *MockWriter) Close() error { function NewMockWriter (line 13) | func NewMockWriter(w, c bool) io.WriteCloser { FILE: image/encode.go method Encode (line 14) | func (i *Image) Encode(w io.Writer, ext string) error { function toPalettes (line 37) | func toPalettes(imgs []image.Image) (ret []*image.Paletted) { FILE: image/image.go type Image (line 19) | type Image struct method Draw (line 107) | func (i *Image) Draw(tokens token.Tokens) error { method drawBackgroundAll (line 159) | func (i *Image) drawBackgroundAll() { method updateColor (line 172) | func (i *Image) updateColor(t token.ColorType, col color.RGBA) { method resetColor (line 189) | func (i *Image) resetColor() { method resetPosition (line 194) | func (i *Image) resetPosition() { method newDrawer (line 200) | func (i *Image) newDrawer(f font.Face) *font.Drawer { method draw (line 217) | func (i *Image) draw(r rune) error { method setAnimationFlames (line 229) | func (i *Image) setAnimationFlames() error { method drawRune (line 260) | func (i *Image) drawRune(r rune, f font.Face) { method drawEmoji (line 265) | func (i *Image) drawEmoji(r rune, path string) error { method drawBackground (line 290) | func (i *Image) drawBackground(s string) { method moveRight (line 305) | func (i *Image) moveRight(r rune) { method moveDown (line 309) | func (i *Image) moveDown() { method newScaledImage (line 315) | func (i *Image) newScaledImage() *image.RGBA { method scale (line 332) | func (i *Image) scale() { type ImageParam (line 43) | type ImageParam struct function init (line 61) | func init() { function NewImage (line 66) | func NewImage(p *ImageParam) *Image { function newImage (line 103) | func newImage(w, h int) *image.RGBA { function scale (line 325) | func scale(img image.Image, w, h int) *image.RGBA { FILE: image/util.go function isEmoji (line 31) | func isEmoji(r rune, emojiDir string) (bool, string) { function isExceptionallyCodePoint (line 46) | func isExceptionallyCodePoint(r rune) bool { function isLinefeed (line 56) | func isLinefeed(r rune) bool { FILE: internal/global/env.go constant EnvNameOutputDir (line 4) | EnvNameOutputDir = "TEXTIMG_OUTPUT_DIR" constant EnvNameFontFile (line 5) | EnvNameFontFile = "TEXTIMG_FONT_FILE" constant EnvNameEmojiDir (line 6) | EnvNameEmojiDir = "TEXTIMG_EMOJI_DIR" constant EnvNameEmojiFontFile (line 7) | EnvNameEmojiFontFile = "TEXTIMG_EMOJI_FONT_FILE" FILE: internal/global/version.go constant AppName (line 4) | AppName = "textimg" constant Version (line 5) | Version = `3.1.10 FILE: log/log.go constant debugPrefix (line 13) | debugPrefix = "[DEBUG]" constant infoPrefix (line 14) | infoPrefix = "[INFO]" constant warnPrefix (line 15) | warnPrefix = "[WARN]" constant errorPrefix (line 16) | errorPrefix = "[ERROR]" function log (line 19) | func log(lvl string, msg interface{}) { function Debug (line 31) | func Debug(msg interface{}) { function Info (line 35) | func Info(msg interface{}) { function Warn (line 39) | func Warn(msg interface{}) { function Warnf (line 43) | func Warnf(format string, msg interface{}) { function Error (line 48) | func Error(msg interface{}) { FILE: log/log_test.go function TestDebug (line 7) | func TestDebug(t *testing.T) { FILE: main.go function main (line 7) | func main() { function Main (line 11) | func Main() int { FILE: main_test.go constant inDir (line 11) | inDir = "testdata/in" constant outDir (line 12) | outDir = "testdata/out" function TestMain (line 15) | func TestMain(m *testing.M) { function testBefore (line 21) | func testBefore() { FILE: parser/grammar.peg.go constant endSymbol (line 14) | endSymbol rune = 1114112 type pegRule (line 17) | type pegRule constant ruleUnknown (line 20) | ruleUnknown pegRule = iota constant ruleroot (line 21) | ruleroot constant ruleignore (line 22) | ruleignore constant rulecolors (line 23) | rulecolors constant ruletext (line 24) | ruletext constant rulecolor (line 25) | rulecolor constant rulestandard_color (line 26) | rulestandard_color constant ruleextended_color (line 27) | ruleextended_color constant ruleextended_color_256 (line 28) | ruleextended_color_256 constant ruleextended_color_rgb (line 29) | ruleextended_color_rgb constant ruleextended_color_prefix (line 30) | ruleextended_color_prefix constant ruletext_attributes (line 31) | ruletext_attributes constant rulezero (line 32) | rulezero constant rulenumber (line 33) | rulenumber constant ruleprefix (line 34) | ruleprefix constant ruleescape_sequence (line 35) | ruleescape_sequence constant rulecolor_suffix (line 36) | rulecolor_suffix constant rulenon_color_suffix (line 37) | rulenon_color_suffix constant ruledelimiter (line 38) | ruledelimiter constant ruleAction0 (line 39) | ruleAction0 constant rulePegText (line 40) | rulePegText constant ruleAction1 (line 41) | ruleAction1 constant ruleAction2 (line 42) | ruleAction2 constant ruleAction3 (line 43) | ruleAction3 constant ruleAction4 (line 44) | ruleAction4 constant ruleAction5 (line 45) | ruleAction5 constant ruleAction6 (line 46) | ruleAction6 constant ruleAction7 (line 47) | ruleAction7 constant ruleAction8 (line 48) | ruleAction8 constant ruleAction9 (line 49) | ruleAction9 constant ruleAction10 (line 50) | ruleAction10 constant ruleAction11 (line 51) | ruleAction11 type token32 (line 89) | type token32 struct method String (line 94) | func (t *token32) String() string { type node32 (line 98) | type node32 struct method print (line 103) | func (node *node32) print(w io.Writer, pretty bool, buffer string) { method Print (line 126) | func (node *node32) Print(w io.Writer, buffer string) { method PrettyPrint (line 130) | func (node *node32) PrettyPrint(w io.Writer, buffer string) { type tokens32 (line 134) | type tokens32 struct method Trim (line 138) | func (t *tokens32) Trim(length uint32) { method Print (line 142) | func (t *tokens32) Print() { method AST (line 148) | func (t *tokens32) AST() *node32 { method PrintSyntaxTree (line 173) | func (t *tokens32) PrintSyntaxTree(buffer string) { method WriteSyntaxTree (line 177) | func (t *tokens32) WriteSyntaxTree(w io.Writer, buffer string) { method PrettyPrintSyntaxTree (line 181) | func (t *tokens32) PrettyPrintSyntaxTree(buffer string) { method Add (line 185) | func (t *tokens32) Add(rule pegRule, begin, end, index uint32) { method Tokens (line 194) | func (t *tokens32) Tokens() []token32 { type Parser (line 198) | type Parser struct method Parse (line 210) | func (p *Parser) Parse(rule ...int) error { method Reset (line 214) | func (p *Parser) Reset() { method PrintSyntaxTree (line 278) | func (p *Parser) PrintSyntaxTree() { method WriteSyntaxTree (line 286) | func (p *Parser) WriteSyntaxTree(w io.Writer) { method SprintSyntaxTree (line 290) | func (p *Parser) SprintSyntaxTree() string { method Execute (line 296) | func (p *Parser) Execute() { method Init (line 348) | func (p *Parser) Init(options ...func(*Parser) error) error { type textPosition (line 218) | type textPosition struct type textPositionMap (line 222) | type textPositionMap function translatePositions (line 224) | func translatePositions(buffer []rune, positions []int) textPositionMap { type parseError (line 249) | type parseError struct method Error (line 254) | func (e *parseError) Error() string { function Pretty (line 335) | func Pretty(pretty bool) func(*Parser) error { function Size (line 342) | func Size(size int) func(*Parser) error { FILE: parser/parser.go type ParserFunc (line 10) | type ParserFunc struct method pushResetColor (line 28) | func (p *ParserFunc) pushResetColor() { method pushResetForegroundColor (line 32) | func (p *ParserFunc) pushResetForegroundColor() { method pushResetBackgroundColor (line 36) | func (p *ParserFunc) pushResetBackgroundColor() { method pushReverseColor (line 40) | func (p *ParserFunc) pushReverseColor() { method pushText (line 44) | func (p *ParserFunc) pushText(text string) { method pushStandardColorWithCategory (line 48) | func (p *ParserFunc) pushStandardColorWithCategory(text string) { method pushExtendedColor (line 52) | func (p *ParserFunc) pushExtendedColor(text string) { method setExtendedColor256 (line 56) | func (p *ParserFunc) setExtendedColor256(text string) { method setExtendedColorR (line 61) | func (p *ParserFunc) setExtendedColorR(text string) { method setExtendedColorG (line 66) | func (p *ParserFunc) setExtendedColorG(text string) { method setExtendedColorB (line 71) | func (p *ParserFunc) setExtendedColorB(text string) { function Parse (line 15) | func Parse(s string) (token.Tokens, error) { FILE: parser/parser_test.go function TestParse (line 11) | func TestParse(t *testing.T) { FILE: root.go function init (line 21) | func init() { function RunRootCommand (line 79) | func RunRootCommand(c config.Config, args []string, envs config.EnvVars)... function complementWidthHeight (line 138) | func complementWidthHeight(x, y, w, h int) (int, int) { FILE: root_common_test.go function newDefaultConfig (line 5) | func newDefaultConfig() config.Config { FILE: root_on_docker_test.go function TestRunRootCommandOnDocker (line 17) | func TestRunRootCommandOnDocker(t *testing.T) { FILE: root_test.go function TestRunRootCommand (line 13) | func TestRunRootCommand(t *testing.T) { function TestComplementWidthHeight (line 526) | func TestComplementWidthHeight(t *testing.T) { FILE: scripts/width/main.go function main (line 22) | func main() { FILE: token/token.go type Kind (line 12) | type Kind type ColorType (line 13) | type ColorType type Token (line 14) | type Token struct type Tokens (line 20) | type Tokens method MaxStringWidth (line 114) | func (t *Tokens) MaxStringWidth() int { method StringLines (line 135) | func (t *Tokens) StringLines() []string { constant KindEmpty (line 24) | KindEmpty Kind = iota constant KindText (line 25) | KindText constant KindColor (line 26) | KindColor constant KindNotColor (line 27) | KindNotColor constant ColorTypeReset (line 29) | ColorTypeReset ColorType = iota constant ColorTypeBold (line 30) | ColorTypeBold constant ColorTypeDim (line 31) | ColorTypeDim constant ColorTypeItalic (line 32) | ColorTypeItalic constant ColorTypeUnderline (line 33) | ColorTypeUnderline constant ColorTypeBlink (line 34) | ColorTypeBlink constant ColorTypeSpeedyBlink (line 35) | ColorTypeSpeedyBlink constant ColorTypeReverse (line 36) | ColorTypeReverse constant ColorTypeHide (line 37) | ColorTypeHide constant ColorTypeDelete (line 38) | ColorTypeDelete constant ColorTypeForeground (line 39) | ColorTypeForeground constant ColorTypeBackground (line 40) | ColorTypeBackground constant ColorTypeResetForeground (line 41) | ColorTypeResetForeground constant ColorTypeResetBackground (line 42) | ColorTypeResetBackground function init (line 45) | func init() { function NewResetColor (line 50) | func NewResetColor() Token { function NewResetForegroundColor (line 57) | func NewResetForegroundColor() Token { function NewResetBackgroundColor (line 64) | func NewResetBackgroundColor() Token { function NewReverseColor (line 71) | func NewReverseColor() Token { function NewText (line 78) | func NewText(text string) Token { function NewStandardColorWithCategory (line 85) | func NewStandardColorWithCategory(text string) Token { function NewExtendedColor (line 94) | func NewExtendedColor(text string) Token { function colorType (line 103) | func colorType(n int) ColorType { FILE: token/token_test.go function TestToken_MaxStringWidth (line 10) | func TestToken_MaxStringWidth(t *testing.T) { function TestToken_StringLines (line 93) | func TestToken_StringLines(t *testing.T) {