Commit Graph

19 Commits (013bac84cefa14d333a59e16c3fca1b85f05a090)

Author SHA1 Message Date
inmarket 013bac84ce Support negative baseline_x in a font. 2018-01-09 17:53:30 +10:00
inmarket c41cbd05e9 Fix for wordwrapping when there is a space then a newline 2018-01-05 15:55:30 +10:00
inmarket 9500ed2bcc Fix a bug that can cause large fonts to not be read correctly. 2017-03-11 14:23:27 +10:00
Joel Bodenmann 6956df1652 Fixing an issue with word wrapping of strings containing dashes.
Strings do get wrapper correctly at dashes but the space to print the actual space has not been taken account of. This has now been fixed.
2017-02-21 08:50:57 +01:00
inmarket 5502aef3e5 Increase non-UTF8 font support to 0 to 255 rather than just the true ascii set 2017-01-20 09:23:06 +10:00
inmarket c5a86757bd Make all include paths in ugfx relative.
The only include path now needed is for drivers (in particular GDISP drivers)
2015-11-21 19:27:08 +10:00
Joel Bodenmann 2dcd3509c9 Fixing word-wrap 2015-11-02 09:26:32 +01:00
Joel Bodenmann 69de17687c Fixing compiler warnings
pull-request sent to upstream
2015-10-30 16:40:08 +01:00
Joel Bodenmann ee2b82271d Adding word-wrap support for gdispDrawStringBox() and gdispFillStringBox()
Thanks to Koryagin Dmitry for this contribution
2015-10-30 15:37:55 +01:00
inmarket ccde54722f Added ability to compile ugfx as a single file (excluding driver and board files).
Simply compile src/gfx_mk.c
2015-06-08 14:14:40 +10:00
inmarket 37966ff16d Integrate the include files with each module. Simplifies structure of code. 2014-02-19 00:36:52 +10:00
inmarket 96c4131ca1 Fix some compiler warnings 2013-09-18 23:48:22 +10:00
inmarket 4394266679 Update fonts files to allow compiling without GDISP_NEED_TEXT. 2013-09-06 12:23:48 +10:00
inmarket a2b27a6f5c Add new hand built bitmap fonts to replace old UI1 and UI2.
Allow scaled fonts to be staticly defined.
Update new fonts handling so UI1 and UI2 have Narrow and Double variants.
Update example gfxconf.h.
Fix new font rules.
Add support for an application program to add their own fonts.
Make system font handling includes root relative.
2013-08-17 23:32:53 +10:00
inmarket db18904892 From mcufont upstream: Fix tab handling in mf_get_string_width 2013-07-30 14:20:26 +10:00
inmarket 99642e2a99 From mcufont upstream: Fix inconsistency between UTF8 and other encodings 2013-07-30 14:19:50 +10:00
inmarket 12085b8014 Fix compiler warnings, operating system dependancies, and non-portable code. 2013-07-29 16:25:20 +10:00
inmarket be8b3cd210 Updated license headers on new font code 2013-07-28 17:22:24 +10:00
inmarket 3977ee687f First cut - beautiful new font handling by PetteriAimonen 2013-07-28 17:08:45 +10:00