Forrest
  1. Forrest
  2. FOR-640

investigate [ERROR] "unknown font sans,normal,normal so defaulted font to any"

    Details

      Description

      An error on error.log saying:
      ERROR (2005-08-19) 22:07.48:909 [cocoon.manager.fop] (Unknown-URI) Unknown-Thread/MessageHandler: unknown font sans,normal,normal so defaulted font to any

      Seems to appear very often.
      I did a bit of investigation, and most of then comes from this style sheet:

      main/webapp/skins/common/xslt/fo/document2fo.xsl

      If you comment out <xsl:template match="section" mode="toc"> some out these errors disapear....

        Activity

        Hide
        Ross Gardler added a comment -
        Thanks for the fix, this is now in SVN
        Show
        Ross Gardler added a comment - Thanks for the fix, this is now in SVN
        Hide
        Uwe Kreibaum added a comment -
        Better try and replace the font-family statement a few lines before:
        <fo:block font-family="sans-serif" font-size="12pt" space-after="5pt"
              space-before="0pt" text-align="justify" width="7.5in">
        (was font-family="sans" in my source).

        Fixed it for me... not a single font error in the log.
        Show
        Uwe Kreibaum added a comment - Better try and replace the font-family statement a few lines before: <fo:block font-family="sans-serif" font-size="12pt" space-after="5pt"       space-before="0pt" text-align="justify" width="7.5in"> (was font-family="sans" in my source). Fixed it for me... not a single font error in the log.

          People

          • Assignee:
            Ross Gardler
            Reporter:
            Juan Jose Pablos
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development