Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 7 of 7

Thread: ILI9341 Ethnocentric Font

  1. #1

    ILI9341 Ethnocentric Font

    Hi Guys,

    A search for this font revealed no results and am hoping someone else has this available or can shed some light on how to go about getting this font to work with the ili9341. Finishing up on a new product using a T4 and 2.8" touchscreen TFT and would like to put my company name/logo on startup.... which uses this particular font.

    Any help is greatly appreciated!

    -Ash

  2. #2
    First get the ttf font, maybe this site is what you are looking for?
    https://www.dafont.com/ethnocentric.font

    Then watch this vid on how to convert the font into an ILI9341 font
    https://youtu.be/YNUbvpTaaCY


    You will need to get the conversion tool from here
    https://spooksoft.pl/download/

  3. #3
    Hi Kris!
    Thanks for the reply, however, when I go to that website there are only 3 programs available and none of them appear to be something that would do this conversion. :-( Please advise.
    -Ash

  4. #4
    Nevermind. I found it in your youtube page as a link on another thread over here on pjrc.

  5. #5
    Is this compatible with the ILI9341-T3N library?

  6. #6
    When creating a custom font and placing it into my ili9341_t3n library folder with the other fonts used in this project, I get a slew of errors when I compile.. :-(

    <code>

    In file included from C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N/ili9341_font_Ethno.h:4:0,

    from D:\Arduino - FINALCOMPILATIONS\Touchscreen Boost Controller\ZZ-FinalCut\ZZ-FinalCut.ino:28:

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341_t 3-master/ILI9341_t3.h:176:0: warning: "ILI9341_SPICLOCK" redefined

    #define ILI9341_SPICLOCK 40000000

    ^

    In file included from D:\Arduino - FINALCOMPILATIONS\Touchscreen Boost Controller\ZZ-FinalCut\ZZ-FinalCut.ino:23:0:

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N/ILI9341_t3n.h:244:0: note: this is the location of the previous definition

    #define ILI9341_SPICLOCK 75000000

    ^

    In file included from C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N/ili9341_font_Ethno.h:4:0,

    from D:\Arduino - FINALCOMPILATIONS\Touchscreen Boost Controller\ZZ-FinalCut\ZZ-FinalCut.ino:28:

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341_t 3-master/ILI9341_t3.h:177:0: warning: "ILI9341_SPICLOCK_READ" redefined

    #define ILI9341_SPICLOCK_READ 200000

    ^

    In file included from D:\Arduino - FINALCOMPILATIONS\Touchscreen Boost Controller\ZZ-FinalCut\ZZ-FinalCut.ino:23:0:

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N/ILI9341_t3n.h:245:0: note: this is the location of the previous definition

    #define ILI9341_SPICLOCK_READ 100000

    ^

    In file included from C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N/ili9341_font_Ethno.h:4:0,

    from D:\Arduino - FINALCOMPILATIONS\Touchscreen Boost Controller\ZZ-FinalCut\ZZ-FinalCut.ino:28:

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341_t 3-master/ILI9341_t3.h:170:3: error: conflicting declaration 'typedef struct ILI9341_t3_font_t ILI9341_t3_font_t'

    } ILI9341_t3_font_t;

    ^

    In file included from D:\Arduino - FINALCOMPILATIONS\Touchscreen Boost Controller\ZZ-FinalCut\ZZ-FinalCut.ino:23:0:

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N/ILI9341_t3n.h:194:3: note: previous declaration as 'typedef struct ILI9341_t3_font_t ILI9341_t3_font_t'

    } ILI9341_t3_font_t;

    ^

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N/ILI9341_t3n.h:961:29: error: redefinition of 'class ILI9341_Button'

    #define Adafruit_GFX_Button ILI9341_Button

    ^

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341_t 3-master/ILI9341_t3.h:551:7: note: in expansion of macro 'Adafruit_GFX_Button'

    class Adafruit_GFX_Button {

    ^

    C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N/ILI9341_t3n.h:962:7: error: previous definition of 'class ILI9341_Button'

    class ILI9341_Button {

    ^

    Multiple libraries were found for "PID_v1.h"
    Used: C:\Users\Ash\Documents\Arduino\libraries\PID-1.2.0
    Not used: C:\Users\Ash\Documents\Arduino\libraries\Arduino-PID-Library-master
    Multiple libraries were found for "TimerOne.h"
    Used: C:\Program
    Multiple libraries were found for "SPI.h"
    Used: C:\Program
    Multiple libraries were found for "ILI9341_t3n.h"
    Used: C:\Users\Ash\Documents\Arduino\libraries\ILI9341-T3N
    Multiple libraries were found for "Wire.h"
    Used: C:\Program
    Multiple libraries were found for "ADC.h"
    Used: C:\Users\Ash\Documents\Arduino\libraries\ADC-master
    Multiple libraries were found for "CircularBuffer.h"
    Used: C:\Users\Ash\Documents\Arduino\libraries\CircularB uffer
    Multiple libraries were found for "ILI9341_t3.h"
    Used: C:\Users\Ash\Documents\Arduino\libraries\ILI9341_t 3-master
    Multiple libraries were found for "EEPROM.h"
    Used: C:\Program
    Multiple libraries were found for "XPT2046_Touchscreen.h"
    Used: C:\Users\Ash\Documents\Arduino\libraries\XPT2046_T ouchscreen
    Not used: C:\Program
    Error compiling for board Teensy 4.0.
    </code>

  7. #7
    FYI, when using this font maker with the ili9341_t3n library, you MUST go into the "font".h file and change the #include <ILI9341_t3.h> and add in the "n" after the "3"....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •