AnHardt преди 9 години
родител
ревизия
1d9699be0f
променени са 2 файла, в които са добавени 8 реда и са изтрити 6 реда
  1. 5
    4
      Documentation/LCDLanguageFont.md
  2. 3
    2
      Marlin/fonts/README.fonts

+ 5
- 4
Documentation/LCDLanguageFont.md Целия файл

@@ -46,11 +46,9 @@ We have two different technologies for the displays:
46 46
   * nl    Dutch
47 47
   * ca    Catalan
48 48
   * eu    Basque-Euskera
49
+  * cn    Chinese
50
+  * jp    Japanese (Katakana)
49 51
 
50
-  and recently on [Thingiverse](http://www.thingiverse.com/) a new port to
51
-  * jp    [Japanese](http://www.thingiverse.com/thing:664397)
52
-
53
- appeared.
54 52
 
55 53
 ## The Problem
56 54
   All of this languages, except the English, normally use extended symbol sets, not contained in US-ASCII.
@@ -132,6 +130,9 @@ We have two different technologies for the displays:
132 130
 
133 131
   You'll find all translatable strings in 'language_en.h'. Please don't translate any strings from 'language.h', this may break the serial protocol.
134 132
 
133
+  For information about fonts see: Marlin\fonts\README.fonts
134
+
135
+
135 136
 ## User Instructions
136 137
    Define your hardware and the wanted language in 'Configuration.h'.
137 138
    To find out what charset your hardware is, define language 'test' and compile. In the menu you will see two lines from the upper half of the charset.

+ 3
- 2
Marlin/fonts/README.fonts Целия файл

@@ -4,8 +4,9 @@ Then run make_fonts.bat what calls bdf2u8g.exe with the needed parameters to pro
4 4
 The .h files must be edited to replace '#include "u8g.h"' with '#include <utility/u8g.h>', replace 'U8G_FONT_SECTION' with 'U8G_SECTION', insert '.progmem.' right behind the first '"' and moved to the main directory.
5 5
 
6 6
 How to integrate a new font:
7
-Currently we are limited to 256 symbols per font. We use a menu system with 5 lines, on a display with 64 pixel height. That means we have 12 pixel for a line. To have some space in between the lines we can't use more then 10 pixel height for the symbols.
8
-We use fixed width fonts. To fit 22 Symbols on the 128 pixel wide screen, the symbols can't be wider than 5 pixel. Maybe you can work with half symbols - two places in the charset will than build one wide symbol.
7
+Currently we are limited to 256 symbols per font. We use a menu system with 5 lines, on a display with 64 pixel height. That means we have 12 pixel for a line. To have some space in between the lines we can't use more then 10 pixel height for the symbols. For up to 11 pixel set TALL_FONT_CORRECTION 1 when loading the font.
8
+To fit 22 Symbols on the 128 pixel wide screen, the symbols can't be wider than 5 pixel, for the first 128 symbols.
9
+For the second half of the font we now support up to 11x11 pixel. 
9 10
 
10 11
  * Get 'Fony.exe'
11 12
  * Copy one of the existing *.fon files and work with this.

Loading…
Отказ
Запис