Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Remove call to SkTypeface::MakeDefault#47344

Merged
kjlubick merged 3 commits into
flutter-team-archive:mainfrom
kjlubick:remove-make-default
Oct 30, 2023
Merged

Remove call to SkTypeface::MakeDefault#47344
kjlubick merged 3 commits into
flutter-team-archive:mainfrom
kjlubick:remove-make-default

Conversation

@kjlubick

@kjlubick kjlubick commented Oct 26, 2023

Copy link
Copy Markdown
Contributor

Skia plans to remove the default (global) SkFontMgr, which in turn, requires the removal of a default typeface (e.g. the
typeface returned by SkTypeface::MakeDefault and when nullptr passed in to the SkFont constructor).

See https://g-issues.skia.org/issues/305780908

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@kjlubick
kjlubick marked this pull request as ready for review October 26, 2023 19:08
@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 26, 2023
@auto-submit auto-submit Bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Oct 26, 2023
@auto-submit

auto-submit Bot commented Oct 26, 2023

Copy link
Copy Markdown
Contributor

auto label is removed for flutter/engine/47344, due to - The status or check suite Linux linux_web_engine has failed. Please fix the issues identified (or deflake) before re-applying this label.

@kjlubick
kjlubick merged commit 4f4f6dd into flutter-team-archive:main Oct 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 30, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 30, 2023
gaaclarke pushed a commit to flutter/flutter that referenced this pull request Oct 30, 2023
…37570)

Manual roll requested by zra@google.com

flutter-team-archive/engine@84dcb4f...4f87c20

2023-10-30 skia-flutter-autoroll@skia.org Roll Dart SDK from
5a666e8d8259 to 85e149f894df (6 revisions) (flutter-team-archive/engine#47470)
2023-10-30 dacoharkes@google.com [deps] Stop moving NDK folder inside
Android SDK (flutter-team-archive/engine#47454)
2023-10-30 jonahwilliams@google.com Revert "[Impeller] remove image
upload workarounds." (flutter-team-archive/engine#47402)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 89250a0bd6bb to
817fca468240 (3 revisions) (flutter-team-archive/engine#47465)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 006424658682 to
89250a0bd6bb (3 revisions) (flutter-team-archive/engine#47463)
2023-10-30 chinmaygarde@google.com Migrate inja, sqlite, libtess2 to
//flutter/third_party. (flutter-team-archive/engine#47408)
2023-10-30 zanderso@users.noreply.github.com Revert "Roll Dart SDK from
5a666e8d8259 to 38e8459ca2aa (4 revisions)" (flutter-team-archive/engine#47459)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 09818d8c9d3c to
006424658682 (1 revision) (flutter-team-archive/engine#47458)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 6e9cd1b79105 to
09818d8c9d3c (1 revision) (flutter-team-archive/engine#47456)
2023-10-30 kjlubick@users.noreply.github.com Remove call to
SkTypeface::MakeDefault (flutter-team-archive/engine#47344)
2023-10-30 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
LbIVijDVwcB56_wgv... to zf2xLsbeoVrbnEDiH... (flutter-team-archive/engine#47452)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from c732ec7f5d74 to
6e9cd1b79105 (2 revisions) (flutter-team-archive/engine#47451)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from e45946f89a8b to
c732ec7f5d74 (2 revisions) (flutter-team-archive/engine#47448)
2023-10-30 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from
OJfJYAvhpAkE-kvbY... to jCjz-imbNBDjiRVa1... (flutter-team-archive/engine#47447)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 7545d1468268 to
e45946f89a8b (1 revision) (flutter-team-archive/engine#47446)
2023-10-29 skia-flutter-autoroll@skia.org Roll Skia from e224e1dc5e2c to
7545d1468268 (1 revision) (flutter-team-archive/engine#47444)
2023-10-29 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
v-9_Di17lm_C_mrpZ... to LbIVijDVwcB56_wgv... (flutter-team-archive/engine#47443)
2023-10-29 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from
s0pbwY5MGxyq0tNrT... to OJfJYAvhpAkE-kvbY... (flutter-team-archive/engine#47439)
2023-10-29 skia-flutter-autoroll@skia.org Roll Skia from d29cc3fe182f to
e224e1dc5e2c (1 revision) (flutter-team-archive/engine#47438)
2023-10-29 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
nreLekedxzmcdb3ww... to v-9_Di17lm_C_mrpZ... (flutter-team-archive/engine#47436)
2023-10-29 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from
qiHQ7aarDQb_1Rq3G... to s0pbwY5MGxyq0tNrT... (flutter-team-archive/engine#47431)
2023-10-28 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
ESkamdoXWIwkdWdP-... to nreLekedxzmcdb3ww... (flutter-team-archive/engine#47429)
2023-10-28 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from
9YSl2rN0sj5YpYNdQ... to qiHQ7aarDQb_1Rq3G... (flutter-team-archive/engine#47428)
2023-10-28 skia-flutter-autoroll@skia.org Roll Dart SDK from
5a666e8d8259 to 38e8459ca2aa (4 revisions) (flutter-team-archive/engine#47426)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from ESkamdoXWIwk to zf2xLsbeoVrb
  fuchsia/sdk/core/mac-amd64 from 9YSl2rN0sj5Y to jCjz-imbNBDj

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry@google.com,zra@google.com on the
revert to ensure that a human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
ksokolovskyi pushed a commit to ksokolovskyi/flutter that referenced this pull request Oct 31, 2023
…utter#137570)

Manual roll requested by zra@google.com

flutter-team-archive/engine@84dcb4f...4f87c20

2023-10-30 skia-flutter-autoroll@skia.org Roll Dart SDK from
5a666e8d8259 to 85e149f894df (6 revisions) (flutter-team-archive/engine#47470)
2023-10-30 dacoharkes@google.com [deps] Stop moving NDK folder inside
Android SDK (flutter-team-archive/engine#47454)
2023-10-30 jonahwilliams@google.com Revert "[Impeller] remove image
upload workarounds." (flutter-team-archive/engine#47402)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 89250a0bd6bb to
817fca468240 (3 revisions) (flutter-team-archive/engine#47465)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 006424658682 to
89250a0bd6bb (3 revisions) (flutter-team-archive/engine#47463)
2023-10-30 chinmaygarde@google.com Migrate inja, sqlite, libtess2 to
//flutter/third_party. (flutter-team-archive/engine#47408)
2023-10-30 zanderso@users.noreply.github.com Revert "Roll Dart SDK from
5a666e8d8259 to 38e8459ca2aa (4 revisions)" (flutter-team-archive/engine#47459)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 09818d8c9d3c to
006424658682 (1 revision) (flutter-team-archive/engine#47458)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 6e9cd1b79105 to
09818d8c9d3c (1 revision) (flutter-team-archive/engine#47456)
2023-10-30 kjlubick@users.noreply.github.com Remove call to
SkTypeface::MakeDefault (flutter-team-archive/engine#47344)
2023-10-30 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
LbIVijDVwcB56_wgv... to zf2xLsbeoVrbnEDiH... (flutter-team-archive/engine#47452)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from c732ec7f5d74 to
6e9cd1b79105 (2 revisions) (flutter-team-archive/engine#47451)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from e45946f89a8b to
c732ec7f5d74 (2 revisions) (flutter-team-archive/engine#47448)
2023-10-30 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from
OJfJYAvhpAkE-kvbY... to jCjz-imbNBDjiRVa1... (flutter-team-archive/engine#47447)
2023-10-30 skia-flutter-autoroll@skia.org Roll Skia from 7545d1468268 to
e45946f89a8b (1 revision) (flutter-team-archive/engine#47446)
2023-10-29 skia-flutter-autoroll@skia.org Roll Skia from e224e1dc5e2c to
7545d1468268 (1 revision) (flutter-team-archive/engine#47444)
2023-10-29 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
v-9_Di17lm_C_mrpZ... to LbIVijDVwcB56_wgv... (flutter-team-archive/engine#47443)
2023-10-29 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from
s0pbwY5MGxyq0tNrT... to OJfJYAvhpAkE-kvbY... (flutter-team-archive/engine#47439)
2023-10-29 skia-flutter-autoroll@skia.org Roll Skia from d29cc3fe182f to
e224e1dc5e2c (1 revision) (flutter-team-archive/engine#47438)
2023-10-29 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
nreLekedxzmcdb3ww... to v-9_Di17lm_C_mrpZ... (flutter-team-archive/engine#47436)
2023-10-29 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from
qiHQ7aarDQb_1Rq3G... to s0pbwY5MGxyq0tNrT... (flutter-team-archive/engine#47431)
2023-10-28 skia-flutter-autoroll@skia.org Roll Fuchsia Linux SDK from
ESkamdoXWIwkdWdP-... to nreLekedxzmcdb3ww... (flutter-team-archive/engine#47429)
2023-10-28 skia-flutter-autoroll@skia.org Roll Fuchsia Mac SDK from
9YSl2rN0sj5YpYNdQ... to qiHQ7aarDQb_1Rq3G... (flutter-team-archive/engine#47428)
2023-10-28 skia-flutter-autoroll@skia.org Roll Dart SDK from
5a666e8d8259 to 38e8459ca2aa (4 revisions) (flutter-team-archive/engine#47426)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from ESkamdoXWIwk to zf2xLsbeoVrb
  fuchsia/sdk/core/mac-amd64 from 9YSl2rN0sj5Y to jCjz-imbNBDj

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry@google.com,zra@google.com on the
revert to ensure that a human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants