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

Fix a couple of old review comments #15011

Merged
merged 3 commits into from
Jun 9, 2022

Conversation

Snuffleupagus
Copy link
Collaborator

Because the comments were made on old, and closed, PRs it's mostly luck that I happened to notice them.

This PR fixes the following comments, with most of them having been introduced earlier (see the individual commit messages):

…PR 5366 follow-up)

Because of a capitalization error, the MIME type wasn't actually being set correctly. However, please note that downloading of font files still worked correctly which is probably why this has gone unnoticed since 2014.
Because of a small oversight, this method accidentally handled the intermediate array incorrectly.
…tAnnotation`-class (PR 14720 follow-up)

In the "no fontSize available" code-path, in the `ChoiceWidgetAnnotation._getAppearance` method, we don't provide the necessary second argument when calling the `_getTextWidth`-method which will cause errors to be thrown.
@Snuffleupagus Snuffleupagus marked this pull request as ready for review June 9, 2022 08:24
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Jun 9, 2022

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/415e3a6f4ebace5/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 9, 2022

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/714af111bced512/output.txt

@Snuffleupagus Snuffleupagus changed the title Fix a couple of review comments Fix a couple of old review comments Jun 9, 2022
@pdfjsbot
Copy link

pdfjsbot commented Jun 9, 2022

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/415e3a6f4ebace5/output.txt

Total script time: 26.25 mins

  • Font tests: Passed
  • Unit tests: FAILED
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 25

Image differences available at: http://54.241.84.105:8877/415e3a6f4ebace5/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Jun 9, 2022

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/714af111bced512/output.txt

Total script time: 28.05 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 1

Image differences available at: http://54.193.163.58:8877/714af111bced512/reftest-analyzer.html#web=eq.log

Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants