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

Czech ascii table #12

Closed riuson closed 10 years ago

riuson commented 10 years ago

From drazd...@gmail.com on May 03, 2013 12:14:33

Hallo,

I am very interested about your program. I create fonts in it for graphics display 320x240 px. But I have one problem. In program miss support for czech ascii table.

Here is: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŚŤŽŹ‘’“”•–—˜™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙

Would it be possible to add to the program? Thank you very much, regards: Drazdil Zdenek.

Attachment: Czech ASCII table.txt

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

riuson commented 10 years ago

From riu...@gmail.com on May 02, 2013 23:42:34

Hello,

Table of UNICODE codes, for Czech, Hungarian, Polish, Scandinavian and some other Central European Languages. http://www.biega.com/special-char.html#SET This page marks codes from 0x100 to 0x17e, unicode block "Latin Extended-A". Can you use unicode charset in your application?

Attachment: latin-extended-a.png

riuson commented 10 years ago

From drazd...@gmail.com on May 03, 2013 00:01:36

Thank you for quick reply,

I have adapted output for my application in tmpl file and I need font table 0x20 - 0xFF in that order: http://www.biega.com/special-char.html#SET I know, in "Latin Extended-A" characters are contained bat in another order...

No, unicode I can not use.

riuson commented 10 years ago

From drazd...@gmail.com on May 03, 2013 00:21:43

Sorry, I meant that unicode I can use, but must be strict as this one table: http://www.biega.com/special-char.html Zdenek.

riuson commented 10 years ago

From riu...@gmail.com on May 03, 2013 04:44:34

Try this: https://code.google.com/p/lcd-image-converter/downloads/detail?name=lcd-image-converter%2020130503-24d0788db991-beta.zip Set Options -> Setup -> Font -> Encoding to ISO-8859-2.

riuson commented 10 years ago

From drazd...@gmail.com on May 03, 2013 05:40:06

Hallo, thank you for very quick edit in program, but I don't know if we are well understood. I have need this one table: http://www.tyl.cz/Pocitace/Internet/Tabulka-ASCII-znaku.html (Basic latin + SPECIAL CHARACTERS - UNICODE & ISO-8859) in "Font setup" I could generate a character map from 0x20 to 0xff.

Zdenek

riuson commented 10 years ago

From drazd...@gmail.com on May 03, 2013 05:41:05

Attachment: FontSetup.jpg

riuson commented 10 years ago

From riu...@gmail.com on May 03, 2013 07:18:10

Application works with unicode strings. And only unicode table is used to select characters.

So: Select "Basic Latin" characters, press "Append". Select "Latix Extended-A" characters, press "Append". ... Characters (unicode) will be added to table. Convert document to "C" source file. Character codes will be converted from unicode to numeric codes, using codec from Options -> Setup -> Font -> Encoding. If you set ISO-8859-2, then codes will be at range 0x20...0xff. Some characters, out of ISO-8859-2 may be converted to invalid codes, check out output file.

riuson commented 10 years ago

From riu...@gmail.com on May 03, 2013 10:49:01

If you get valid character codes in output file, but need to sort it in ascending order, report it.

riuson commented 10 years ago

From riu...@gmail.com on May 07, 2013 08:55:04

I can offer another way to add characters, see screnshot

Chars are internally stored in unicode, but resulting "C" file contains codes 0x20...0xff. Examples attached.

Attachment: font-range.png chezh.xml czech.c

riuson commented 10 years ago

From riu...@gmail.com on May 07, 2013 09:48:48

https://code.google.com/p/lcd-image-converter/downloads/detail?name=lcd-image-converter-20130507-e89109c6e240.zip

riuson commented 10 years ago

From riu...@gmail.com on May 07, 2013 09:51:40

Status: Started
Owner: riu...@gmail.com

riuson commented 10 years ago

From krec...@gmail.com on June 19, 2013 04:56:30

Hello Vladimir, thank you for your support, but I have still problem with codepage 1250. Problem is in sorting of chars by Unicode order no by inserted string. I report it in attachet PDF file. M.Krecmer

Attachment: cp1250.pdf

riuson commented 10 years ago

From riu...@gmail.com on June 19, 2013 06:29:22

Hello, Yes, it was provided in advance to all the characters are ordered according to UTF-8. Another order of characters you need to edit mode, or to the output file?

riuson commented 10 years ago

From krec...@gmail.com on June 19, 2013 12:54:50

Hello, I need right order only for output file. Today I found right procedure to make good output:

  1. set font range by copy/paste string from clipboard to "range rows"
  2. set Options/Conversion/Font/Sort characters/Ascending
  3. Export fonts to file This procedure make good font ordering for CP1250, but one char 0xa0 (NBSP) is missing. GENERATED CODE: ... // character: 'ź' {0x9f, &Font_0x9f}, !!! code 0xa0 missing !!! // character: 'ˇ' {0xa1, &Font_0xa1},

    // character: '˘' {0xa2, &Font_0xa2}, ...

riuson commented 10 years ago

From riu...@gmail.com on June 19, 2013 22:12:17

Accepted, nbsp is converted to 0x20 (space).

Source: http://qt-project.org/doc/qt-4.8/qtextedit.html#plainText-prop "The only exception to this is the non-break space, nbsp;, that will be converted into standard space."

riuson commented 10 years ago

From riu...@gmail.com on June 20, 2013 12:03:02

https://code.google.com/p/lcd-image-converter/downloads/detail?name=lcd-image-converter-20130621-fc052b86a22a-beta.zip ... // character: 'Ÿ' {0x9f, &test_0x9f},

// character: ' ' {0xa0, &test_0xa0},

// character: 'Ą' {0xa1, &test_0xa1} ...

riuson commented 10 years ago

From krec...@gmail.com on June 26, 2013 07:11:29

Hello, today I test latest build a it function very good !! Thank you for your support ;-)

riuson commented 10 years ago

From riu...@gmail.com on August 30, 2013 12:39:42

Fixed at rev. fc052b86a22a19cb01c9deb75521381777681feb 2013-06-21

Status: Fixed