Comments (8)
For people browsing the issues, code is available here:
https://github.com/littlevgl/lv_utils/blob/master/hex2lvfont.rb
from lv_utils.
Yes, it is now losing the monospace characteristic and it's a good feature to add!
I can't promise that I will have time for it in the next days.
Would somebody like to contribute in it?
from lv_utils.
Got a small ruby program, generating 1-bpp font from .hex
Need some testing, will post it
from lv_utils.
It's great!
We can use it until this feature isn't implemented in the "original" font converter.
from lv_utils.
what is .hex format for font?
try ttf and bdf, invalid format for hex2lvfont.rb
I dont know ruby, cannt understand it syntax.
monospace font realy actual
from lv_utils.
The hex2lvfont.rb
converter only deal with font in hex format [1].
The two fonts I know that are defined this way are:
- GNU unifont : http://unifoundry.com/unifont.html
- Unscii : http://pelulamu.net/unscii/
[1] https://en.wikipedia.org/wiki/GNU_Unifont#The_.hex_font_format
from lv_utils.
I updated the font converter with monospace feature.
If you tested it and have any remarks please open a new issue for it.
from lv_utils.
Based on the suggestion here: lvgl/lvgl#229
I modified the monospace support to leave letters "slim" (not extra columns to not occupy extra space) and updated drawing algorithm of the library align letters during rendering. The updates are in lvgl/dev-5.2
branch.
from lv_utils.
Related Issues (19)
- Problem with image converter HOT 2
- Utils review/revisit HOT 19
- LV_ATTRIBUTE_MEM_ALIGN in font converter HOT 2
- [spec] font convertor HOT 13
- image converter throws syntax errors HOT 5
- Littlevgl.com HOT 3
- Font generator generates lv_font_t initialisation in wrong order HOT 2
- Cannot covert Noto Emoji HOT 3
- file bdf_font_converter.py seems too old HOT 1
- PHP Fatal when trying to convert a jpg image HOT 17
- Can the old font converters be removed from this repository? HOT 3
- Colors inverted between online tool and offline tool with indexed_4 / 16 colors HOT 9
- the Online Image to C Array Converter has bug in converting images to binary files HOT 3
- a document page not found HOT 5
- lv_utils for nodejs HOT 24
- Font generate binary HOT 2
- Feedback usage font converter HOT 5
- font_conv_core.php has undefined variable HOT 1
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 lv_utils.