Commit Graph

240 Commits

Author SHA1 Message Date
Léa Saviot
7b99f78352 [post_and_hardware_tests] Bad pixels limit of 2, not 0 2019-07-05 12:25:45 +02:00
Léa Saviot
22d6cfedda Merge branch 'version-11' into f7 2019-06-06 10:10:50 +02:00
Romain Goyet
d67cfb0852 [kandinsky] Misc font updates
Small font:
 * Percent (25) blurry
 * Backslash (5C) not properly antialiased
 * Underscore (5F) blurry
 * Degree symbol (B0) not perfectly round
 * AE (C6) too wide
 * ae (E6) too wide
 * Round accent (30A) not perfectly round
 * Approx-equal (2248) blurry

Large font:
 * Degree symbol (B0) not perfectly round
 * AE (C6) wrong
 * ae (E6) too wide
 * Uppercase delta (394) blurry
 * Replacement character (FFFD) blurry
2019-06-06 10:00:32 +02:00
Romain Goyet
695f05dc4a [kandinsky] Add a debug line to help diagnose wrong glyph sizes 2019-06-06 10:00:32 +02:00
Romain Goyet
01eeec5f08 [kandinsky] Fix the rasterizer with old libpng 2019-06-06 10:00:32 +02:00
Romain Goyet
2d22617985 [kandinsky] Use TTF fonts 2019-06-06 10:00:32 +02:00
Romain Goyet
eee32520bd [kandinsky] Enforce proper size for the small font 2019-06-06 10:00:32 +02:00
Romain Goyet
dc4ddc580a [kandinsky] Use SmallFont.otf and LargeFont.otf
It makes the Makefile shorter
2019-06-06 10:00:32 +02:00
Romain Goyet
9de6019fa4 [kandinsky] Auto-detect libpng in the rasterizer 2019-06-06 10:00:32 +02:00
Romain Goyet
6061c9f3ff [kandinsky] The rasterizer can check the size of the emitted glyphs 2019-06-06 10:00:32 +02:00
Romain Goyet
0cd5032a3a [kandinsky] Add safeguards in the rasterizer 2019-06-06 10:00:32 +02:00
Ruben Dashyan
77df361b3f [kandinsky/font] Fix for gcc 2019-06-06 10:00:32 +02:00
Léa Saviot
859064e9fb [apps/POSTandHWtest] LCD test displaying characters 2019-05-28 16:50:58 +02:00
Émilie Feral
8b926612a2 Revert "[ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder"
This reverts commit 23da0d3f2c.
2019-05-03 16:29:28 +02:00
Émilie Feral
ca6ed6ab3b [kandinsky] Fonts: improve glyph % 2019-05-03 15:54:20 +02:00
Léa Saviot
699cd19bd6 [unicode] Use 3BC symbol instead of B5 for the glyph Mu.
NFKD normalization transforms uniB5 into uni3BC.
2019-05-03 15:53:21 +02:00
Léa Saviot
eea6e702eb [kandinsky] Fix font test 2019-05-03 15:53:20 +02:00
Léa Saviot
d2b9bdd616 [unicode] Clean typography (accents, non present glyphs...) 2019-05-03 15:53:20 +02:00
Léa Saviot
b2a97cfc7a [escher] Fix buffer choice in TextField::glyphFrameAtPosition 2019-05-03 15:53:20 +02:00
Léa Saviot
7f4ef39d0c [text_area] Fix Text::Position use with unicode
A glyph offset is not equivalent to a code point offset since a code
point can be several glyphs long.
2019-05-03 15:53:19 +02:00
Léa Saviot
293517892c Remove useless comment 2019-05-03 15:53:19 +02:00
Léa Saviot
6765de4598 [apps/regression] Add X bar and Y bar 2019-05-03 15:53:19 +02:00
Léa Saviot
496d346049 Remove max/min inline from KDCoordinate header 2019-05-03 15:53:19 +02:00
Léa Saviot
90bc0dae87 [kandinsky] Comment about the CodePoints array 2019-05-03 15:53:19 +02:00
Léa Saviot
bbb10f1993 [ion/kandinsky] Move unicode to ion 2019-05-03 15:53:19 +02:00
Léa Saviot
6b6d3d7fe2 [tests] Fix unicode for tests 2019-05-03 15:53:19 +02:00
Léa Saviot
5c39cab73e [escher] Fix text inputs so they use UTF8 2019-05-03 15:53:19 +02:00
Léa Saviot
7a1fd68626 [poincare/utf8_decoder] nextCodePointPointer is now stringPosition 2019-05-03 15:53:19 +02:00
Léa Saviot
28545869be [kandinsky] Use new unicodes in fonts for Exponential, mu and i complex 2019-05-03 15:53:19 +02:00
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
Émilie Feral
7d71ea87b0 [kandinsky] Color: improve Orange color 2019-04-30 16:31:44 +02:00
Émilie Feral
23da0d3f2c [ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder 2019-04-29 18:01:30 +02:00
Émilie Feral
9e962874b6 Merge branch 'version-11' into HEAD 2019-04-29 18:00:17 +02:00
Émilie Feral
2bfe257f3f [kandinsky] Fonts: improve glyph % 2019-04-16 14:06:57 +02:00
Émilie Feral
7d8e527d51 Merge branch 'version-11' of ssh://git.numworks.com/Epsilon into f7 2019-04-12 15:22:22 +02:00