Force embedding full font when serializing pictures.
authormtklein <mtklein@chromium.org>
Thu, 11 Dec 2014 19:06:00 +0000 (11:06 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 11 Dec 2014 19:06:00 +0000 (11:06 -0800)
commit1a4900e8be6086a824488dc98d4822e440815657
tree6a56b14ad7f22000cb52b978740c57664f753570
parent895c43b28b27bb3124db3d32efd0c7219eb4a3cb
Force embedding full font when serializing pictures.

We can't do this unconditionally or pipe will become stupidly slow.

DM's serialize mode fails subtly on Mac when we force embedding, so I've
#ifdef'd that away.  Other platforms look fine.

BUG=skia:

Review URL: https://codereview.chromium.org/796523002
include/core/SkTypeface.h
src/core/SkPictureData.cpp
src/core/SkTypeface.cpp