github.com/blend/go-sdk@v1.20220411.3/ansi/slant/font.go (about)

     1  /*
     2  
     3  Copyright (c) 2022 - Present. Blend Labs, Inc. All rights reserved
     4  Use of this source code is governed by a MIT license that can be found in the LICENSE file.
     5  
     6  */
     7  
     8  package slant
     9  
    10  // Font represents a single font.
    11  type Font struct {
    12  	// Height of one char
    13  	Height int
    14  	// Baseline is the height of letters not including descenders.
    15  	Baseline int
    16  	// Width of the widest char
    17  	Width int
    18  	// Hardblank symbol is the non-smushable space character.
    19  	Hardblank rune
    20  	// A string for each line of the char
    21  	Letters [][]string
    22  }