de6af36e6e
AE alignment semantics: - leading white-space counts (i.e. "pushes" the line to the right in left/center alignment mode) - trailing white-space is ignored (does not push the line to the left in center/right alignment mode) Skottie currently always takes white-space into account. This yields incorrect center/right alignment not just in the presence of explicit trailing WS, but also due to residual WS from paragraph line breaks. To fix, detect trailing WS for each committed line, and adjust glyph positions to compensate. Change-Id: Id8589cb30f743f21d77961c0eb4fa20a97e5f13c Reviewed-on: https://skia-review.googlesource.com/c/skia/+/526457 Reviewed-by: Jorge Betancourt <jmbetancourt@google.com> Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Florin Malita <fmalita@google.com> |
||
---|---|---|
.. | ||
android_fonts | ||
diff_canvas_traces | ||
empty_images | ||
fonts | ||
icc_profiles | ||
images | ||
invalid_images | ||
nima | ||
particles | ||
skottie | ||
sksl | ||
text | ||
Cowboy.svg | ||
crbug769134.fil | ||
nov-talk-sequence.txt | ||
pdf_command_stream.txt | ||
README |
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