-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6db6f0
commit 7d544b6
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
otf2bdf - converts truetype to BDF font format | ||
|
||
https://www.math.nmsu.edu/~mleisher/Software/otf2bdf/ | ||
|
||
sudo apt-get install otf2bdf | ||
|
||
|
||
|
||
|
||
Per-font encoding: | ||
|
||
#bits for horiz advance | ||
#bits for width | ||
#bits for height | ||
#bits for x offset | ||
#bits for y offset | ||
#bits in offsets table | ||
table of offset for all chars | ||
|
||
Per-char encoding: | ||
|
||
WIDTH | ||
BBX: width, height | ||
BBX: x offset, y offset | ||
pixel data, bit packed: | ||
if 1st bit = 0, rest is bits for 1 line | ||
if 1st bit = 1, next 3 bits are #repeat (0 to 5), followed by 1 line | ||
|
||
|
||
|
||
|