Bug 242160

Summary: PS/PDF versions of the handbook cannot be built on FreeBSD 12.1
Product: Documentation Reporter: Nikolaus Klepp <dr.klepp>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Many People Keywords: regression
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
page from generated book with ###### none

Description Nikolaus Klepp 2019-11-22 20:12:29 UTC
Forum thread: https://forums.freebsd.org/threads/building-documentation-creates-pdf-full-of.73119/#post-445873

Installing documentation sources and building results in a book filled with "#####":

pkg install docproj subversion fop
svn checkout https://svn.FreeBSD.org/doc/head ~/doc
cd ~/doc/de_DE.ISO8859-1/books/handbook
make FORMATS="pdf"

Messages on the console:

/usr/bin/env FOP_OPTS="-Xss1024k -Xmx1431552k" /usr/local/bin/fop -c /usr/doc/share/misc/fop.xconf book.fo -pdf book.pdf
Nov 22, 2019 10:51:34 AM org.apache.fop.apps.FopConfParser configure
INFORMATION: Default page-height set to: 11in
Nov 22, 2019 10:51:34 AM org.apache.fop.apps.FopConfParser configure
INFORMATION: Default page-width set to: 8.26in
Nov 22, 2019 10:51:35 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Unable to load font file: file:/usr/local/share/fonts/cantarell/Cantarell-ExtraBold.otf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported
Nov 22, 2019 10:51:35 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Unable to load font file: file:/usr/local/share/fonts/cantarell/Cantarell-Light.otf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported
Nov 22, 2019 10:51:35 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Unable to load font file: file:/usr/local/share/fonts/cantarell/Cantarell-Bold.otf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported
Nov 22, 2019 10:51:35 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Unable to load font file: file:/usr/local/share/fonts/cantarell/Cantarell-Regular.otf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported
Nov 22, 2019 10:51:35 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Unable to load font file: file:/usr/local/share/fonts/cantarell/Cantarell-Thin.otf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported
Nov 22, 2019 10:51:37 AM org.apache.fop.fonts.type1.AFMParser$NotImplementedYet parse
WARNUNG: Support for 'StartTrackKern' has not been implemented, yet! Some font data in the AFM file will be ignored.
Nov 22, 2019 10:51:37 AM org.apache.fop.fonts.type1.AFMParser$NotImplementedYet parse
WARNUNG: Support for 'StartTrackKern' has not been implemented, yet! Some font data in the AFM file will be ignored.
Nov 22, 2019 10:51:37 AM org.apache.fop.fonts.type1.AFMParser$NotImplementedYet parse
WARNUNG: Support for 'StartTrackKern' has not been implemented, yet! Some font data in the AFM file will be ignored.
Nov 22, 2019 10:51:37 AM org.apache.fop.fonts.type1.AFMParser$NotImplementedYet parse
WARNUNG: Support for 'StartTrackKern' has not been implemented, yet! Some font data in the AFM file will be ignored.
Nov 22, 2019 10:51:37 AM org.apache.fop.fonts.type1.AFMParser$NotImplementedYet parse
WARNUNG: Support for 'StartTrackKern' has not been implemented, yet! Some font data in the AFM file will be ignored.
Nov 22, 2019 10:51:37 AM org.apache.fop.fonts.type1.AFMParser$NotImplementedYet parse
WARNUNG: Support for 'StartTrackKern' has not been implemented, yet! Some font data in the AFM file will be ignored.
Nov 22, 2019 10:51:37 AM org.apache.fop.fonts.type1.AFMParser$NotImplementedYet parse
WARNUNG: Support for 'StartTrackKern' has not been implemented, yet! Some font data in the AFM file will be ignored.
Nov 22, 2019 10:51:37 AM org.apache.fop.fonts.type1.AFMParser$NotImplementedYet parse
WARNUNG: Support for 'StartTrackKern' has not been implemented, yet! Some font data in the AFM file will be ignored.
Nov 22, 2019 10:51:37 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: The font directory /usr/local/lib/X11/fonts could not be found.
Nov 22, 2019 10:51:37 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: The font directory /usr/local/share/fonts/TrueType could not be found.
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Glyph "F" (0x46, F) not available in font "Symbol".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Glyph "r" (0x72, r) not available in font "Symbol".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Glyph "e" (0x65, e) not available in font "Symbol".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Glyph "B" (0x42, B) not available in font "Symbol".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Glyph "S" (0x53, S) not available in font "Symbol".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Glyph "D" (0x44, D) not available in font "Symbol".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Glyph "H" (0x48, H) not available in font "Symbol".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Glyph "a" (0x61, a) not available in font "Symbol".
Nov 22, 2019 10:51:38 AM org.apache.fop.events.LoggingEventListener processEvent
INFORMATION: Rendered page #1.
Nov 22, 2019 10:51:39 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Font "Gentium Plus,italic,400" not found. Substituting with "any,italic,400".
Nov 22, 2019 10:51:39 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Font "Symbol,italic,400" not found. Substituting with "Symbol,normal,400".
Nov 22, 2019 10:51:39 AM org.apache.fop.events.LoggingEventListener processEvent
WARNUNG: Font "ZapfDingbats,italic,400" not found. Substituting with "ZapfDingbats,normal,400".
Nov 22, 2019 10:51:39 AM org.apache.fop.events.LoggingEventListener processEvent
INFORMATION: Rendered page #2.
Nov 22, 2019 10:51:39 AM org.apache.fop.events.LoggingEventListener processEvent
INFORMATION: Rendered page #3.
Nov 22, 2019 10:51:40 AM org.apache.fop.events.LoggingEventListener processEvent
INFORMATION: Rendered page #4.
Nov 22, 2019 10:51:40 AM org.apache.fop.events.LoggingEventListener processEvent
INFORMATION: Rendered page #5.
Comment 1 Nikolaus Klepp 2019-11-22 20:13:11 UTC
Created attachment 209348 [details]
page from generated book with ######
Comment 2 Nikolaus Klepp 2019-11-23 14:46:36 UTC
I tried to build with dblatex. I needed to install textproc/dblatex and print/tex-xetex. I had to remove the font-spec for Courier-New from share/xml/freebsd-dblatex.xsl, otherwise dblatex failes (font not found)

After removing the font config I can build almost all books and articles, only the handbook fails. 

BTW, I like look of the generated PDF from dblatex better than the output of fob.
Comment 3 Nikolaus Klepp 2020-01-07 07:54:17 UTC
This issue is gone with latest FreeBSD updates, thank you.