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

c# - Update a combobox from a presenter (MVP) -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -