Comments (2)
I'd agree with tigrBlitAdvanced / tigrBlitEx
the current font system is pretty inflexible . try editing the current font.png or loading a new font via the api. ( it would crash a lot for me ).
I took a simpler approach and read in a font from an image into the current font / glyph structures to continue using tigrPrint api.
To be fair I don't think there should even be a font implementation as part of the library though it is very handy to have.
from tigr.
In the mean time I've made the changes I mentioned on my fork. Let me know if you would like me to submit this as a pull request.
from tigr.
Related Issues (20)
- Drawing Bezier curves HOT 7
- Changing FPS HOT 3
- Fullscreen on windows HOT 3
- How To Change Font Size HOT 5
- When to support arm64 on Linux, like raspberry pi or jetson nano? HOT 2
- Adding functions for manipulating bitmaps
- fullscreen not working in X11
- headless mode not working on Linux
- Have Tigr-nim now :) HOT 9
- Minimum OpenGL requirements
- Question: Where stores the window state HOT 3
- Problem with custom font HOT 1
- More Mouse functions?
- Screen size don't match on linux? HOT 2
- wglMakeCurrent Very Slow HOT 2
- Crash at using external font HOT 6
- Viewport size changes "randomly" when scale the window. HOT 1
- macOS FPS not capped (like on Linux and Windows)
- Variable Shadowing Issue in tigr.c HOT 1
- Mesa Memory Leak HOT 3
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 tigr.