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
arduino:custom_fonts_for_ucglib [2019/09/21 20:40] mithatarduino:custom_fonts_for_ucglib [2021/02/04 02:08] (current) – [Add new code to Ucglib] mithat
Line 7: Line 7:
   * Use ''bdconf'' to convert the BDF format to C.   * Use ''bdconf'' to convert the BDF format to C.
   * Add the new code to the appropriate Ucglib file.   * Add the new code to the appropriate Ucglib file.
 +
 +Details are provided below.
  
 ===== Requirements ===== ===== Requirements =====
Line 51: Line 53:
 ==== Add new code to Ucglib ==== ==== Add new code to Ucglib ====
  
-Paste the content of the new C file to ''%%src/clib/ucg_pixel_font_data.c%%'' -- making sure to remove the redundant +  - Paste the content of the new C file to ''%%src/clib/ucg_pixel_font_data.c%%'' --- making sure to remove the redundant<code c>#include "ucg.h"</code> 
- +  Add an ''%%extern%%'' entry for the above variable 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.1569098410.txt.gz · Last modified: 2019/09/21 20:40 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki