Re: Fonts in config file

2012-04-17 Thread froglander
I would gladly do that if it were an option, but the file that has fo:inline font-size=8pt font-family=Symbol•/fo:inline is one that is given to me as is, not one I can modify. Is there a way to tell it to use a different font if it encounters font-family=Symbol? I've tried going here

RE: problem with the soft hyphen

2012-04-17 Thread Bogusław Fries
Thank you for the information. Using trunk version in the production environment is too risky for us. Stable 1.1 version would be great. When could we expect it ? Best regards Bogusław Fries -Original Message- From: Pascal Sancho [mailto:pascal.san...@takoma.fr] Sent: Monday, April

Re: problem with the soft hyphen

2012-04-17 Thread Pascal Sancho
Hi, Le 17/04/2012 15:02, Bogusław Fries a écrit : Thank you for the information. Using trunk version in the production environment is too risky for us. Stable 1.1 version would be great. When could we expect it ? Probably during the 2nd quarter or this year. Best regards Bogusław Fries

Re: Fonts in config file

2012-04-17 Thread Luis Bernardo
Try to add something like this to the fonts element of your renderer. So for PDF that would be the fonts element inside renderer mime=application/pdf. font kerning=yes embed-url=/usr/share/fonts/truetype/msttcorefonts/Arial.ttf font-triplet name=Arial style=normal weight=normal/

Re: Fonts in config file

2012-04-17 Thread froglander
So is there no way to leave the auto-detect in there in case someone wants to use a random font and just tell FOP to use a different font for Symbol? lmpmbernardo wrote: Try to add something like this to the fonts element of your renderer. So for PDF that would be the fonts element inside

Re: Fonts in config file

2012-04-17 Thread Luis Bernardo
You can do the same with auto-detect. Apparently you do not have the symbol.ttf file in your system. But you can replace it with other font, like Arial, the same way: font kerning=yes embed-url=/usr/share/fonts/truetype/msttcorefonts/Arial.ttf font-triplet name=Symbol style=normal

Re: Fonts in config file

2012-04-17 Thread Glenn Adams
beg pardon, but that's an operational problem on your end, not FOP; you need to work with your FO content provider to fix it, not on this ML... of course, if you have a general usage question, please do pose it here i believe luis and chris have addressed your questions On Tue, Apr 17, 2012 at

Re: Fonts in config file

2012-04-17 Thread froglander
Yes, thank you, the information from lmpmbernardo seems to have done what I was looking for. I had thought it was a general useage question, I was trying to find out how to substitute one font with the glyphs needed (such as a bullet) for one that doesn't have those. The other details came out

Re: Fonts in config file

2012-04-17 Thread Glenn Adams
no i was not saying you did anything wrong; sorry if i gave that impression; you can manually configure font substitution by adding a font-triplet to your FOP configuration file that maps the font family, style, weight triplet to a specific concrete font file, e.g., you could specify renderers

Re: Fonts in config file

2012-04-17 Thread froglander
Thank you, that works brilliantly. I had been trying to do it using the substitution option I had seen but with no success. Glenn Adams-2 wrote: no i was not saying you did anything wrong; sorry if i gave that impression; you can manually configure font substitution by adding a

Trouble with setting font base url which include space character

2012-04-17 Thread Rob Sargent
Seems to me FopFactory.setFontBaseURL(String s) is broken? Forgive the reflection calls (long story). File fontsdir = new File(bundlePath + fopHome + /fonts); URL fontsURL = fontsdir.toURI().toURL(); setFontBaseURLMethod.invoke(fopFactory, fontsURL.toExternalForm()); works fine