Comments (3)
Hi @GlovePuppet
Thank you for using this library
This issue has been reported as #17.
Currently there is no limit on the cache size, but it will be set to a minimum in the next update.
The develop branch already has this fix in place.
Please wait a little longer for the master branch to be updated.
You can also use the following API to change the cache size.
void setCacheSize(unsigned int max_faces, unsigned int max_sizes, unsigned long max_bytes);
Be careful, this API must be called before the loadFont
method.
Thank you.
from openfontrender.
Thank you, this has solved my problem.
Also, thank you creating this project, it really improves the "look" of my text display
from openfontrender.
The master branch has been updated to v1.1
.
The default cache size has been set to the minimum.
I am really sorry for the late update
from openfontrender.
Related Issues (20)
- unloadFont crashes ESP32 S3 when font file is in FLASH HOT 5
- Unable to use OpenFrontRender to use with TFT-eSPI HOT 18
- Meaning of error code HOT 2
- Text rendered below the cursor? HOT 3
- If no cache is set, it defaults to CACHE_SIZE_NO_LIMIT which will consume all available (heap) memory HOT 2
- Need some way to center text on screen HOT 6
- Font height is not computed correctly -- too short HOT 2
- Cursor x resting place calculated too far right after cprintf (w/ proposed solution) HOT 1
- tft_eSPI printf not using bg colour HOT 6
- [OFR ERROR] FTC_Manager_LookupFace error: 0x40 HOT 2
- Feature request: output to image file HOT 3
- Feature request: text wrap HOT 1
- SdFat support? HOT 2
- Please support ARM cortex arch? HOT 2
- Feature Request: Text outline support
- Feature request: loading fonts from SPIFFS/LittleFS HOT 4
- Compilation error using "setBackgroundFillMethod" HOT 1
- How can an integer be printed without sprintf HOT 2
- Compile fails in Arduino environment with master branch - develop branch crashes RP2040 HOT 11
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 openfontrender.