It's not a bug, though the generated message should be improved. FOP is rebuilding the font cache and when it encounters the [unsupported] TTC fonts, it is warning you that it can't load them. You shouldn't see these messages the next time you run FOP (since it won't need to rebuild the font cache.
On Mon, Sep 3, 2012 at 10:26 PM, Amaral Oliveira, Talita < talita.amaral.olive...@intel.com> wrote: > Hi! > > I'm getting some strange warnings when running fop1.1rc1 about TTF > Collections. The weird thing is that the file is being generated without > problems (as none of the fonts in the warnings are needed for the > generation) and the fonts are actually installed and therefore present in > C:/Windows/FONTS/. > > In my fop configuration file I'm using <auto-detect /> for the font > detection. > > As I didn't find any bug report related to this problem or any message in > this list about it I thought it would be ok to ask for any insights. > > I'm using fop1.1-rc1 with Jre6 + Eclipse. > > > BR, > Talita > > Console Output: > ___________________________________________________________________ > > 0 INFO FopFactoryConfigurator - Default page-height set to: 297mm > 0 [main] INFO org.apache.fop.apps.FopFactoryConfigurator - Default > page-height set to: 297mm > 0 INFO FopFactoryConfigurator - Default page-width set to: 210mm > 0 [main] INFO org.apache.fop.apps.FopFactoryConfigurator - Default > page-width set to: 210mm > 594 INFO TTFFile - This is a TrueType collection file with 4 > fonts > 594 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 4 fonts > 594 INFO TTFFile - Containing the following fonts: > 594 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 689 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/batang.ttc. Reason: java.lang.NullPointerException > 689 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/batang.ttc. Reason: > java.lang.NullPointerException > 720 INFO TTFFile - This is a TrueType collection file with 2 > fonts > 720 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 2 fonts > 720 INFO TTFFile - Containing the following fonts: > 720 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 720 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/cambria.ttc. Reason: java.lang.NullPointerException > 720 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/cambria.ttc. Reason: > java.lang.NullPointerException > 860 INFO TTFFile - This is a TrueType collection file with 4 > fonts > 860 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 4 fonts > 860 INFO TTFFile - Containing the following fonts: > 860 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 860 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/gulim.ttc. Reason: java.lang.NullPointerException > 860 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/gulim.ttc. Reason: > java.lang.NullPointerException > 970 INFO TTFFile - This is a TrueType collection file with 4 > fonts > 970 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 4 fonts > 970 INFO TTFFile - Containing the following fonts: > 970 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 970 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/meiryo.ttc. Reason: java.lang.NullPointerException > 970 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/meiryo.ttc. Reason: > java.lang.NullPointerException > 1001 INFO TTFFile - This is a TrueType collection file with 4 > fonts > 1001 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 4 fonts > 1001 INFO TTFFile - Containing the following fonts: > 1001 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 1001 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/meiryob.ttc. Reason: java.lang.NullPointerException > 1001 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/meiryob.ttc. Reason: > java.lang.NullPointerException > 1141 INFO TTFFile - This is a TrueType collection file with 3 > fonts > 1141 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 3 fonts > 1141 INFO TTFFile - Containing the following fonts: > 1141 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 1141 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/mingliu.ttc. Reason: java.lang.NullPointerException > 1141 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/mingliu.ttc. Reason: > java.lang.NullPointerException > 1282 INFO TTFFile - This is a TrueType collection file with 3 > fonts > 1282 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 3 fonts > 1282 INFO TTFFile - Containing the following fonts: > 1282 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 1282 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/mingliub.ttc. Reason: java.lang.NullPointerException > 1282 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/mingliub.ttc. Reason: > java.lang.NullPointerException > 1360 INFO TTFFile - This is a TrueType collection file with 3 > fonts > 1360 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 3 fonts > 1360 INFO TTFFile - Containing the following fonts: > 1360 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 1360 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/msgothic.ttc. Reason: java.lang.NullPointerException > 1360 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/msgothic.ttc. Reason: > java.lang.NullPointerException > 1391 INFO TTFFile - This is a TrueType collection file with 2 > fonts > 1391 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 2 fonts > 1391 INFO TTFFile - Containing the following fonts: > 1391 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 1391 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/msmincho.ttc. Reason: java.lang.NullPointerException > 1391 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/msmincho.ttc. Reason: > java.lang.NullPointerException > 1484 INFO TTFFile - This is a TrueType collection file with 2 > fonts > 1484 [main] INFO org.apache.fop.fonts.truetype.TTFFile - This is a > TrueType collection file with 2 fonts > 1484 INFO TTFFile - Containing the following fonts: > 1484 [main] INFO org.apache.fop.fonts.truetype.TTFFile - Containing the > following fonts: > 1484 WARN LoggingEventListener - Unable to load font file: > file:/C:/Windows/FONTS/simsun.ttc. Reason: java.lang.NullPointerException > 1484 [main] WARN org.apache.fop.apps.FOUserAgent - Unable to load font > file: file:/C:/Windows/FONTS/simsun.ttc. Reason: > java.lang.NullPointerException > Note: namesp. add : added namespace before processing > Warn: no @xml:base: cannot add @xml:base to node-set root element > Warn: no @xml:base: relative paths may not work > Making portrait pages on A4 paper (210mmx297mm) > 4824 WARN LoggingEventListener - Font "Symbol,normal,700" not found. > Substituting with "Symbol,normal,400". > 4824 [main] WARN org.apache.fop.apps.FOUserAgent - Font > "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". > 4855 WARN LoggingEventListener - Font "ZapfDingbats,normal,700" not > found. Substituting with "ZapfDingbats,normal,400". > 4855 [main] WARN org.apache.fop.apps.FOUserAgent - Font > "ZapfDingbats,normal,700" not found. Substituting with > "ZapfDingbats,normal,400". > 5215 INFO LoggingEventListener - Rendered page #1. > 5215 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #1. > 5262 WARN LoggingEventListener - Line 1 of a paragraph overflows the > available area by more than 50 points. (See position 1400:-1) > 5262 [main] WARN org.apache.fop.apps.FOUserAgent - Line 1 of a paragraph > overflows the available area by more than 50 points. (See position 1400:-1) > 5293 INFO LoggingEventListener - Rendered page #2. > 5293 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #2. > 6307 INFO LoggingEventListener - Rendered page #3. > 6307 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #3. > 6620 INFO LoggingEventListener - Rendered page #4. > 6620 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #4. > 6729 INFO LoggingEventListener - Rendered page #5. > 6729 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #5. > 6807 INFO LoggingEventListener - Rendered page #6. > 6807 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #6. > 6901 INFO LoggingEventListener - Rendered page #7. > 6901 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #7. > 6963 INFO LoggingEventListener - Rendered page #8. > 6963 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #8. > 7447 INFO LoggingEventListener - Rendered page #9. > 7447 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #9. > 7978 INFO LoggingEventListener - Rendered page #10. > 7978 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #10. > 8103 INFO LoggingEventListener - Rendered page #11. > 8103 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #11. > 8228 INFO LoggingEventListener - Rendered page #12. > 8228 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #12. > 8368 INFO LoggingEventListener - Rendered page #13. > 8368 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #13. > 8508 INFO LoggingEventListener - Rendered page #14. > 8508 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #14. > 8603 INFO LoggingEventListener - Rendered page #15. > 8603 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #15. > 8728 INFO LoggingEventListener - Rendered page #16. > 8728 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #16. > 8853 INFO LoggingEventListener - Rendered page #17. > 8853 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #17. > 9024 INFO LoggingEventListener - Rendered page #18. > 9024 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #18. > 9414 INFO LoggingEventListener - Rendered page #19. > 9414 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #19. > 9523 INFO LoggingEventListener - Rendered page #20. > 9523 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #20. > 9571 INFO LoggingEventListener - Rendered page #21. > 9571 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #21. > 9712 INFO LoggingEventListener - Rendered page #22. > 9712 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #22. > 9758 INFO LoggingEventListener - Rendered page #23. > 9758 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #23. > 9790 INFO LoggingEventListener - Rendered page #24. > 9790 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #24. > 9946 INFO LoggingEventListener - Rendered page #25. > 9946 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #25. > 9977 INFO LoggingEventListener - Rendered page #26. > 9977 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #26. > 10086 INFO LoggingEventListener - Rendered page #27. > 10086 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #27. > 10164 INFO LoggingEventListener - Rendered page #28. > 10164 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #28. > 10195 INFO LoggingEventListener - Rendered page #29. > 10195 [main] INFO org.apache.fop.apps.FOUserAgent - Rendered page #29. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > >