combine_pdf
combine_pdf copied to clipboard
no implicit conversion of Symbol into Integer when using fonts()
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.