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

no implicit conversion of Symbol into Integer when using fonts() #223

Open
Souravgoswami opened this issue Sep 30, 2022 · 0 comments
Open

Comments

@Souravgoswami
Copy link

Souravgoswami commented Sep 30, 2022

TypeError is raised when calling fonts() method on CombinePDF::PDF object.

CombinePDF.new(file).fonts()

Or

CombinePDF.load(file).fonts()

Result:

TypeError - no implicit conversion of Symbol into Integer

It doesn't matter if I pass true to the argument or use default false.

EDIT:
Only happens with latest version 1.0.22. Works fine on 1.0.21. Although even with embedded Calibri and MS Reference Sans Serif, the fonts() method returns and empty array.

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

No branches or pull requests

1 participant