Skip to content

Generator.totalPages does not count external documents #248

@davidhakki

Description

@davidhakki

What did you do?

Created a new pdf, added an external document with 150 pages. And generated the PDF

What did you expect to happen?

for generator.totalPages to accurately reflect the number of pages

What happened instead?

It claims there is only one page. This was working on an earlier version of tppdf

TPPDF Environment

TPPDF version: 2.31
Xcode version: 12.1
Swift version: 5.x

Demo Code / Project

ℹ Please add a code snippet, link to or upload a project we can download that reproduces the issue.
ℹ We need a fully compilingPDFDocument

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions