Skip to content

Fix pfadecrypt bugs #5074

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

Merged
merged 2 commits into from
Aug 14, 2022
Merged

Fix pfadecrypt bugs #5074

merged 2 commits into from
Aug 14, 2022

Conversation

zjw
Copy link
Contributor

@zjw zjw commented Jul 26, 2022

The pfadecrypt T1 font decryption utility had a couple simple bugs that resulted gibberish when decoding a font. A bit more detail is given in the commit messages.

Type of change

  • Bug fix

zjw added 2 commits July 26, 2022 17:00
The typo resulted in the generation of complete gibberish when decrypting glyph charstrings.
A font's binary eexec ciphertext is followed by 512 clear text '0' characters which may be interspersed with white space characters.  Typically, there is a newline character preceding the first '0'.  The program was treating that newline as a final character of the ciphertext rather than as part of the white space.
@ctrlcctrlv
Copy link
Member

These changes seem reasonable to me and provided checks pass I'll merge them. Thanks!

@jtanx jtanx merged commit 98d4681 into fontforge:master Aug 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants