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

Thread: ILI9341_t3 font editor

  1. #1
    Junior Member
    Join Date
    Nov 2018
    Posts
    11

    ILI9341_t3 font editor

    Hi!

    Since I couldn't find an easy to use tool for creating and editing fonts for ILI9341_t3, I've created one. So, here it is, Embedded Font Creator:

    Click image for larger version. 

Name:	Screenshot1.png 
Views:	67 
Size:	52.6 KB 
ID:	15186

    Features:
    • Create font from scratch (specify size, default offset and delta)
    • Create font from existing system TTF font
    • Easy to use editor with zoom (mouse wheel) and scroll (middle button) as well as continuous drawing
    • Preview the whole font or specific string
    • Batch glyph operations allows quick tweaks (for instance, batch offset change)
    • Quick optimization of character or the whole set (removes empty columns and rows while keeping character's position and size)
    • Export to ILI9341_t3 format (.h + .cpp)


    Some more screenshots:

    Click image for larger version. 

Name:	Screenshot2.png 
Views:	48 
Size:	9.0 KB 
ID:	15187

    Click image for larger version. 

Name:	Screenshot3.jpg 
Views:	50 
Size:	302.2 KB 
ID:	15188

    Currently available as source from my repository: https://gitlab.com/spook/embeddedfonteditor (if there's an interest, I'll prepare binary pack). Requires Visual Studio 2017 to build.

    Many thanks to Paul for his extensive help on developing this one!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot1.png 
Views:	49 
Size:	56.2 KB 
ID:	15185  

  2. #2
    Senior Member
    Join Date
    Dec 2014
    Posts
    306
    That's excellent! Really nice work.
    It's not too much trouble to build it, but not all users of Teensy will necessarily use Visual Studio, so may make it more accessible for those users.

  3. #3
    Junior Member
    Join Date
    Nov 2018
    Posts
    11
    Quote Originally Posted by Cosford View Post
    That's excellent! Really nice work.
    It's not too much trouble to build it, but not all users of Teensy will necessarily use Visual Studio, so may make it more accessible for those users.
    I cannot find a way to create a release in the GitLab, so I'll put the build here, attached to this post. Have fun and please tell me what you think about this app.

    EmbeddedFontEditor.zip
    Last edited by spook; 11-18-2018 at 01:42 PM.

  4. #4
    Senior Member
    Join Date
    Dec 2013
    Posts
    234
    I just wanted to say thank you for this app, easy to use and extremely useful.

  5. #5
    Senior Member
    Join Date
    Apr 2017
    Posts
    191
    Yea, this tool is a total home run.

  6. #6
    Junior Member
    Join Date
    Nov 2018
    Posts
    11
    Quote Originally Posted by KrisKasprzak View Post
    Yea, this tool is a total home run.
    Thanks, this is nice to hear

    Grab a little newer version, a couple of tweaks and small features (ie. importing glyph from image)

    Best regards -- Spook.
    Attached Files Attached Files

  7. #7
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    20,767
    I gave this a shout-out on social networking today.

    https://twitter.com/PaulStoffregen/s...79061894070277

    Robin published on the blog about a week ago too.

    https://www.pjrc.com/ili9341_t3-font-editor/

  8. #8
    Senior Member
    Join Date
    Apr 2017
    Posts
    191
    Spook: I'll have to commend you once again!. This font editor totally rocks! I downloaded a free "seven segment" ttf font and used it to create a 120 point font for my 2.8" tft. Since i only need numbers this tool lets you omit text. I was able to customize the spacing to squeeze the numbers closer. My giant numbers require little RAM. Kudos to the author for putting this together. I'd vote to deliver with the the teensyduino so others can find it easily (if allowed).

Posting Permissions

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