Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set the default value of useSystemFonts correctly, depending on disableFontFace, in the API (PR 13516 follow-up) #13587

Merged
merged 1 commit into from
Jun 19, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

Sorry about the churn here, since the change that I made in PR #13516 was not very smart.

With the current code, it's now impossible for a user to actually control the useSystemFonts option manually. To prevent outright breakage we obviously still need to default to setting useSystemFonts = false when disableFontFace === true, however that should be possible for an API consumer to override.

…sableFontFace`, in the API (PR 13516 follow-up)

*Sorry about the churn here, since the change that I made in PR 13516 was not very smart.*

With the current code, it's now *impossible* for a user to actually control the `useSystemFonts` option manually. To prevent outright breakage we obviously still need to default to setting `useSystemFonts = false` when `disableFontFace === true`, however that should be possible for an API consumer to override.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/7eb2b74b59dacf4/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://3.101.106.178:8877/9bf92f3024c1d81/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/7eb2b74b59dacf4/output.txt

Total script time: 27.15 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.67.70.0:8877/7eb2b74b59dacf4/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/9bf92f3024c1d81/output.txt

Total script time: 30.06 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: FAILED
  • Regression tests: FAILED

Image differences available at: http://3.101.106.178:8877/9bf92f3024c1d81/reftest-analyzer.html#web=eq.log

@timvandermeij timvandermeij merged commit b9e8a3c into mozilla:master Jun 19, 2021
@timvandermeij
Copy link
Contributor

Thank you!

@Snuffleupagus Snuffleupagus deleted the useSystemFonts-default branch June 19, 2021 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants