Strange issue with pdf export on xwiki 8.4.4 with bullet of unordered list

Hello;

I tested on jetty package xwiki 8.4.4.
If I PDF export the sanbox WebHome page, unordered list have a simple big dot at each unordered list level. Fine :slight_smile:

Now I create a webapps/xwiki/templates/pdf.css file with … with no style like this comment:

/* test */

or something else

h2 {
color: red;
}

I PDF export and unordered bullet list at level displayed “#” character like this:

• Level 1
  # Level 2
     # Level 3
  # Level 2
• Level 1

Log indicate some “insult” :wink: about missing font:

2017-09-22 09:33:58,170 [http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdf&language=en&pdfcover=omments=0&attachments=0] WARN  o.a.f.a.FOUserAgent            - Font "serif,normal,500" not found. Substituting 
2017-09-22 09:33:58,206 [http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdf&language=en&pdfcover=omments=0&attachments=0] WARN  o.a.f.a.FOUserAgent            - Glyph "â—¦" (0x25e6, openbullet) not available in 
2017-09-22 09:33:58,209 [http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdf&language=en&pdfcover=omments=0&attachments=0] WARN  o.a.f.a.FOUserAgent            - Glyph "â—ľ" (0x25fe) not available in font "Times-

If pdf.css contain empty line or doesn’t exist I haven’t this issue :-/

If you have an idea how I can fix it?

Ty

(Edited to add: maybe this issue then?: Loading...)

Pascal B

To fix it I must indicate the full path to fonts subdirectory like indicate Thomas in
http://jira.xwiki.org/browse/XWIKI-14092?focusedCommentId=94537&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-94537

Then I copy/paste his fix in the new file: /xwiki/WEB-INF/classes/fop-config.xml and modify this line:

  <directory>/home/xwiki/xwiki-enterprise-jetty-hsqldb-8.4.4/webapps/xwiki/WEB-INF/fonts</directory>

Then my PDF export working well:

• Level 1
  â—¦ Level 2
    â—ľ Level 3
  â—¦ Level 2
• Level 1