Commit Graph

175 Commits

Author SHA1 Message Date
Léa Saviot
501aa01fe7 [kandinsky] Remove obsolete calls to files 2019-05-03 15:53:19 +02:00
Léa Saviot
4bd2f6b156 [kandinsky] Fix CodePoint uint32_t cast operator 2019-05-03 15:53:19 +02:00
Léa Saviot
f304ad854f [kandinsky] Remove obsolete values 2019-05-03 15:53:19 +02:00
Léa Saviot
41afa92f10 [unicode] Use the UTF8Decoder to scan const char * 2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac Remove Ion::Charset 2019-05-03 15:53:19 +02:00
Léa Saviot
3f56cb7041 [poincare] CodePointLayout 2019-05-03 15:53:19 +02:00
Léa Saviot
1a55c2023b [kandinsly] Rename utf8decoder as utf8_decoder 2019-05-03 15:53:19 +02:00
Léa Saviot
1928e267a9 [kandinsky] UTF8Decoder::CodePointToChars 2019-05-03 15:53:19 +02:00
Léa Saviot
c31fe3856a [kandinsky] Add KDCodePoint prefix static code points 2019-05-03 15:53:19 +02:00
Léa Saviot
50ac72107b Rename Codepoint Code point 2019-05-03 15:53:19 +02:00
Léa Saviot
c8da3bb9e7 [kandinsky/font] Add comment about UTF-8 2019-05-03 15:53:19 +02:00
Léa Saviot
1f80e63bea [kandinsky] Coding style 2019-05-03 15:53:19 +02:00
Léa Saviot
e57995712b [kandinsky/font] Fix rebase on master 2019-05-03 15:53:19 +02:00
Romain Goyet
c23e5a47bc [kandinsky] Add unit tests for UTF-8 decoding and CodepointToIndex 2019-05-03 15:53:19 +02:00
Romain Goyet
713e0f5426 [kandinsky] The rasterizer encodes Unicode codepoints 2019-05-03 15:53:18 +02:00
Romain Goyet
25456b7973 [kandinsky] Assume UTF-8 encoding for strings 2019-05-03 15:53:18 +02:00
Romain Goyet
0c83253d2e [scripts] Use BUILD_DIR instead of build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
bd6339f9dc [make] Rename OUTPUT_DIRECTORY to build_dir 2019-03-06 15:00:59 +01:00
Romain Goyet
4f1d74f44b [build] Use an out-of-tree build 2019-03-06 15:00:59 +01:00
Léa Saviot
ed19d19070 Merge branch 'master' into python_turtle 2018-12-17 15:49:46 +01:00
Léa Saviot
e836593ff9 [kandinsky] In KDContext::getPixels: beware of rects crossing the screen
This fixes a display glitch on the device, when using Python's turtle
module and doing the command forward(200).
2018-12-07 11:30:32 +01:00
Léa Saviot
2794669eb9 [kandinsky] Fix typo that bugged glyph drawing 2018-11-23 12:04:10 +01:00
Léa Saviot
8346ca606f [kandinsky] Fix Font::signedCharAsIndex 2018-11-23 12:04:10 +01:00
Léa Saviot
eda07922ab [kandinsky/font] fetchGlyphForChar handles chars that do not have glyphs 2018-11-23 12:04:10 +01:00
Romain Goyet
a9091c933b [python/turtle] Use a Turtle class 2018-11-16 15:31:31 +01:00
Jean-Baptiste Boric
464c1a5c95 [python] Initial turtle module 2018-10-27 14:24:36 +02:00
Romain Goyet
f4f567814e [escher] Compress images 2018-10-12 09:36:44 +02:00
Romain Goyet
026a20ee41 [kandinsky] Fix an off-by-one in the rasterizer 2018-10-11 16:44:02 +02:00
Romain Goyet
748f1096bd [kandinksy] Clean up the rasterizer 2018-10-11 16:44:02 +02:00
Romain Goyet
23f93703ad [kandinsky] Don't forget the last character of the range 2018-10-11 16:44:02 +02:00
Romain Goyet
dfb30e5799 [kandinsky] Remove some warnings 2018-10-11 16:44:02 +02:00
Romain Goyet
1dd1e6ca8d [kandinsky] Handle drawing clipped text
Text can be drawn in a rect that cannot contain the whole character.
Luckily, we have fillRectWithPixels handy to handle such cases.
2018-10-11 16:44:02 +02:00
Romain Goyet
aeab06513e [kandinsky] Cleanup KDFont, include all characters 2018-10-11 16:44:02 +02:00
Romain Goyet
c183f0147e [kandinsky] Get rid of KDText 2018-10-11 16:44:02 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Romain Goyet
29882768bd [kandinsky] Use LZ4 to compress fonts
This is a work-in-progress
2018-10-11 16:44:02 +02:00
Romain Goyet
83662ebf70 [kandinsky] Remove warning, add missing file 2018-10-11 16:44:02 +02:00
Romain Goyet
da4cc4356f [kandinsky] Introduce a KDFont class 2018-10-11 16:44:02 +02:00
Émilie Feral
eebb405cd5 [kandinsky] Add the degree symbol to Charset 2018-09-25 15:13:31 +02:00
Émilie Feral
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Émilie Feral
b4e3143e76 [Kandinsky] Regular font: new capital delta 2018-06-12 16:27:01 +02:00
Émilie Feral
f992253cec [ion] Add a special char: CapitalDelta 2018-06-07 13:46:18 +02:00
Tillmann Karras
6d2c3dce25 [kandinsky] use pkg-config instead of freetype-config
Since freetype2 version 2.9.1 freetype-config has been deprecated and is
not installed by default anymore:
https://sourceforge.net/projects/freetype/files/freetype2/2.9.1/
2018-06-04 15:44:59 +02:00
Léa Saviot
96c24b1d63 [kandinsky] Simplify code of Kandinsky tests
Change-Id: Ib5c716a5c8ed8d1ef8849475f8bc71076f91c6bc
2018-04-25 13:58:43 +02:00
Léa Saviot
2aa9b6947e [kandinsky] Add test cases for KDRect::differencedWith
Change-Id: I27371f94e590cb75712154b47efe4db27d0a082d
2018-04-25 13:58:43 +02:00
Léa Saviot
34d6028882 [kandinsky] Add method KDRect::differencedWith(const KDRect & other)
Change-Id: Ib6c61bbd3bffc90bc3e704a7133eae0731500864
2018-04-25 13:58:43 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Romain Goyet
489b26e813 Re-organize and re-prefix the Makefile variables 2018-02-02 14:30:35 +01:00
Léa Saviot
fc8cd6c06e [expression_editor/poincare] Move Up in an ExpressionLayout.
Change-Id: I75fd91233729afd4eb77d8e9d53c102a632643ea
2018-01-15 11:58:01 +01:00
Émilie Feral
887e3d1f54 [kandinksy] Optimize strokeRect implementation 2018-01-04 15:48:06 +01:00