Go to file
Ben Wagner 1968473fea Move fontmgr_bounds labels to tight bounds
The font bounds may be empty, so label the tight bounds instead,
especially since the labels are of the glyph id that touches that edge
of the tight bounds. Also rotate the labels so they dont' run into each
other.

This also fixes SkMetaData::set so that changing an existing value
doesn't cause strange issues with iterators or attempt to use data from
the previous rec after it's been freed. (Found by running viewer in a
asan build.)

Change-Id: Id255beff5d05310f098bd14baf0935e5fd349e7e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/312494
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
2020-08-24 15:02:44 +00:00
animations
bench remove unused enums for picture-recorder 2020-08-21 21:20:40 +00:00
bin bin/try: automatically set 'git cl issue' when not found 2020-06-25 17:44:01 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Enable ClangTidy check modernize-make-unique. 2020-08-03 17:53:52 +00:00
demos.skia.org Add path rendering performance demo to demos.skia.org 2020-08-11 19:57:08 +00:00
dm Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
docker [canvaskit,pathkit] Update to emsdk 2.0 2020-08-20 14:55:50 +00:00
docs/examples Update more example code to GrDirectContext/GrRecordingContext pair 2020-08-13 19:30:12 +00:00
example Clean up GrContext references in the src/gpu 2020-07-16 14:14:08 +00:00
experimental Add origin visualization, add support for Concat44 2020-08-20 17:49:32 +00:00
fuzz Enable ClangTidy check readability-redundant-smartptr-get. 2020-08-16 15:56:48 +00:00
gm Move fontmgr_bounds labels to tight bounds 2020-08-24 15:02:44 +00:00
gn A new way to specify YUVA planar data from SkCodec to SkImage_Lazy 2020-08-24 14:25:32 +00:00
include A new way to specify YUVA planar data from SkCodec to SkImage_Lazy 2020-08-24 14:25:32 +00:00
infra Test performance of ANGLE ES3 on nanobench bots. 2020-08-21 16:57:00 +00:00
modules remove unused enums for picture-recorder 2020-08-21 21:20:40 +00:00
platform_tools add SurfaceView support for skottie on android 2020-08-21 13:24:30 +00:00
resources A new way to specify YUVA planar data from SkCodec to SkImage_Lazy 2020-08-24 14:25:32 +00:00
samplecode Componentize SkAudioPlayer 2020-08-14 13:46:06 +00:00
site style guide tweaks 2020-08-24 13:37:28 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Factor out validate into separate method. 2020-08-24 15:00:12 +00:00
tests A new way to specify YUVA planar data from SkCodec to SkImage_Lazy 2020-08-24 14:25:32 +00:00
third_party Search ICU data on Windows relative to the current module. 2020-08-20 14:51:42 +00:00
tools Move fontmgr_bounds labels to tight bounds 2020-08-24 15:02:44 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore [infra] Update recipe dependencies 2020-08-03 11:34:57 +00:00
.gn
AUTHORS Search ICU data on Windows relative to the current module. 2020-08-20 14:51:42 +00:00
BUILD.gn [canvaskit] Remove getproc when creating WebGL interface 2020-08-20 14:55:50 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll SwiftShader from 44e1791f100c to 622558b02e1a (3 revisions) 2020-08-24 04:46:07 +00:00
go.mod Update Go Deps 2020-07-25 05:33:32 +00:00
go.sum Update Go Deps 2020-07-25 05:33:32 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl Remove webgl from public.bzl 2020-08-20 17:40:54 +00:00
README
README.chromium
RELEASE_NOTES.txt A new way to specify YUVA planar data from SkCodec to SkImage_Lazy 2020-08-24 14:25:32 +00:00
whitespace.txt Whitespace change to re-trigger Mac/iOS tests 2020-02-23 20:55:01 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.