Commit Graph
22 Commits
Author SHA1 Message Date
richardclliandGitHub 230ac34e86 [translations] Resolve issue with lines over characters for some languages, and some wrong characters used (#1268)
* Resolve a problem in font generation when y_offset is negative.

* Change to use full dynamic detection of special chars, generalized for all languages including cjk.

* Isolated colorlcd and bwlcd translation encoding method.

* Fixed the cz char mapping.

* Only cz requires subset lowercase handling.
2021-12-27 11:43:17 +10:00
843d1be868 Fix wrong Chinese characters being displayed (#1257)
* Fixed wrong index calculation.

* Fixed font generation, indexing will goes wrong when no extra chars bitmap is present.

* Image width exceeded 16384 will cause trouble in CJK.

* Include libopenui update

Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
2021-12-17 10:32:28 +11:00
jfrickmannandPeter Feerick 019a1584d0 Monospaced font for digits
So timers etc. do not jump back and forth. Assumes that 4 is the widest digit.
2021-11-22 14:49:44 +10:00
Raphael Coeffic da64a36fdd Fixed font bitmap generation 2021-05-30 12:21:22 +02:00
Raphael CoefficandRaphael Coeffic 9582337d96 Cleanup and unit test fixing 2021-05-29 17:24:52 +02:00
Raphael CoefficandRaphael Coeffic c958c91fdf Use correct size computation method
See https://levelup.gitconnected.com/how-to-properly-calculate-text-size-in-pil-images-17a2cc6f51fd
and https://stackoverflow.com/a/46220683/9263761
2021-05-29 17:24:52 +02:00
Raphael CoefficandRaphael Coeffic a33b114ae4 Shrink fonts 2021-05-21 22:33:01 +02:00
Raphael Coeffic 90364c2695 Better fit the fonts inside the font-bitmaps 2021-05-08 08:40:03 +02:00
Raphael Coeffic aeb297c800 Use the same font all the way for a specific language 2021-05-08 08:40:02 +02:00
3djc 7d2178cb5c fix chars continued 2020-12-18 20:37:11 +01:00
3djc 23e1531c72 patch special chars 2020-11-27 11:18:57 +01:00
Bertrand Songis bddccb9765 Merge with latest 2.3 2020-05-30 11:57:03 +02:00
Bertrand Songis 0e40e5965f Font cosmetics 2019-12-13 12:01:49 +01:00
Bertrand Songis 22cfe6499a Font cosmetics 2019-12-13 12:00:37 +01:00
Bertrand Songis 9262a317b6 Font cosmetics 2019-12-13 11:50:56 +01:00
Bertrand Songis 2589b9e87e Extra chars not displayed 2019-12-12 16:37:50 +01:00
Bertrand Songis d4e7058b12 Cosmetics 2019-12-09 17:28:59 +01:00
Bertrand Songis e2939aae82 Cosmetics 2019-12-09 16:37:45 +01:00
Bertrand Songis 45a75c1c2b Cosmetics 2019-12-09 16:17:41 +01:00
Bertrand Songis 6228110a48 Fonts optimization 2019-12-05 18:58:02 +01:00
Bertrand Songis e2f84b8047 Cosmetics 2019-10-19 13:03:08 +02:00
Bertrand Songis 3e2cb83991 Now uses the external libopenui 2019-10-02 14:41:52 +02:00