这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@Finii
Copy link
Collaborator

@Finii Finii commented Oct 10, 2022

[why]
For some fonts the calculated checksum(s) was wrong.

[how]
Misplaced the multiplier ... the LSB shall not be shifted of course, but the current code shifts as last action: Also the LSB is shifted.

First shift (old) accumulated content, then add new data. In that way the last added data (LSB) is not shifted.

Requirements / Checklist

What does this Pull Request (PR) do?

How should this be manually tested?

Any background context you can provide?

Noticed only after failed runs on v2.3.0-RC because that version number changed the font lengths 👀

What are the relevant tickets (if any)?

Screenshots (if appropriate or helpful)

[why]
For some fonts the calculated checksum(s) was wrong.

[how]
Misplaced the multiplier ... the LSB shall not be shifted of course, but
the current code shifts as last action: Also the LSB is shifted.

First shift (old) accumulated content, then add new data.
In that way the last added data (LSB) is not shifted.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii Finii added the Bug fix label Oct 10, 2022
@Finii Finii merged commit ee17073 into master Oct 10, 2022
@Finii Finii deleted the bugfix/font-checksum branch October 10, 2022 14:29
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.

2 participants