AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Projekte Adafruit Crate Font for Adafruit_GFX.h

Adafruit Crate Font for Adafruit_GFX.h

Ein Thema von ATS3788 · begonnen am 24. Mär 2018 · letzter Beitrag vom 3. Dez 2018
Antwort Antwort
Benutzerbild von ATS3788
ATS3788
Registriert seit: 18. Mär 2004
https://learn.adafruit.com/adafruit-...ry/using-fonts
https://github.com/adafruit/Adafruit_ILI9341

The Idea of this Project was, to use the given CMD shell and create a nice GUI to create
a nice font for LCD Displays

This is for Arduino Users and the Wonderful Library from Adafruit,which
I use for the ILI9341 Display

In my case it did not work with header files I have to include
the font this way
Code:
#include <Adafruit_GFX.h> // Hardware-specific library
#include <MCUFRIEND_kbv.h>
#include "Comic12pt.c"
#include "comici10pt.c"

void PrintGradZeichen(void)
{
      tft.setFont(&_comici_grad10pt_);
      tft.print('°');
      tft.setFont(&_comici10pt_);
}
in PrintGradZeichen I'm able to load just the "°" Char, so we don't waste memory with all the Junk Chars in between.

You can try to load a font with Get Automatic Font name, but this does not work always
so with get Manual font name write the font name "comic.ttf" without the extantion into the right Edit Field.
Then press Font Convert. This does not work sometimes with the first Hit so press it again then you get the Header then
press Convert to source save this file into the right Folder I use Sloeber Eclipse and it works perfect.
Angehängte Dateien
Dateityp: 7z FontConverter.7z (4,27 MB, 13x aufgerufen)
 
Benutzerbild von ATS3788
ATS3788

 
Delphi XE Starter
 
#2
  Alt 7. Nov 2018, 20:48
Sorry da ist was falsch gelaufen werde das bereinigen wenn ich wieder in Deutschland bin.
Martin MIchael
  Mit Zitat antworten Zitat
Benutzerbild von ATS3788
ATS3788

 
Delphi XE Starter
 
#3
  Alt 3. Dez 2018, 20:34
Wie gesagt Sorry Mein AntiVir hat die Datei fonconvert.exe gelöscht gehabt.
Angehängte Dateien
Dateityp: zip ArduinoFontConverter.zip (2,90 MB, 7x aufgerufen)
Martin MIchael
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:18 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz