Re: [xwiki-users] PDF with UTF characters

2010-02-04 Thread Valdis Vītoliņš
Many thanks Sergiu! I solved this. My comments are inline. > Even the FOP developers say that generating font metrics is not needed, > and deprecated. FOP should correctly find and use system fonts, and > should correctly work with TTF fonts. I checked this and that's correct. > The problem i

Re: [xwiki-users] PDF with UTF characters

2010-02-04 Thread Sergiu Dumitriu
On 02/04/2010 01:32 PM, Valdis Vītoliņš wrote: > I learned how to add custom TTF font and metrics for FOP. > Test project can be downloaded from http://odo.lv/ftp/temp/FOP.zip > There are FOP jars and "Lucida Sans Unicode" TTF font with generated > metrics file. > Metrics can be created using gener

Re: [xwiki-users] PDF with UTF characters

2010-02-04 Thread Valdis Vītoliņš
I learned how to add custom TTF font and metrics for FOP. Test project can be downloaded from http://odo.lv/ftp/temp/FOP.zip There are FOP jars and "Lucida Sans Unicode" TTF font with generated metrics file. Metrics can be created using generate_font_metrics.bat script. Test PDF can be generated wi

Re: [xwiki-users] PDF with UTF characters

2010-02-02 Thread Sergiu Dumitriu
On 02/01/2010 09:47 PM, Valdis Vītoliņš wrote: > I'm investigating issue http://jira.xwiki.org/jira/browse/XWIKI-4724 > Now I can generate right PDF using separate FOP with additional > configuration files and invocation parameters. > Though I don't know, how to invoke it in such way from Xwiki. >

[xwiki-users] PDF with UTF characters

2010-02-01 Thread Valdis Vītoliņš
I'm investigating issue http://jira.xwiki.org/jira/browse/XWIKI-4724 Now I can generate right PDF using separate FOP with additional configuration files and invocation parameters. Though I don't know, how to invoke it in such way from Xwiki. Do you have any suggestions/ideas? Valdis _