Describe the bug
The new PdfPig integration that replaced the existing html to pdf implementation throws the following errors when generating a pdf with 317 pages:
Error: Failed to load file:///<path to documentation>/_sitepdf/_raw/_sitepdf/fonts/glyphicons-halflings-regular.woff, with network status code 203 and http status code 0 - Error opening <path to documentation>/_sitepdf/_raw/_sitepdf/fonts/glyphicons-halflings-regular.woff: The system cannot find the path specified.
Error: Failed to load file:///<path to documentation>/_sitepdf/_raw/_sitepdf/fonts/glyphicons-halflings-regular.ttf, with network status code 203 and http status code 0 - Error opening <path to documentation>/_sitepdf/_raw/_sitepdf/fonts/glyphicons-halflings-regular.ttf: The system cannot find the path specified.
Error: Failed to load file:///<path to documentation>/_sitepdf/_raw/_sitepdf/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular, with network status code 203 and http status code 0 - Error opening <path to documentation>/_sitepdf/_raw/_sitepdf/fonts/glyphicons-halflings-regular.svg: The system cannot find the path specified.
Counting pages (2/6)
Warning: Received createRequest signal on a disposed ResourceObject's NetworkAccessManager. This might be an indication of an iframe taking too long to load.
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
Error: Failed to load about:blank, with network status code 301 and http status code 0 - Protocol "about" is unknown
Loading pages (1/6)
Counting pages (2/6)
Resolving links (4/6)
Loading headers and footers (5/6)
Printing pages (6/6)
Done
Documentation_pdf.pdf is generated based on pdf/toc.json under folder <path to documentation>\_sitepdf
Completed Scope:PDF in 102518.8224 milliseconds.
To Reproduce
Steps to reproduce the behavior:
Create a docfx project with many different pages (I can provide mine in private if desired to troubleshoot)
Generate the pdf
Expected behavior
No errors are thrown.
Context (please complete the following information):
OS: Windows 11 22H2 (Build 22621.1555)
Docfx version: 2.66.0
Additional context
This does not happen on a documentation project with only 15 pages of generated pdf.
Describe the bug The new PdfPig integration that replaced the existing html to pdf implementation throws the following errors when generating a pdf with 317 pages:
To Reproduce Steps to reproduce the behavior:
Expected behavior No errors are thrown.
Context (please complete the following information):
Additional context This does not happen on a documentation project with only 15 pages of generated pdf.