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

PDF: Conflict in font configuration when running two Metanorma instances #283

Closed
ronaldtse opened this issue Apr 18, 2023 · 6 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link
Contributor

Currently the collection generation workflow displays the following message:

[mn2pdf] Fatal error!
[mn2pdf] STDOUT:
[mn2pdf] mn2pdf 
[mn2pdf] 
[mn2pdf] 
[mn2pdf] [INFO] Rendering into intermediate format ...
[mn2pdf] [INFO] Rendering into intermediate format ...
[mn2pdf] [INFO] XSL-FO file preparation (second pass)...
[mn2pdf] STDERR:
[mn2pdf] Preparing...
[mn2pdf] Input: XML (/var/folders/2t/xmdrn2sd2lv2w49dv0zw9_q00000gp/T/si-brochure-en20230417-34155-wuz637.xml)
[mn2pdf] Input: XSL (/Users/mulgogi/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/metanorma-bipm-2.2.8/lib/isodoc/bipm/bipm.brochure.xsl)
[mn2pdf] Input: XSL parameters ({baseassetpath=/Users/mulgogi/src/mn/bipm-si-brochure/sources})
[mn2pdf] Output: PDF (/Users/mulgogi/src/mn/bipm-si-brochure/_site/documents/si-brochure-en.pdf)
[mn2pdf] 
[mn2pdf] [INFO] Generation of XSL-FO with information about the table's widths ...
[mn2pdf] [INFO] Generation of Intermediate Format with information about the table's widths ...
[mn2pdf] java.awt.FontFormatException: bad pfa font
[mn2pdf] 	at java.desktop/sun.font.Type1Font.verifyPFA(Type1Font.java:324)
[mn2pdf] 	at java.desktop/sun.font.Type1Font.verify(Type1Font.java:302)
[mn2pdf] 	at java.desktop/sun.font.Type1Font.<init>(Type1Font.java:172)
[mn2pdf] 	at java.desktop/sun.font.SunFontManager.createFont2D(SunFontManager.java:2223)
[mn2pdf] 	at java.desktop/java.awt.Font.<init>(Font.java:644)
[mn2pdf] 	at java.desktop/java.awt.Font.createFont(Font.java:1250)
[mn2pdf] 	at org.metanorma.fop.fontConfig.registerFont(fontConfig.java:837)
[mn2pdf] 	at org.metanorma.fop.fontConfig.lambda$updateFontsForGraphicsEnvironment$33(fontConfig.java:807)
[mn2pdf] 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[mn2pdf] 	at org.metanorma.fop.fontConfig.updateFontsForGraphicsEnvironment(fontConfig.java:806)
[mn2pdf] 	at org.metanorma.fop.fontConfig.updateConfig(fontConfig.java:463)
[mn2pdf] 	at org.metanorma.fop.fontConfig.getConfig(fontConfig.java:774)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.setTablesWidths(PDFGenerator.java:1147)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.convertmn2pdf(PDFGenerator.java:390)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.process(PDFGenerator.java:301)
[mn2pdf] 	at org.metanorma.fop.mn2pdf.main(mn2pdf.java:338)
[mn2pdf] coverage set class table not yet supported
[mn2pdf] coverage set class table not yet supported
[mn2pdf] coverage set class table not yet supported
[mn2pdf] coverage set class table not yet supported
[mn2pdf] [INFO] Intermediate format. Rendered page #1.
[mn2pdf] [INFO] Intermediate format. Rendered page #2.
[mn2pdf] [INFO] Intermediate format. Rendered page #3.
[mn2pdf] [INFO] Intermediate format. Rendered page #4.
[mn2pdf] [INFO] Intermediate format. Rendered page #5.
[mn2pdf] [INFO] Intermediate format. Rendered page #6.
[mn2pdf] [INFO] Intermediate format. Rendered page #7.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] [INFO] Intermediate format. Rendered page #8.
[mn2pdf] [INFO] Intermediate format. Rendered page #9.
[mn2pdf] [INFO] Intermediate format. Rendered page #10.
[mn2pdf] [INFO] Intermediate format. Rendered page #11.
[mn2pdf] [INFO] Intermediate format. Rendered page #12.
[mn2pdf] [INFO] Intermediate format. Rendered page #13.
[mn2pdf] [INFO] Intermediate format. Rendered page #14.
[mn2pdf] [INFO] Intermediate format. Rendered page #15.
[mn2pdf] [INFO] Intermediate format. Rendered page #16.
[mn2pdf] [INFO] Intermediate format. Rendered page #17.
[mn2pdf] [INFO] Intermediate format. Rendered page #18.
[mn2pdf] [INFO] Intermediate format. Rendered page #19.
[mn2pdf] [INFO] Intermediate format. Rendered page #20.
[mn2pdf] [INFO] Intermediate format. Rendered page #21.
[mn2pdf] [INFO] Intermediate format. Rendered page #22.
[mn2pdf] [INFO] Intermediate format. Rendered page #23.
[mn2pdf] [INFO] Intermediate format. Rendered page #24.
[mn2pdf] [INFO] Intermediate format. Rendered page #25.
[mn2pdf] [INFO] Intermediate format. Rendered page #26.
[mn2pdf] [INFO] Intermediate format. Rendered page #27.
[mn2pdf] [INFO] Intermediate format. Rendered page #28.
[mn2pdf] [INFO] Intermediate format. Rendered page #29.
[mn2pdf] [INFO] Intermediate format. Rendered page #30.
[mn2pdf] [INFO] Intermediate format. Rendered page #31.
[mn2pdf] [INFO] Intermediate format. Rendered page #32.
[mn2pdf] [INFO] Intermediate format. Rendered page #33.
[mn2pdf] [INFO] Intermediate format. Rendered page #34.
[mn2pdf] [INFO] Intermediate format. Rendered page #35.
[mn2pdf] [INFO] Intermediate format. Rendered page #36.
[mn2pdf] [INFO] Intermediate format. Rendered page #37.
[mn2pdf] [INFO] Intermediate format. Rendered page #38.
[mn2pdf] [INFO] Intermediate format. Rendered page #39.
[mn2pdf] [INFO] Intermediate format. Rendered page #40.
[mn2pdf] [INFO] Intermediate format. Rendered page #41.
[mn2pdf] [INFO] Intermediate format. Rendered page #42.
[mn2pdf] [INFO] Intermediate format. Rendered page #43.
[mn2pdf] [INFO] Intermediate format. Rendered page #44.
[mn2pdf] [INFO] Intermediate format. Rendered page #45.
[mn2pdf] [INFO] Intermediate format. Rendered page #46.
[mn2pdf] [INFO] Intermediate format. Rendered page #47.
[mn2pdf] [INFO] Intermediate format. Rendered page #48.
[mn2pdf] [INFO] Intermediate format. Rendered page #49.
[mn2pdf] [INFO] Intermediate format. Rendered page #50.
[mn2pdf] [INFO] Intermediate format. Rendered page #51.
[mn2pdf] [INFO] Intermediate format. Rendered page #52.
[mn2pdf] [INFO] Intermediate format. Rendered page #53.
[mn2pdf] [INFO] Intermediate format. Rendered page #54.
[mn2pdf] [INFO] Intermediate format. Rendered page #55.
[mn2pdf] [INFO] Intermediate format. Rendered page #56.
[mn2pdf] [INFO] Intermediate format. Rendered page #57.
[mn2pdf] [INFO] Intermediate format. Rendered page #58.
[mn2pdf] [INFO] Intermediate format. Rendered page #59.
[mn2pdf] [INFO] Intermediate format. Rendered page #60.
[mn2pdf] [INFO] Intermediate format. Rendered page #61.
[mn2pdf] [INFO] Intermediate format. Rendered page #62.
[mn2pdf] [INFO] Intermediate format. Rendered page #63.
[mn2pdf] [INFO] Intermediate format. Rendered page #64.
[mn2pdf] [INFO] Intermediate format. Rendered page #65.
[mn2pdf] [INFO] Intermediate format. Rendered page #66.
[mn2pdf] [INFO] Intermediate format. Rendered page #67.
[mn2pdf] [INFO] Intermediate format. Rendered page #68.
[mn2pdf] [INFO] Intermediate format. Rendered page #69.
[mn2pdf] [INFO] Intermediate format. Rendered page #70.
[mn2pdf] [INFO] Intermediate format. Rendered page #71.
[mn2pdf] [INFO] Intermediate format. Rendered page #72.
[mn2pdf] [INFO] Intermediate format. Rendered page #73.
[mn2pdf] [INFO] Intermediate format. Rendered page #74.
[mn2pdf] [INFO] Intermediate format. Rendered page #75.
[mn2pdf] [INFO] Intermediate format. Rendered page #76.
[mn2pdf] [INFO] Intermediate format. Rendered page #77.
[mn2pdf] [INFO] Intermediate format. Rendered page #78.
[mn2pdf] [INFO] Intermediate format. Rendered page #79.
[mn2pdf] [INFO] Intermediate format. Rendered page #80.
[mn2pdf] [INFO] Intermediate format. Rendered page #81.
[mn2pdf] [INFO] Intermediate format. Rendered page #82.
[mn2pdf] [INFO] Intermediate format. Rendered page #83.
[mn2pdf] [INFO] Intermediate format. Rendered page #84.
[mn2pdf] [INFO] Intermediate format. Rendered page #85.
[mn2pdf] [INFO] Intermediate format. Rendered page #86.
[mn2pdf] [INFO] Intermediate format. Rendered page #87.
[mn2pdf] [INFO] Intermediate format. Rendered page #88.
[mn2pdf] [INFO] Intermediate format. Rendered page #89.
[mn2pdf] [INFO] Intermediate format. Rendered page #90.
[mn2pdf] [INFO] Intermediate format. Rendered page #91.
[mn2pdf] [INFO] Intermediate format. Rendered page #92.
[mn2pdf] [INFO] Intermediate format. Rendered page #93.
[mn2pdf] [INFO] Intermediate format. Rendered page #94.
[mn2pdf] [INFO] Intermediate format. Rendered page #95.
[mn2pdf] [INFO] Intermediate format. Rendered page #96.
[mn2pdf] [INFO] Intermediate format. Rendered page #97.
[mn2pdf] [INFO] Intermediate format. Rendered page #98.
[mn2pdf] [INFO] Intermediate format. Rendered page #99.
[mn2pdf] [INFO] Intermediate format. Rendered page #100.
[mn2pdf] [INFO] Intermediate format. Rendered page #101.
[mn2pdf] [INFO] Intermediate format. Rendered page #102.
[mn2pdf] [INFO] Intermediate format. Rendered page #103.
[mn2pdf] [INFO] Intermediate format. Rendered page #104.
[mn2pdf] [INFO] Intermediate format. Rendered page #105.
[mn2pdf] [INFO] Intermediate format. Rendered page #106.
[mn2pdf] [INFO] Intermediate format. Rendered page #107.
[mn2pdf] [INFO] Intermediate format. Rendered page #108.
[mn2pdf] [INFO] Generated successfully!
[mn2pdf] [INFO] Generation XML with table's widths ...
[mn2pdf] [INFO] Generated successfully!
[mn2pdf] [INFO] XSL-FO file preparation...
[mn2pdf] java.awt.FontFormatException: bad pfa font
[mn2pdf] 	at java.desktop/sun.font.Type1Font.verifyPFA(Type1Font.java:324)
[mn2pdf] 	at java.desktop/sun.font.Type1Font.verify(Type1Font.java:302)
[mn2pdf] 	at java.desktop/sun.font.Type1Font.<init>(Type1Font.java:172)
[mn2pdf] 	at java.desktop/sun.font.SunFontManager.createFont2D(SunFontManager.java:2223)
[mn2pdf] 	at java.desktop/java.awt.Font.<init>(Font.java:644)
[mn2pdf] 	at java.desktop/java.awt.Font.createFont(Font.java:1250)
[mn2pdf] 	at org.metanorma.fop.fontConfig.registerFont(fontConfig.java:837)
[mn2pdf] 	at org.metanorma.fop.fontConfig.lambda$updateFontsForGraphicsEnvironment$33(fontConfig.java:807)
[mn2pdf] 	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
[mn2pdf] 	at org.metanorma.fop.fontConfig.updateFontsForGraphicsEnvironment(fontConfig.java:806)
[mn2pdf] 	at org.metanorma.fop.fontConfig.updateConfig(fontConfig.java:463)
[mn2pdf] 	at org.metanorma.fop.fontConfig.getConfig(fontConfig.java:774)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.runSecondPass(PDFGenerator.java:631)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.convertmn2pdf(PDFGenerator.java:415)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.process(PDFGenerator.java:301)
[mn2pdf] 	at org.metanorma.fop.mn2pdf.main(mn2pdf.java:338)
[mn2pdf] coverage set class table not yet supported
[mn2pdf] coverage set class table not yet supported
[mn2pdf] coverage set class table not yet supported
[mn2pdf] coverage set class table not yet supported
[mn2pdf] [INFO] Intermediate format. Rendered page #1.
[mn2pdf] [INFO] Intermediate format. Rendered page #2.
[mn2pdf] [INFO] Intermediate format. Rendered page #3.
[mn2pdf] [INFO] Intermediate format. Rendered page #4.
[mn2pdf] [INFO] Intermediate format. Rendered page #5.
[mn2pdf] [INFO] Intermediate format. Rendered page #6.
[mn2pdf] [INFO] Intermediate format. Rendered page #7.
[mn2pdf] [INFO] Intermediate format. Rendered page #8.
[mn2pdf] [INFO] Intermediate format. Rendered page #9.
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "dim "ii(Q) = sf "T"^(ii(alpha)) sf "L"^(ii(beta)) sf "M"^(ii(gamma)) sf "I"^(ii(delta)) Theta^(ii(epsilon)) sf "N"^(ii(zeta)) sf "J"^(ii(eta))
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "unitsml(rad)" = 1
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "unitsml(sr)" = 1
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "lg" = "log"_(10)
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "Sr"^+
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "Hg"^+
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "In"^+
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "Yb"^+
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "I"_2
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "CH"_4
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "OsO"_4
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "CO"_2
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "C"_2"H"_2
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "C"_2"H"_2
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "I"_2
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "C"_2"H"_2
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "I"_2
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "v"_1 + "v"_3
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "v"_1 + "v"_3
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "v"_1 + "v"_3 + "v"_4 + "v"_5
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "a"_1
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "R"(36) 32-0
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] text-decoration="inherit" on fo:basic-link, but no explicit value found on the parent FO.
[mn2pdf] String-valued property starts with quote but doesn't end with quote: "unitsml(Hz)" = "unitsml(s)"^(-1)
[mn2pdf] [INFO] Intermediate format. Rendered page #10.
[mn2pdf] [INFO] Intermediate format. Rendered page #11.
[mn2pdf] [INFO] Intermediate format. Rendered page #12.
[mn2pdf] [INFO] Intermediate format. Rendered page #13.
[mn2pdf] [INFO] Intermediate format. Rendered page #14.
[mn2pdf] [INFO] Intermediate format. Rendered page #15.
[mn2pdf] [INFO] Intermediate format. Rendered page #16.
[mn2pdf] [INFO] Intermediate format. Rendered page #17.
[mn2pdf] [INFO] Intermediate format. Rendered page #18.
[mn2pdf] [INFO] Intermediate format. Rendered page #19.
[mn2pdf] [INFO] Intermediate format. Rendered page #20.
[mn2pdf] [INFO] Intermediate format. Rendered page #21.
[mn2pdf] [INFO] Intermediate format. Rendered page #22.
[mn2pdf] [INFO] Intermediate format. Rendered page #23.
[mn2pdf] [INFO] Intermediate format. Rendered page #24.
[mn2pdf] [INFO] Intermediate format. Rendered page #25.
[mn2pdf] [INFO] Intermediate format. Rendered page #26.
[mn2pdf] [INFO] Intermediate format. Rendered page #27.
[mn2pdf] [INFO] Intermediate format. Rendered page #28.
[mn2pdf] [INFO] Intermediate format. Rendered page #29.
[mn2pdf] [INFO] Intermediate format. Rendered page #30.
[mn2pdf] [INFO] Intermediate format. Rendered page #31.
[mn2pdf] [INFO] Intermediate format. Rendered page #32.
[mn2pdf] [INFO] Intermediate format. Rendered page #33.
[mn2pdf] [INFO] Intermediate format. Rendered page #34.
[mn2pdf] [INFO] Intermediate format. Rendered page #35.
[mn2pdf] [INFO] Intermediate format. Rendered page #36.
[mn2pdf] [INFO] Intermediate format. Rendered page #37.
[mn2pdf] [INFO] Intermediate format. Rendered page #38.
[mn2pdf] [INFO] Intermediate format. Rendered page #39.
[mn2pdf] [INFO] Intermediate format. Rendered page #40.
[mn2pdf] [INFO] Intermediate format. Rendered page #41.
[mn2pdf] [INFO] Intermediate format. Rendered page #42.
[mn2pdf] [INFO] Intermediate format. Rendered page #43.
[mn2pdf] [INFO] Intermediate format. Rendered page #44.
[mn2pdf] [INFO] Intermediate format. Rendered page #45.
[mn2pdf] [INFO] Intermediate format. Rendered page #46.
[mn2pdf] [INFO] Intermediate format. Rendered page #47.
[mn2pdf] [INFO] Intermediate format. Rendered page #48.
[mn2pdf] [INFO] Intermediate format. Rendered page #49.
[mn2pdf] [INFO] Intermediate format. Rendered page #50.
[mn2pdf] [INFO] Intermediate format. Rendered page #51.
[mn2pdf] [INFO] Intermediate format. Rendered page #52.
[mn2pdf] [INFO] Intermediate format. Rendered page #53.
[mn2pdf] [INFO] Intermediate format. Rendered page #54.
[mn2pdf] [INFO] Intermediate format. Rendered page #55.
[mn2pdf] [INFO] Intermediate format. Rendered page #56.
[mn2pdf] [INFO] Intermediate format. Rendered page #57.
[mn2pdf] [INFO] Intermediate format. Rendered page #58.
[mn2pdf] [INFO] Intermediate format. Rendered page #59.
[mn2pdf] [INFO] Intermediate format. Rendered page #60.
[mn2pdf] [INFO] Intermediate format. Rendered page #61.
[mn2pdf] [INFO] Intermediate format. Rendered page #62.
[mn2pdf] [INFO] Intermediate format. Rendered page #63.
[mn2pdf] [INFO] Intermediate format. Rendered page #64.
[mn2pdf] [INFO] Intermediate format. Rendered page #65.
[mn2pdf] [INFO] Intermediate format. Rendered page #66.
[mn2pdf] [INFO] Intermediate format. Rendered page #67.
[mn2pdf] [INFO] Intermediate format. Rendered page #68.
[mn2pdf] [INFO] Intermediate format. Rendered page #69.
[mn2pdf] [INFO] Intermediate format. Rendered page #70.
[mn2pdf] [INFO] Intermediate format. Rendered page #71.
[mn2pdf] [INFO] Intermediate format. Rendered page #72.
[mn2pdf] [INFO] Intermediate format. Rendered page #73.
[mn2pdf] [INFO] Intermediate format. Rendered page #74.
[mn2pdf] [INFO] Intermediate format. Rendered page #75.
[mn2pdf] [INFO] Intermediate format. Rendered page #76.
[mn2pdf] [INFO] Intermediate format. Rendered page #77.
[mn2pdf] [INFO] Intermediate format. Rendered page #78.
[mn2pdf] [INFO] Intermediate format. Rendered page #79.
[mn2pdf] [INFO] Intermediate format. Rendered page #80.
[mn2pdf] [INFO] Intermediate format. Rendered page #81.
[mn2pdf] [INFO] Intermediate format. Rendered page #82.
[mn2pdf] [INFO] Intermediate format. Rendered page #83.
[mn2pdf] [INFO] Intermediate format. Rendered page #84.
[mn2pdf] [INFO] Intermediate format. Rendered page #85.
[mn2pdf] [INFO] Intermediate format. Rendered page #86.
[mn2pdf] [INFO] Intermediate format. Rendered page #87.
[mn2pdf] [INFO] Intermediate format. Rendered page #88.
[mn2pdf] [INFO] Intermediate format. Rendered page #89.
[mn2pdf] [INFO] Intermediate format. Rendered page #90.
[mn2pdf] [INFO] Intermediate format. Rendered page #91.
[mn2pdf] [INFO] Intermediate format. Rendered page #92.
[mn2pdf] [INFO] Intermediate format. Rendered page #93.
[mn2pdf] [INFO] Intermediate format. Rendered page #94.
[mn2pdf] [INFO] Intermediate format. Rendered page #95.
[mn2pdf] [INFO] Intermediate format. Rendered page #96.
[mn2pdf] [INFO] Intermediate format. Rendered page #97.
[mn2pdf] [INFO] Intermediate format. Rendered page #98.
[mn2pdf] [INFO] Intermediate format. Rendered page #99.
[mn2pdf] [INFO] Intermediate format. Rendered page #100.
[mn2pdf] [INFO] Intermediate format. Rendered page #101.
[mn2pdf] [INFO] Intermediate format. Rendered page #102.
[mn2pdf] [INFO] Intermediate format. Rendered page #103.
[mn2pdf] [INFO] Intermediate format. Rendered page #104.
[mn2pdf] [INFO] Intermediate format. Rendered page #105.
[mn2pdf] [INFO] Intermediate format. Rendered page #106.
[mn2pdf] [INFO] Intermediate format. Rendered page #107.
[mn2pdf] [INFO] Intermediate format. Rendered page #108.
[mn2pdf] [INFO] Intermediate format. Rendered page #109.
[mn2pdf] [INFO] Intermediate format. Rendered page #110.
[mn2pdf] [INFO] Intermediate format. Rendered page #111.
[mn2pdf] [INFO] Intermediate format. Rendered page #112.
[mn2pdf] [INFO] Intermediate format. Rendered page #113.
[mn2pdf] [INFO] Intermediate format. Rendered page #114.
[mn2pdf] [INFO] Intermediate format. Rendered page #115.
[mn2pdf] [INFO] Intermediate format. Rendered page #116.
[mn2pdf] Adding Math as text...
[mn2pdf] Transforming to Intermediate Format...
[mn2pdf] Failed to read font file file:/Users/mulgogi/src/mn/mn-samples-me/WorkSans-Regular.ttf /Users/mulgogi/src/mn/mn-samples-me/WorkSans-Regular.ttf (No such file or directory)
[mn2pdf] java.io.FileNotFoundException: /Users/mulgogi/src/mn/mn-samples-me/WorkSans-Regular.ttf (No such file or directory)
[mn2pdf] 	at java.base/java.io.FileInputStream.open0(Native Method)
[mn2pdf] 	at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
[mn2pdf] 	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
[mn2pdf] 	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:111)
[mn2pdf] 	at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
[mn2pdf] 	at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:189)
[mn2pdf] 	at java.base/java.net.URL.openStream(URL.java:1161)
[mn2pdf] 	at org.apache.fop.apps.io.ResourceResolverFactory$NormalResourceResolver.getResource(ResourceResolverFactory.java:224)
[mn2pdf] 	at org.apache.fop.apps.io.ResourceResolverFactory$TempAwareResourceResolver.getResource(ResourceResolverFactory.java:152)
[mn2pdf] 	at org.apache.fop.apps.io.ResourceResolverFactory$DefaultResourceResolver.getResource(ResourceResolverFactory.java:121)
[mn2pdf] 	at org.apache.fop.apps.io.InternalResourceResolver.getResource(InternalResourceResolver.java:94)
[mn2pdf] 	at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:113)
[mn2pdf] 	at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:103)
[mn2pdf] 	at org.apache.fop.fonts.FontLoader.getFont(FontLoader.java:126)
[mn2pdf] 	at org.apache.fop.fonts.FontLoader.loadFont(FontLoader.java:110)
[mn2pdf] 	at org.apache.fop.fonts.LazyFont.load(LazyFont.java:121)
[mn2pdf] 	at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:237)
[mn2pdf] 	at org.apache.fop.fonts.Font.getAscender(Font.java:120)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:82)
[mn2pdf] 	at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:118)
[mn2pdf] 	at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakOpportunityHelper.java:45)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getBreakBefore(BlockStackingLayoutManager.java:1071)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockStackingLayoutManager.addKnuthElementsForBreakBefore(BlockStackingLayoutManager.java:1049)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockStackingLayoutManager.breakBeforeServed(BlockStackingLayoutManager.java:447)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:224)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:186)
[mn2pdf] 	at org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowLayoutManager.java:223)
[mn2pdf] 	at org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayoutManager.java:148)
[mn2pdf] 	at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:116)
[mn2pdf] 	at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:69)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:252)
[mn2pdf] 	at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:675)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:179)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:159)
[mn2pdf] 	at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:385)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143)
[mn2pdf] 	at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267)
[mn2pdf] 	at org.apache.fop.fo.DelegatingFOEventHandler.endPageSequence(DelegatingFOEventHandler.java:114)
[mn2pdf] 	at org.apache.fop.accessibility.fo.FO2StructureTreeConverter.endPageSequence(FO2StructureTreeConverter.java:184)
[mn2pdf] 	at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:140)
[mn2pdf] 	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:390)
[mn2pdf] 	at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:207)
[mn2pdf] 	at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:204)
[mn2pdf] 	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
[mn2pdf] 	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:203)
[mn2pdf] 	at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:618)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1728)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2899)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
[mn2pdf] 	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.generateFOPIntermediateFormat(PDFGenerator.java:714)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.runFOP(PDFGenerator.java:460)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.convertmn2pdf(PDFGenerator.java:422)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.process(PDFGenerator.java:301)
[mn2pdf] 	at org.metanorma.fop.mn2pdf.main(mn2pdf.java:338)
[mn2pdf] 
[mn2pdf] Failed to read font file file:/Users/mulgogi/src/mn/mn-samples-me/WorkSans-Regular.ttf /Users/mulgogi/src/mn/mn-samples-me/WorkSans-Regular.ttf (No such file or directory)
[mn2pdf] java.lang.RuntimeException: Failed to read font file file:/Users/mulgogi/src/mn/mn-samples-me/WorkSans-Regular.ttf /Users/mulgogi/src/mn/mn-samples-me/WorkSans-Regular.ttf (No such file or directory)
[mn2pdf] 	at org.apache.fop.fonts.LazyFont.load(LazyFont.java:134)
[mn2pdf] 	at org.apache.fop.fonts.LazyFont.getAscender(LazyFont.java:237)
[mn2pdf] 	at org.apache.fop.fonts.Font.getAscender(Font.java:120)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockLayoutManager.initialize(BlockLayoutManager.java:82)
[mn2pdf] 	at org.apache.fop.layoutmgr.AbstractLayoutManager.getChildLM(AbstractLayoutManager.java:118)
[mn2pdf] 	at org.apache.fop.layoutmgr.BreakOpportunityHelper.getBreakBefore(BreakOpportunityHelper.java:45)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getBreakBefore(BlockStackingLayoutManager.java:1071)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockStackingLayoutManager.addKnuthElementsForBreakBefore(BlockStackingLayoutManager.java:1049)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockStackingLayoutManager.breakBeforeServed(BlockStackingLayoutManager.java:447)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:224)
[mn2pdf] 	at org.apache.fop.layoutmgr.BlockContainerLayoutManager.getNextKnuthElements(BlockContainerLayoutManager.java:186)
[mn2pdf] 	at org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowLayoutManager.java:223)
[mn2pdf] 	at org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayoutManager.java:148)
[mn2pdf] 	at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:116)
[mn2pdf] 	at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:69)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:252)
[mn2pdf] 	at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:675)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:179)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:159)
[mn2pdf] 	at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:385)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:113)
[mn2pdf] 	at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:143)
[mn2pdf] 	at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267)
[mn2pdf] 	at org.apache.fop.fo.DelegatingFOEventHandler.endPageSequence(DelegatingFOEventHandler.java:114)
[mn2pdf] 	at org.apache.fop.accessibility.fo.FO2StructureTreeConverter.endPageSequence(FO2StructureTreeConverter.java:184)
[mn2pdf] 	at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:140)
[mn2pdf] 	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:390)
[mn2pdf] 	at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:207)
[mn2pdf] 	at org.apache.fop.fo.FOTreeBuilder$3.run(FOTreeBuilder.java:204)
[mn2pdf] 	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
[mn2pdf] 	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:203)
[mn2pdf] 	at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:618)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1728)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2899)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:605)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:112)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:542)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:889)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:825)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
[mn2pdf] 	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1224)
[mn2pdf] 	at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.generateFOPIntermediateFormat(PDFGenerator.java:714)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.runFOP(PDFGenerator.java:460)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.convertmn2pdf(PDFGenerator.java:422)
[mn2pdf] 	at org.metanorma.fop.PDFGenerator.process(PDFGenerator.java:301)
[mn2pdf] 	at org.metanorma.fop.mn2pdf.main(mn2pdf.java:338)
[mn2pdf] Caused by: java.io.FileNotFoundException: /Users/mulgogi/src/mn/mn-samples-me/WorkSans-Regular.ttf (No such file or directory)
[mn2pdf] 	at java.base/java.io.FileInputStream.open0(Native Method)
[mn2pdf] 	at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
[mn2pdf] 	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
[mn2pdf] 	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:111)
[mn2pdf] 	at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
[mn2pdf] 	at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:189)
[mn2pdf] 	at java.base/java.net.URL.openStream(URL.java:1161)
[mn2pdf] 	at org.apache.fop.apps.io.ResourceResolverFactory$NormalResourceResolver.getResource(ResourceResolverFactory.java:224)
[mn2pdf] 	at org.apache.fop.apps.io.ResourceResolverFactory$TempAwareResourceResolver.getResource(ResourceResolverFactory.java:152)
[mn2pdf] 	at org.apache.fop.apps.io.ResourceResolverFactory$DefaultResourceResolver.getResource(ResourceResolverFactory.java:121)
[mn2pdf] 	at org.apache.fop.apps.io.InternalResourceResolver.getResource(InternalResourceResolver.java:94)
[mn2pdf] 	at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:113)
[mn2pdf] 	at org.apache.fop.fonts.truetype.OFFontLoader.read(OFFontLoader.java:103)
[mn2pdf] 	at org.apache.fop.fonts.FontLoader.getFont(FontLoader.java:126)
[mn2pdf] 	at org.apache.fop.fonts.FontLoader.loadFont(FontLoader.java:110)
[mn2pdf] 	at org.apache.fop.fonts.LazyFont.load(LazyFont.java:121)
[mn2pdf] 	... 47 more
[mn2pdf] 
[mn2pdf] XSL-FO file for debugging saved into: /Users/mulgogi/src/mn/bipm-si-brochure/_site/documents/si-brochure-en.pdf.fo.debug.xml
mn2pdf failed! Preparing...
Input: XML (/var/folders/2t/xmdrn2sd2lv2w49dv0zw9_q00000gp/T/si-brochure-en20230417-34155-wuz637.xml)
Input: XSL (/Users/mulgogi/.asdf/installs/ruby/3.1.2/lib/ruby/gems/3.1.0/gems/metanorma-bipm-2.2.8/lib/isodoc/bipm/bipm.brochure.xsl)
Input: XSL parameters ({baseassetpath=/Users/mulgogi/src/mn/bipm-si-brochure/sources})
Output: PDF (/Users/mulgogi/src/mn/bipm-si-brochure/_site/documents/si-brochure-en.pdf)

Notice that it refers to ~/src/mn/mn-samples-itu which is a different directory from the document's ~/src/mn/bipm-si-brochure. This seems to be an issue when I was parallel running both compilation processes at the same time -- the fontist configuration file should not be shared across Metanorma runs.

@ronaldtse ronaldtse added the bug Something isn't working label Apr 18, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Metanorma Apr 18, 2023
@ronaldtse ronaldtse moved this from 🆕 New to 🌋 Urgent in Metanorma Apr 18, 2023
@CAMOBAP
Copy link
Contributor

CAMOBAP commented Apr 18, 2023

the fontist configuration file should not be shared across Metanorma runs

@ronaldtse @Intelligent2013 I can confirm that they aren't shared. Metanorma create temp font manifest on each mn2pdf call

https://github.com/metanorma/mn2pdf-ruby/blob/a6035355a62f9302b3001a29b56f9eecf5e1f9d8/lib/mn2pdf.rb#L107-L114

@Intelligent2013 is it possible scenario that twomn2pdf during processing --font-manifest can interfere with each other?

@Intelligent2013
Copy link
Contributor

@Intelligent2013 is it possible scenario that twomn2pdf during processing --font-manifest can interfere with each other?

I think the issue in:
mn2pdf creates the Apache FOP config in ~\.metanorma\fonts\pdf_fonts_config.xml.out from fontist manifest. Second instance mn2pdf overwrites this config from 1st instance. I'll fix it.

@ronaldtse
Copy link
Contributor Author

I think the issue in: mn2pdf creates the Apache FOP config in ~\.metanorma\fonts\pdf_fonts_config.xml.out from fontist manifest. Second instance mn2pdf overwrites this config from 1st instance. I'll fix it.

Can we use the tmpdir for this since this is really a temp file?

@Intelligent2013
Copy link
Contributor

Can we use the tmpdir for this since this is really a temp file?

@ronaldtse I have updated mn2pdf already to use the folder with output PDF for this xml config, it is useful to use for debug purposes (with CLI parameter --debug) than find it in the temp folder.

@Intelligent2013
Copy link
Contributor

@Intelligent2013 Intelligent2013 moved this from 🌋 Urgent to ✅ Done in Metanorma Apr 25, 2023
@CAMOBAP
Copy link
Contributor

CAMOBAP commented May 3, 2023

Closed

@CAMOBAP CAMOBAP closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants