Go to file
Kevin Lubick 08bf8f79f1 [canvaskit] Remove support for T1 fonts and reduce code size
We were previously building FreeType2 with the psnames module,
which included large tables of glyphnames [1]. These were only
used in code related to PDF (and only when outputting Type 1
fonts, which is very rare).

Even though the PDF backend isn't in CanvasKit, the compiler
couldn't throw away these massive tables (about 80k in all)
of strings. Since these tables were only used for T1 fonts,
it made sense to tell FreeType not to include the rest of the
T1 related code, which saved about 55k more.

If, one day, we add in support for the PDF backend to CanvasKit,
SK_PDF_DO_NOT_SUPPORT_TYPE_1_FONTS is likely something we'll
want to define.

The roll-freetype.sh is inspired by a script of the same name
in the Chromium repo and aids in the updating of freetype
and our forked config files.

[1] 0a3d2bb99b/src/psnames/pstables.h (629)

Bug: skia:9733
Change-Id: I359bab4184587cbe91400661fb012eac1a601a83
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/262232
Reviewed-by: Ben Wagner <bungeman@google.com>
2020-01-06 18:49:41 +00:00
animations
bench Move SkRuntimeEffect.h to include/effects 2020-01-02 17:37:46 +00:00
bin [infra] Fix bin/try 2019-11-15 19:44:04 +00:00
build/fuchsia Add logger service. 2020-01-04 02:27:14 +00:00
build_overrides Update Dawn backend to ToT. This is about 3 months of changes. 2019-10-15 22:26:38 +00:00
dm Remove an uncessary and unused parameter for partially generating the JSON command list 2019-12-13 19:30:03 +00:00
docker Make OUTPUT_DIRECTORY in ProdDoxyfile configurable 2019-12-18 16:46:25 +00:00
docs/examples hide/remove obsolete/tricky SkMatrix methods 2019-12-18 22:29:52 +00:00
example Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
experimental Support using an externally manage list of images in UrlDataManager for wasm debugger. 2020-01-03 21:25:12 +00:00
fuzz Make it safe to include SkRuntimeEffect.h from client code 2019-12-30 21:06:56 +00:00
gm in gm/skvm.cpp, Fade doesn't need to wrap a shader 2020-01-06 16:25:21 +00:00
gn Move SkRuntimeEffect.h to include/effects 2020-01-02 17:37:46 +00:00
include Some GrTypes cleanup. 2020-01-03 19:49:07 +00:00
infra Roll recipe dependencies (trivial). 2020-01-06 18:17:23 +00:00
modules [canvaskit] Remove support for T1 fonts and reduce code size 2020-01-06 18:49:41 +00:00
platform_tools Revert "GrGLMakeNativeInterface_{iOS,mac,win}: clean up" 2019-12-27 17:38:53 +00:00
resources Add more variation support on Mac. 2019-12-13 18:16:13 +00:00
samplecode Small bug fixes: leading spaces affect all width measurements, 2020-01-06 14:57:41 +00:00
site Enable ASAN on Windows 2019-12-30 17:06:26 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Make tracing data a compile-time option 2020-01-06 18:37:13 +00:00
tests Some GrTypes cleanup. 2020-01-03 19:49:07 +00:00
third_party [canvaskit] Remove support for T1 fonts and reduce code size 2020-01-06 18:49:41 +00:00
tools Add a commandline flag to force offscreen rendering in viewer 2020-01-06 17:28:23 +00:00
.clang-format restore .clang-format 2019-03-21 15:52:32 +00:00
.clang-tidy add google-build-namespaces to clang-tidy checks 2018-12-12 16:33:59 +00:00
.gitignore clean up some .gitignores 2019-05-15 19:55:45 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Optimize SkSL xor where one argument is constant 2019-12-20 14:50:46 +00:00
BUILD.gn [canvaskit] Update compile.sh with initial code size findings 2020-01-02 14:05:45 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll third_party/externals/angle2 1fdf6ca5141d..1031d2c65b5e (5 commits) 2020-01-06 04:42:21 +00:00
go.mod [infra] Use "mod download" and "install", not "get" in chrome_release_branch 2019-12-06 11:16:41 +00:00
go.sum [infra] Use "mod download" and "install", not "get" in chrome_release_branch 2019-12-06 11:16:41 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py Use urllib_request instead of urllib2 in PRESUBMIT. 2019-10-22 20:30:56 +00:00
public.bzl public.bzl: add SKOTTIE_IOS_LIB_{SRCS,HDRS} 2019-12-19 15:34:19 +00:00
README
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Move SkRuntimeEffect.h to include/effects 2020-01-02 17:37:46 +00:00
whitespace.txt Whitespace test 2019-05-18 13:05:29 +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.