java - Issue with Apache FOP 1.1 <auto-detect/> on CentOS -


i have issue cyrillic font in apache fop 1.1 on centos: ######## shown instead of symbols.

this fragment fop.xconf:

<fonts>                   <font-triplet name="arial" style="normal" weight="bold"/>            <auto-detect/>  </fonts>  

on windows 10 works fine, on centos produces ######. can me?

the font-triplet element should inside font element pointing font file, example:

<font kerning="yes" embed-url="/usr/share/fonts/arial.ttf" embedding-mode="subset">     <font-triplet name="arial" style="normal" weight="bold"/> </font> 

moreover, seems fop cannot find font folder in "usual" positions; can try explicitly adding font folder

<directory>/usr/share/fonts/</directory> 

the specific error message(s) pinpointing specific problem.


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -