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

Resolve fonts for FOP which loaded externally and passed as byte array to BaseFont.createFont #361

Merged
merged 7 commits into from
Apr 23, 2020

Conversation

codecracker2014
Copy link
Contributor

BaseFont.createFont accepts ttf fonts in argument byte[] ttfAfm, this font doesn't gets resolved by FOP.
Fixed issue by reading font byte array from TrueTypeFontUnicode.

… change. So limit should be considered while iterating array else null character will get inserted.
� Conflicts:
�	openpdf/src/main/java/com/lowagie/text/pdf/FopGlyphProcessor.java
�	openpdf/src/test/java/com/lowagie/text/pdf/fonts/AdvanceTypographyTest.java
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@andreasrosdal andreasrosdal merged commit 6badb84 into LibrePDF:master Apr 23, 2020
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.

2 participants