ソースを参照

Added font tools

AnHardt 9年前
コミット
b14270b029
3個のファイルの変更12行の追加0行の削除
  1. 6
    0
      Marlin/scripts/Fonts/README.fonts
  2. バイナリ
      Marlin/scripts/Fonts/bdf2u8g.exe
  3. 6
    0
      Marlin/scripts/Fonts/make_fonts.bat

+ 6
- 0
Marlin/scripts/Fonts/README.fonts ファイルの表示

@@ -0,0 +1,6 @@
1
+The fonts are created with Fony.exe (http://hukka.ncn.fi/?fony) because Fontforge didn't do what I want (probably lack off experience). 
2
+In Fony export the fonts to bdf-format. Maybe another one can edit them with Fontforge.
3
+Then run make_fonts.bat what calls bdf2u8g.exe with the needed parameters to produce the .h files.
4
+The .h files must be edited to replace '#include "u8g.h"' with '#include <utility/u8g.h>' and moved to the main directory.
5
+
6
+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.

バイナリ
Marlin/scripts/Fonts/bdf2u8g.exe ファイルの表示


+ 6
- 0
Marlin/scripts/Fonts/make_fonts.bat ファイルの表示

@@ -0,0 +1,6 @@
1
+.\bdf2u8g.exe -b 1 -e 9 Marlin_symbols.bdf Marlin_symbols dogm_font_data_Marlin_symbols.h
2
+.\bdf2u8g.exe -b 16 -e 255 HD44780_W.bdf HD44780_W_5x7 dogm_font_data_HD44780_W.h
3
+.\bdf2u8g.exe -b 32 -e 255 HD44780_C.bdf HD44780_C_5x7 dogm_font_data_HD44780_C.h
4
+.\bdf2u8g.exe -b 32 -e 255 HD44780_J.bdf HD44780_J_5x7 dogm_font_data_HD44780_J.h
5
+.\bdf2u8g.exe -b 32 -e 255 ISO10646_5_Cyrillic.bdf ISO10646_5_Cyrillic_5x7 dogm_font_data_ISO10646_5_Cyrillic.h
6
+.\bdf2u8g.exe -b 32 -e 255 ISO10646_Kana.bdf ISO10646_Kana_5x7 dogm_font_data_ISO10646_Kana.h

読み込み中…
キャンセル
保存