Marlin
所属分类:其他
开发工具:C/C++
文件大小:850KB
下载次数:3
上传日期:2018-06-07 21:39:13
上 传 者:
小边边
说明: 3d打印固件烧录,用开源控制软件就可以,非常好用
(3D printing firmware burning)
文件列表:
Marlin\blinkm.cpp (479, 2015-12-01)
Marlin\blinkm.h (147, 2015-12-01)
Marlin\boards.h (4120, 2015-12-01)
Marlin\buzzer.cpp (1021, 2015-12-01)
Marlin\buzzer.h (126, 2015-12-01)
Marlin\cardreader.cpp (16040, 2015-12-01)
Marlin\cardreader.h (3139, 2015-12-01)
Marlin\Conditionals.h (17089, 2015-12-01)
Marlin\Configuration.h (41321, 2017-06-11)
Marlin\Configuration_adv.h (28157, 2015-12-01)
Marlin\configuration_store.cpp (26874, 2015-12-01)
Marlin\configuration_store.h (558, 2015-12-01)
Marlin\configurator\config\boards.h (3701, 2015-12-01)
Marlin\configurator\config\Configuration.h (41322, 2015-12-01)
Marlin\configurator\config\Configuration_adv.h (28090, 2015-12-01)
Marlin\configurator\config\language.h (10129, 2015-12-01)
Marlin\configurator\config\_htaccess (43, 2015-12-01)
Marlin\configurator\css\configurator.css (8345, 2015-12-01)
Marlin\configurator\css\logo.png (1266, 2015-12-01)
Marlin\configurator\index.html (4387, 2015-12-01)
Marlin\configurator\js\binaryfileuploader.js (1906, 2015-12-01)
Marlin\configurator\js\binarystring.js (3761, 2015-12-01)
Marlin\configurator\js\configurator.js (50309, 2015-12-01)
Marlin\configurator\js\FileSaver.min.js (4435, 2015-12-01)
Marlin\configurator\js\jcanvas.js (12518, 2015-12-01)
Marlin\configurator\js\jquery-2.1.3.min.js (84319, 2015-12-01)
Marlin\configurator\js\jstepper.js (6405, 2015-12-01)
Marlin\configurator\js\jszip.min.js (75490, 2015-12-01)
Marlin\Default_Version.h (578, 2015-12-01)
Marlin\digipot_mcp4451.cpp (1601, 2015-12-01)
Marlin\dogm_bitmaps.h (17583, 2016-07-30)
Marlin\dogm_font_data_6x9_marlin.h (9575, 2015-12-01)
Marlin\dogm_font_data_HD44780_C.h (10306, 2015-12-01)
Marlin\dogm_font_data_HD44780_J.h (10040, 2015-12-01)
Marlin\dogm_font_data_HD44780_W.h (12486, 2015-12-01)
Marlin\dogm_font_data_ISO10646_1.h (10574, 2015-12-01)
Marlin\dogm_font_data_ISO10646_5_Cyrillic.h (10575, 2015-12-01)
Marlin\dogm_font_data_ISO10646_CN.h (17515, 2015-12-01)
Marlin\dogm_font_data_ISO10646_Kana.h (10181, 2015-12-01)
Marlin\dogm_font_data_Marlin_symbols.h (1064, 2015-12-01)
... ...
The fonts are created with Fony.exe (http://hukka.ncn.fi/?fony) because Fontforge didn't do what I want (probably lack of 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 ', replace 'U8G_FONT_SECTION' with 'U8G_SECTION', insert '.progmem.' right behind the first '"' and moved to the main directory.
How to integrate a new font:
Currently we are limited to 256 symbols per font. We use a menu system with 5 lines, on a display with *** 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.
To fit 22 Symbols on the 128 pixel wide screen, the symbols can't be wider than 5 pixel, for the first 128 symbols.
For the second half of the font we now support up to 11x11 pixel.
* Get 'Fony.exe'
* Copy one of the existing *.fon files and work with this.
* Change the pixels. Don't change width or height.
* Export as *.bdf
* Use 'bdf2u8g.exe' to produce the *.h file. Examples for the existing fonts are in 'make_fonts.bat'
* Edit the produced .h file to match our needs. See hints in 'README.fonts' or the other 'dogm_font_data_.h' files.
* Make a new entry in the font list in 'dogm_lcd_implementation.h' before the '#else // fall back'
#elif ENABLED(DISPLAY_CHARSET_NEWNAME)
#include "dogm_font_data_yourfont.h"
#define FONT_MENU_NAME YOURFONTNAME
#else // fall-back
* Add your font to the list of permitted fonts in 'language_en.h'
... || ENABLED(DISPLAY_CHARSET_YOUR_NEW_FONT) ... )
Especially the Kana font should be revised by someone who knows what he/she does. I am only a west-European with very little knowledge about this script.
近期下载者:
相关文件:
收藏者: