Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
app/ | H | 25-Apr-2025 | - | 458 | 404 | |
include/ | H | 25-Apr-2025 | - | 215 | 153 | |
src/ | H | 25-Apr-2025 | - | 1,078 | 935 | |
BUILD.gn | H A D | 25-Apr-2025 | 1.3 KiB | 54 | 48 | |
README.md | H A D | 25-Apr-2025 | 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