Moved font directory. Updated README.fonts
This commit is contained in:
BIN
Marlin/fonts/HD44780_C.fon
Normal file
BIN
Marlin/fonts/HD44780_C.fon
Normal file
Binary file not shown.
BIN
Marlin/fonts/HD44780_J.fon
Normal file
BIN
Marlin/fonts/HD44780_J.fon
Normal file
Binary file not shown.
BIN
Marlin/fonts/HD44780_W.fon
Normal file
BIN
Marlin/fonts/HD44780_W.fon
Normal file
Binary file not shown.
BIN
Marlin/fonts/ISO10646-5_Cyrillic.fon
Normal file
BIN
Marlin/fonts/ISO10646-5_Cyrillic.fon
Normal file
Binary file not shown.
BIN
Marlin/fonts/ISO10646_Kana.fon
Normal file
BIN
Marlin/fonts/ISO10646_Kana.fon
Normal file
Binary file not shown.
BIN
Marlin/fonts/Marlin_symbols.fon
Normal file
BIN
Marlin/fonts/Marlin_symbols.fon
Normal file
Binary file not shown.
6
Marlin/fonts/README.fonts
Normal file
6
Marlin/fonts/README.fonts
Normal file
@ -0,0 +1,6 @@
|
||||
The fonts are created with Fony.exe (http://hukka.ncn.fi/?fony) because Fontforge didn't do what I want (probably lack off experience).
|
||||
In Fony export the fonts to bdf-format. Maybe another one can edit them with Fontforge.
|
||||
Then run make_fonts.bat what calls bdf2u8g.exe with the needed parameters to produce the .h files.
|
||||
The .h files must be edited to replace '#include "u8g.h"' with '#include <utility/u8g.h>', replace 'U8G_FONT_SECTION' with 'U8G_SECTION', inset '.progmem.' right behind the first '"' and moved to the main directory.
|
||||
|
||||
Especially the Kana and Cyrillic fonts should be revised by someone who knows what he/she does. I am only a west-European with very little knowledge about this scripts.
|
BIN
Marlin/fonts/bdf2u8g.exe
Normal file
BIN
Marlin/fonts/bdf2u8g.exe
Normal file
Binary file not shown.
6
Marlin/fonts/make_fonts.bat
Normal file
6
Marlin/fonts/make_fonts.bat
Normal file
@ -0,0 +1,6 @@
|
||||
.\bdf2u8g.exe -b 1 -e 9 Marlin_symbols.bdf Marlin_symbols dogm_font_data_Marlin_symbols.h
|
||||
.\bdf2u8g.exe -b 16 -e 255 HD44780_W.bdf HD44780_W_5x7 dogm_font_data_HD44780_W.h
|
||||
.\bdf2u8g.exe -b 32 -e 255 HD44780_C.bdf HD44780_C_5x7 dogm_font_data_HD44780_C.h
|
||||
.\bdf2u8g.exe -b 32 -e 255 HD44780_J.bdf HD44780_J_5x7 dogm_font_data_HD44780_J.h
|
||||
.\bdf2u8g.exe -b 32 -e 255 ISO10646_5_Cyrillic.bdf ISO10646_5_Cyrillic_5x7 dogm_font_data_ISO10646_5_Cyrillic.h
|
||||
.\bdf2u8g.exe -b 32 -e 255 ISO10646_Kana.bdf ISO10646_Kana_5x7 dogm_font_data_ISO10646_Kana.h
|
Reference in New Issue
Block a user