Go to file
Mike Reed 40d9c5162f Fix font creation lost style on Mac
On Mac 10.11, when creating a font from its name and style by using a
font descriptor, sometimes the created font lost the style. To work
around this problem, we check the font style after the creation, if
it is not correct, we will resort to font creation with symbolic traits
which creates the correct font.

BUG=skia:8447
BUG=874103

Change-Id: I8b57e5a81d0d19d9fb0a7bd2951de75f2c41e236
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/172200
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2019-06-10 18:40:28 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Revert "SkParagraph" 2019-06-10 13:16:53 +00:00
bin SkQP: new docker test code 2019-04-19 18:50:03 +00:00
dm Make color initialization version of createBackendTexture public 2019-06-04 20:12:22 +00:00
docker Include wasm debugger in continuous build part 2 2019-04-01 19:51:43 +00:00
docs/examples PDF example 2019-05-28 17:21:59 +00:00
example Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
experimental run rewrite_includes.py 2019-06-06 17:11:02 +00:00
fuzz Make fuzzing use embedded test font 2019-06-03 16:29:21 +00:00
gm Make GL & Vk backends create uninitialized backend textures 2019-06-10 16:27:07 +00:00
gn Revert "SkParagraph" 2019-06-10 13:16:53 +00:00
include More classes no longer inherit from SkNoncopyable 2019-06-10 18:15:18 +00:00
infra [infra] Add MSAN GPU (SwiftShader) bot 2019-06-10 17:39:38 +00:00
modules [skottie] Add support for range selector domains 2019-06-10 17:49:08 +00:00
platform_tools rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
resources [skottie] Add support for range selector domains 2019-06-10 17:49:08 +00:00
samplecode Revert "SkParagraph" 2019-06-10 13:16:53 +00:00
site Make fuzzing use embedded test font 2019-06-03 16:29:21 +00:00
specs [img-decode] Start on proposed new spec 2019-05-06 17:39:19 +00:00
src Fix font creation lost style on Mac 2019-06-10 18:40:28 +00:00
tests Fix font creation lost style on Mac 2019-06-10 18:40:28 +00:00
third_party Roll skia/third_party/skcms 386ae89d2b64..ed2c978cdeef (1 commits) 2019-06-07 17:14:43 +00:00
tools Make GL & Vk backends create uninitialized backend textures 2019-06-10 16:27:07 +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 Fix use of 'is' operator for comparison 2019-05-07 14:22:15 +00:00
BUILD.gn Revert "SkParagraph" 2019-06-10 13:16:53 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
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 ea49f6f5d4e3..2d0a9acb0551 (7 commits) 2019-06-10 15:03:14 +00:00
go.mod [infra] Pin infra code using Go modules 2019-05-06 17:53:19 +00:00
go.sum [infra] Pin infra code using Go modules 2019-05-06 17:53:19 +00:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
OWNERS add OWNERS file 2017-12-01 19:50:19 +00:00
PRESUBMIT.py add mtklein to api approvals 2019-04-02 15:16:56 +00:00
public.bzl Adding skparagraphto public.bzl 2019-06-10 15:48:14 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07: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.