Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
app/ | 03-May-2024 | - | 428 | 379 | ||
include/ | 03-May-2024 | - | 210 | 149 | ||
src/ | 03-May-2024 | - | 986 | 850 | ||
BUILD.gn | D | 03-May-2024 | 1.2 KiB | 49 | 43 | |
README.md | D | 03-May-2024 | 1.1 KiB | 43 | 34 |
README.md
1# Editor # 2 3This is an experimental Editor layer that abstracts out SkShaper text layeout 4for easy embedding into an application. The Editor layer is agnostic about the 5operating system. 6 7 +--------------------------------+ 8 |Application | 9 +-+----+-------------------------+ 10 | | 11 | | 12 | +-v-------------------------+ 13 | |Editor | 14 | +-+----+--------------------+ 15 | | | 16 | | | 17 | | +-v--------------------+ 18 | | |SkShaper | 19 | | +-+--------+-----------+ 20 | | | | 21 | | | | 22 +-v----v----v--+ +-v-----------+ 23 |Skia | |HarfBuzz, ICU| 24 +--------------+ +-------------+ 25 26The Application layer must interact with the: 27 28 * Windowing system 29 * File system 30 * Clipboard 31 * Keyboard/mouse input. 32 33Try it out: 34 35 tools/git-sync-deps 36 bin/gn gen out/default 37 ninja -C out/default editor 38 39 out/default/editor resources/text/english.txt 40 41 cat resources/text/*.txt > example.txt 42 out/default/editor example.txt 43