Commit Graph

24 Commits

Author SHA1 Message Date
halx99 9472113664 Better use string_view, refer #543 2021-11-27 13:51:21 +08:00
halx99 72ac23b180 Use std::string_view instead const std::string&, refer #543
a. FontFreeType
b. ccUTF8
2021-11-27 11:08:08 +08:00
halx99 3440cf804f More safe to store customGlyphs 2021-11-26 17:53:24 +08:00
halx99 fe67e1b19f Refine code 2021-11-17 14:07:47 +08:00
halx99 c96172837e Improve TTF load, enable stream parsing at for non-android devices 2021-11-16 18:41:18 +08:00
halx99 9cc04be833 Improve code style 2021-11-11 17:20:21 +08:00
halx99 16c3e90c46 Match utf32 char code parameter type 2021-11-11 16:15:23 +08:00
halx99 a0d289ee5b Improve speed for loading outline glyph 2021-11-11 15:56:07 +08:00
halx99 e83c8b1c08 Merge: b5e1e78417 53272c6532
Merge pull request #504 from adxeproject/freetype-sdf

Replace SDF implementation with freetype
2021-09-20 18:24:11 +08:00
halx99 01f34d1e74 Fix mac build [skip ci] 2021-09-20 18:18:52 +08:00
halx99 19eacf2238 Update linux-ci.yml 2021-09-20 16:17:34 +08:00
halx99 3580070f62 Update linux-ci.yml 2021-09-20 16:16:41 +08:00
halx99 9fcc71d985 Fixup 2021-09-20 14:49:00 +08:00
姒嗘煶鏉? 35b658c90e Merge: f5663f279c d73d937894
Merge remote-tracking branch 'upstream/dev' into dev
2021-09-05 20:45:32 +08:00
姒嗘煶鏉? 0aff165959 [fix]ScrollView and ListView goes back to the front incorrectly after calling doLayout. 2021-09-05 20:44:14 +08:00
rh101 4e7db23d38 Remove getLong() method
Change %du to %u, and %lx to %x
Use "stdint.h" instead of <cstdint> for TGAlib.h
2021-09-02 20:30:20 +10:00
姒嗘煶鏉? 64e2cdd8d9 [fix]The problem of inaccurate maximum width limit when using system fonts. 2021-09-02 17:15:03 +08:00
rh101 d8fd94db8a Usage of long and unsigned long changed to platform independent fixed-sized types where appropriate. 2021-09-02 15:39:28 +10:00
halx99 b8d27c0715 Fix comment typo and do clang-format [skip ci] 2021-08-28 20:22:01 +08:00
halx99 481daa0e73 Fix crash problem when load a non-truetype .ttf file. 2021-08-28 18:24:17 +08:00
halx99 5ef9214d19 fix warning 2020-10-06 12:31:17 +08:00
halx99 f583ec6300 By default, disable stream parsing 2020-08-27 11:40:44 +08:00
halx99 6345cca301 freetype stream parsing support, reduce memory use on FontCache 2020-08-27 11:35:55 +08:00
halx99 8df3d5e274 Init Commit 2019-11-23 20:27:39 +08:00