riuson / lcd-image-converter

Tool to create bitmaps and fonts for embedded applications, v.2
https://lcd-image-converter.riuson.com/
GNU General Public License v3.0
337 stars 80 forks source link

command line version #22

Closed riuson closed 10 years ago

riuson commented 10 years ago

From m...@berushka.net on January 17, 2014 14:39:36

I would like command line version mainly for fonts. For example: lcd-image-converter -font "Ubuntu Mono" -size 14 -monospaced -antialiasing -save ubuntu-mono-14.xml

Original issue: http://code.google.com/p/lcd-image-converter/issues/detail?id=22

riuson commented 10 years ago

From riu...@gmail.com on January 17, 2014 00:55:37

What is the reason for this? How do you intend to use the command line in the actual work?

Owner: riu...@gmail.com

riuson commented 10 years ago

From m...@berushka.net on January 17, 2014 02:57:44

Because automation. I used five different sizes of font. So when I want to try another font family, I have to do a lot of clicking work with this (superb) program (new font, choose font, choose size, choose monospaced, ctrl-s, type filename). Then I run my program which generate header and source file especially in format I need, compile and upload to the device. My idea is that I will call your program from command-line with different font name. But it si a lot of work forget about it or I will try to do it myself. Maybe the remembering last used parameters of font will decrease these clicking, because I need the same font with different sizes. Thanks for your time.

riuson commented 10 years ago

From tomrobe...@gmail.com on January 21, 2014 00:34:54

i was just about to request the same feature :)

riuson commented 10 years ago

From riu...@gmail.com on February 25, 2014 06:34:50

Too special case using the application to modify the source code for it.

To decrease these clicking you can change existing font with menu Font -> Change; this dialog contains the last used parameters.

riuson commented 10 years ago

From riu...@gmail.com on April 28, 2014 00:29:19

Issue 25 has been merged into this issue.

riuson commented 10 years ago

From riu...@gmail.com on April 29, 2014 09:44:02

Images only. Example: lcd-image-converter --mode=convert-image --doc-name=test --preset-name=Monochrome --input=/temp/box.png --output=/temp/box.c --template=/temp/image.tmpl

Branch "feature-cmd", https://code.google.com/p/lcd-image-converter/source/list?name=feature-cmd Requires Qt version >= 5.2

This branch is likely to be completely rewritten.

Status: Started

riuson commented 10 years ago

From riu...@gmail.com on August 01, 2014 13:28:10

Added font conversion mode:

$ lcd-image-converter.exe --mode=convert-font --family=Ubuntu --size=14 --mono --bold --chars-range="1040...1050" --chars-encoding=UTF-16 --output=d:\test.c --doc-name=test --preset-name=Monochrome

$ lcd-image-converter.exe --mode=convert-font --family=Ubuntu --size=14 --mono --bold --chars-list="абв" --output=d:\test.c --doc-name=test --preset-name=Monochrome

Since 2014-08-02, rev.5bf211f04c27

Status: Fixed