e695e53f1c
Range selector's "Based On" property controls how range indices map to glyphs: characters, characters-excluding-spaces, words, lines. To support this feature: - update SkottieShaper to track domain-relevant info per fragment (fLineIndex, fIsWhitespace) - update TextAdapter to build domain maps (domain index -> fragment span) - update RangeSelector to run its range indices through a domain map, if present. Change-Id: I80e713f6beaa2578aa0eae1d1ddae8e1e47d8d10 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/219859 Commit-Queue: Florin Malita <fmalita@chromium.org> Reviewed-by: Ben Wagner <bungeman@google.com> |
||
---|---|---|
.. | ||
android_fonts | ||
empty_images | ||
fonts | ||
icc_profiles | ||
images | ||
invalid_images | ||
lua | ||
nima | ||
particles | ||
skottie | ||
text | ||
Cowboy.svg | ||
crbug769134.fil | ||
nov-talk-sequence.txt | ||
pdf_command_stream.txt | ||
README | ||
SkVMTest.expected |
The resources directory includes some third party content used by Skia. Licenses for that code are included in this file. Openclipart Openclipart uses the Creative Commons Zero 1.0 Public Domain License every time an artist uploads a piece of clipart to Openclipart to make it clear the artist is releasing the creative work for anyone to use for any reason, even commercially. This act of "sharing" is the foundation Openclipart is based upon. More details on the license can be found at https://creativecommons.org/publicdomain/zero/1.0/. LGPL or compatible (as implied by inclusion in KDE SVN) http://websvn.kde.org/trunk/tests/ksvgtests/custom/cowboy.svg