Skip to content

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

@Souravgoswami

Description

@Souravgoswami

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions