Comments (5)
@sumotoy any tips on how to make custom fonts?
Tried a bunch of settings on the "LCD Image Converter" but get compile errors.
Thanks!
from ssd_13xx.
Yes, I would also like some guidance on how to create or at least modify an existing font. This font creation tool creates four different formats for .h header files but I can't seem to understand how to implement them into this library. I have attempted to manually copy and paste the hex code from this tool into the .c files but this usually just causes the code to no longer compile. It looks like there is a "LCD Image Converter" but I also can't figure out how to use this. An example here would be really appreciated. Thanks.
from ssd_13xx.
I have created a python script for converting fonts created with this font creation tool into the font file format implemented with this library. You can find this script on my fork of this library under the "_utility" folder. Use this script as follows.
- Download the desired font in the <3.0.0 file format (fontFile.h in this example)
- Execute the script: "convert_squix_font.py fontFile.h"
- The script will generate a file called fontFile.c for your use.
I have generated a pull request for this script to be implemented into the master branch of this library.
from ssd_13xx.
can anyone tell me how to use the comand tft.setFont? thanks!!
from ssd_13xx.
I have created a python script for converting fonts created with this font creation tool into the font file format implemented with this library. You can find this script on my fork of this library under the "_utility" folder. Use this script as follows.
- Download the desired font in the <3.0.0 file format (fontFile.h in this example)
- Execute the script: "convert_squix_font.py fontFile.h"
- The script will generate a file called fontFile.c for your use.
I have generated a pull request for this script to be implemented into the master branch of this library.
Dear Phillip-Toone,
I am trying to use your font converter and I get the following prompt message:
Microsoft Windows [Version 10.0.19042.1052]
(c) Microsoft Corporation. All rights reserved.
C:\Users\klaus\Music\Python>python convert_squix_font.py dialog16.f
Traceback (most recent call last):
File "C:\Users\klaus\Music\Python\convert_squix_font.py", line 50, in
Hexes = data[indexStart:indexEnd]
TypeError: slice indices must be integers or None or have an index method
C:\Users\klaus\Music\Python>
Would you have any hint for me how to succeed?
thanks
Klaus
from ssd_13xx.
Related Issues (20)
- Nothing displaying
- scrolling HOT 2
- Support for ESP32? HOT 4
- How to reset display? HOT 1
- Arduino IDE Library Manager
- Request support for SSD1357
- Arduino UNO connection with SSD1331 0.95inch RGB OLED from Waveshare? HOT 3
- Request SSD_13XX compilation for Raspberry PI and/or NodeJS
- Does not work with more than one screen
- SSD1351 Showing white noise only
- Terrific work! Great with ESP32 HOT 8
- Compatibility with this module
- SSD1331 DIM mode is disabled/NORMAL mode doesn't recover from DIM HOT 1
- ESP32 on HSPI
- drawRect does not work if the rectangle ends at the last pixel of the screen
- Color codes in the library are wrong!!! HOT 1
- How to draw custom images HOT 4
- Wemos D1 mini pro HOT 2
- Can't drawIcon an icon which width/height equal to the width/height of the OLED? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ssd_13xx.