parent
838c65dce2
commit
4d3200b4db
5 changed files with 84 additions and 49 deletions
@ -1,35 +1,37 @@ |
||||
To generate hashes and store it in the ./hashes folder, |
||||
|
||||
1) sudo make hash |
||||
(set resoluton in DPI by passing argument |
||||
example: sudo make DPI=100, if not specified,default is 72) |
||||
1) sudo make hash |
||||
(set resoluton in DPI by passing argument |
||||
example: sudo make DPI=100, if not specified,default is 72) |
||||
|
||||
2) Usage ./hash <font_file> <pt_size> <render_mode> |
||||
2) Usage ./hash <font_file> <pt_size> <render_mode> |
||||
|
||||
Hashes will be saved in a file named $(font)_$(pt_size)_$(render_mode).hash |
||||
Hashes will be saved in a file named |
||||
$(font)_$(pt_size)_$(render_mode).hash |
||||
|
||||
By default, hashes of 256-level gray bitmaps will be generated |
||||
By default, hashes of 256-level gray bitmaps will be generated |
||||
|
||||
Values for render_mode 0 - monochrome |
||||
1 - anti-aliased |
||||
2 - lcd horizontal |
||||
3 - lcd vertical |
||||
Values for render_mode 0 - monochrome |
||||
1 - anti-aliased |
||||
2 - lcd horizontal |
||||
3 - lcd vertical |
||||
|
||||
To generate 32-bit RGBA PNG(s) of all glyphs in a font\n |
||||
|
||||
1) sudo make png |
||||
(set resoluton in DPI by passing argument |
||||
example: sudo make DPI=100, if not specified,default is 72) |
||||
1) sudo make png |
||||
(set resoluton in DPI by passing argument |
||||
example: sudo make DPI=100, if not specified,default is 72) |
||||
|
||||
2.Usage ./<exe> <font_file> <pt_size> <render_mode> |
||||
2.Usage ./<exe> <font_file> <pt_size> <render_mode> |
||||
|
||||
Images will be saved in a file named $(font)_$(pt_size)_$(render_mode)_$(glyph_index).png |
||||
Images will be saved in a file named |
||||
$(font)_$(pt_size)_$(render_mode)_$(glyph_index).png |
||||
|
||||
By default, hashes of 256-level gray bitmaps will be generated |
||||
By default, hashes of 256-level gray bitmaps will be generated |
||||
|
||||
Values for render_mode 0 - monochrome |
||||
1 - anti-aliased |
||||
2 - lcd horizontal-RGB |
||||
3 - lcd horizontal-BGR |
||||
4 - lcd vertical-RGB |
||||
5 - lcd vertical-BGR |
||||
Values for render_mode 0 - monochrome |
||||
1 - anti-aliased |
||||
2 - lcd horizontal-RGB |
||||
3 - lcd horizontal-BGR |
||||
4 - lcd vertical-RGB |
||||
5 - lcd vertical-BGR |
Loading…
Reference in new issue