User Tools

Site Tools


arduino:custom_fonts_for_ucglib

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
arduino:custom_fonts_for_ucglib [2018/11/15 17:38] – [Convert OTF or TTF to BDF] mithatarduino:custom_fonts_for_ucglib [2018/11/15 20:28] – [Add new code to Ucglib] mithat
Line 11: Line 11:
 ==== Building bdfconv ==== ==== Building bdfconv ====
  
-Download the [[https://github.com/olikraus/ucglib|Ucglib repository]], head into ''%%tools/font/bdfconv%%'' and+Download the [[https://github.com/olikraus/ucglib|Ucglib repository]], move into ''%%tools/font/bdfconv%%'' and
  
 <code shell> <code shell>
Line 44: Line 44:
 ==== Add new code to Ucglib ==== ==== Add new code to Ucglib ====
  
-Paste the content of the new file to ''%%src/clib/ucg_pixel_font_data.c%%''+Paste the content of the new file to ''%%src/clib/ucg_pixel_font_data.c%%'' -- making sure to remove the redundant
  
-Add an ''%%extern%%'' entry for the above to ''%%src/clib/ucg.h%%''+<code c> 
 +#include "ucg.h" 
 +</code> 
 + 
 +Add an ''%%extern%%'' entry for the above variable to ''%%src/clib/ucg.h%%''
  
  
  
arduino/custom_fonts_for_ucglib.txt · Last modified: 2021/02/04 02:08 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki