Documentation
¶
Overview ¶
Package plan9font implements font faces for the Plan 9 font and subfont file formats. These formats are described at http://plan9.bell-labs.com/magic/man2html/6/font
Deprecated: use "golang.org/x/image/font/plan9font" instead.
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFont ¶
ParseFont parses a Plan 9 font file. data is the contents of that font file, which gives relative filenames for subfont files. readFile returns the contents of those subfont files. It is similar to io/ioutil's ReadFile function, except that it takes a relative filename instead of an absolute one.
Example ¶
Output: 0 ..................X......... 1 .................X.X........ 2 .XXXX..XXXXXX....X.....XXX.. 3 X....X.X.........X....XX.XX. 4 X.......X........X....X.X.X. 5 X........X.......X....XXX.X. 6 .XXXX.....X......X....XX.XX. 7 .....X...X.......X....XX.XX. 8 .....X..X........X....XXXXX. 9 X....X.X.........X....XX.XX. 0 .XXXX..XXXXXX....X.....XXX.._ 1 ...............X.X.......... 2 ................X...........
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.