Re: PostScript with Unicode fonts
On Thu, 2003-01-30 at 05:12, Jeremias Maerki wrote: You will have to go with the PDF renderer for now, I'm afraid. OK. Is there any other tool that can convert PDF to PostScript in Windows? Win32 port of pdftops from the xpdf package perhaps: http://sourceforge.net/project/showfiles.php?group_id=23617release_id=91406 Thanks for the tip. I tried it, but didn't work. I need to know if PostScript renderer will be able to use Arial Unicode if I embed it in FOP. Any idea? As I already tried to explain, it won't, at least not in the near future. You're invited to help us add that functionality. I need to solve this problem soon. If I'm able fix the PS renderer, I will contribute all the code. Problem is, I know nothing about the PS renderer and how to handle Unicode fonts with it. Thanks again for your help. Rodolfo -- Rodolfo M. Raya [EMAIL PROTECTED] Heartsome Holdings Pte. Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PostScript with Unicode fonts
On 31.01.2003 02:19:03 Rodolfo M. Raya wrote: On Thu, 2003-01-30 at 05:12, Jeremias Maerki wrote: snip/ Is there any other tool that can convert PDF to PostScript in Windows? Win32 port of pdftops from the xpdf package perhaps: http://sourceforge.net/project/showfiles.php?group_id=23617release_id=91406 Thanks for the tip. I tried it, but didn't work. Too bad. It's getting difficult. I need to know if PostScript renderer will be able to use Arial Unicode if I embed it in FOP. Any idea? As I already tried to explain, it won't, at least not in the near future. You're invited to help us add that functionality. I need to solve this problem soon. If I'm able fix the PS renderer, I will contribute all the code. Problem is, I know nothing about the PS renderer and how to handle Unicode fonts with it. I wouldn't recommend this at the moment if you're not having a lot of time at your disposal. Granted, it would be cool if you added the feature, but it's a lot of work, especially since the PostScript renderer's character handling (encodings etc.) is not quite correct right now. You will also have to rework that in order to get your Unicode stuff working. If there's only a remote possibility for setting up a Linux machine do it and create a Servlet that calls Acrobat Reader on that Linux box to convert the PDF to PostScript. But be sure to try converting a PDF on the Windows Acrobat Reader to PostScript to see if it will work at all. The Windows version uses the same code as the Linux version it simply doesn't export the command line functionality like the Unix version. On the other side there IS a command line function for the Windows Acrobat to convert a PostScript file from PDF. But that process goes through the Windows Printing System and applies the PPD from a locally installed printer. But anyway, maybe that would also solve your problem. You'll find information in the mailing list archive and from the Adobe website. Wow, I need to come up with a FAQ entry for this kind of things. :-) Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PostScript with Unicode fonts
On Fri, 2003-01-31 at 03:23, Jeremias Maerki wrote: I need to solve this problem soon. If I'm able fix the PS renderer, I will contribute all the code. Problem is, I know nothing about the PS renderer and how to handle Unicode fonts with it. I wouldn't recommend this at the moment if you're not having a lot of time at your disposal. Granted, it would be cool if you added the feature, but it's a lot of work, especially since the PostScript renderer's character handling (encodings etc.) is not quite correct right now. You will also have to rework that in order to get your Unicode stuff working. Unfortunately I don't have lots of time to do it. But if I have no other choice I will rewrite the renderer. If there's only a remote possibility for setting up a Linux machine do it and create a Servlet that calls Acrobat Reader on that Linux box to convert the PDF to PostScript. This will be the first solution to implement. But be sure to try converting a PDF on the Windows Acrobat Reader to PostScript to see if it will work at all. The Windows version uses the same code as the Linux version it simply doesn't export the command line functionality like the Unix version. I didn't try. Acrobat for Linux does a good job converting PDF to PS. Maybe I can get the same result on Windows. On the other side there IS a command line function for the Windows Acrobat to convert a PostScript file from PDF. But that process goes through the Windows Printing System and applies the PPD from a locally installed printer. But anyway, maybe that would also solve your problem. You'll find information in the mailing list archive and from the Adobe website. Thanks for the tip. I will do more research. Wow, I need to come up with a FAQ entry for this kind of things. :-) Yes!. Rodolfo -- Rodolfo M. Raya [EMAIL PROTECTED] Heartsome Holdings Pte. Ltd. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PostScript with Unicode fonts
On 29.01.2003 19:29:02 Rodolfo M. Raya wrote: On Wed, 2003-01-29 at 14:41, Jeremias Maerki wrote: Hi The Arial font you're talking about is TrueType, right? You can't use TrueType fonts with the PostScript renderer, yet. The PostScript renderer is not anywhere near the functionality the PDF renderer offers. I noticed that you introduced a lot of changes in FOP regarding font handling during the last couple of weeks. Any chance this changes will improve PostScript renderer soon? No. You have to be aware that we have to lines of development here: Maintenance (where the current releases come from) and redesign. I'm mostly working on the latter. The other font-related stuff was mostly bugfixing. You will have to go with the PDF renderer for now, I'm afraid. I suggest you generate PDF files and convert them to PostScript using Acrobat Reader (command line only available on Unix), GhostScript or pdf2ps. I need a solution for Windows too. Acrobat Reader is OK in Linux. GhostScript fails converting files with Unicode fonts. Is there any other tool that can convert PDF to PostScript in Windows? Win32 port of pdftops from the xpdf package perhaps: http://sourceforge.net/project/showfiles.php?group_id=23617release_id=91406 Normal procedures for adding fonts to FOP is here: http://xml.apache.org/fop/fonts.html Please be aware that not every renderer support every font. I need to know if PostScript renderer will be able to use Arial Unicode if I embed it in FOP. Any idea? As I already tried to explain, it won't, at least not in the near future. You're invited to help us add that functionality. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding FONTs to FOP (was PostScript with Unicode fonts)
Rodolfo M. Raya wrote: Hi, I need to use the PostScript renderer to produce documents with Unicode text. I can generate PDF with Korean text using Arial Unicode font from Microsoft, but PostScript renderer only supports FOP's built in fonts. Can I add Arial Unicode to the list of FOP fonts and use it from the PostScript renderer? Is there an outline of the procedure to add a font to FOP? I believe that this file has most of the information you need: fop-0.20.4\conf\userconfig.xml In addition, this page (accessible from xml.apache.org/fop) contains more information on adding Type 1 TrueType fonts: http://xml.apache.org/fop/fonts.html Hope this helps! -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Adding FONTs to FOP (was PostScript with Unicode fonts)
On Wed, 2003-01-29 at 14:43, Clay Leeds wrote: Rodolfo M. Raya wrote: I need to use the PostScript renderer to produce documents with Unicode text. I can generate PDF with Korean text using Arial Unicode font from Microsoft, but PostScript renderer only supports FOP's built in fonts. Can I add Arial Unicode to the list of FOP fonts and use it from the PostScript renderer? Is there an outline of the procedure to add a font to FOP? I believe that this file has most of the information you need: fop-0.20.4\conf\userconfig.xml In addition, this page (accessible from xml.apache.org/fop) contains more information on adding Type 1 TrueType fonts: http://xml.apache.org/fop/fonts.html Thanks Clay, I already use userconfig.xml to produce PDF with Korean text with Arial Unicode font. Now I need PostScrip with the same fonts. Regards, Rodolfo -- Rodolfo M. Raya [EMAIL PROTECTED] Heartsome Holdings Pte. Ltd.
Re: PostScript with Unicode fonts
On Wed, 2003-01-29 at 14:41, Jeremias Maerki wrote: Hi The Arial font you're talking about is TrueType, right? You can't use TrueType fonts with the PostScript renderer, yet. The PostScript renderer is not anywhere near the functionality the PDF renderer offers. I noticed that you introduced a lot of changes in FOP regarding font handling during the last couple of weeks. Any chance this changes will improve PostScript renderer soon? I suggest you generate PDF files and convert them to PostScript using Acrobat Reader (command line only available on Unix), GhostScript or pdf2ps. I need a solution for Windows too. Acrobat Reader is OK in Linux. GhostScript fails converting files with Unicode fonts. Is there any other tool that can convert PDF to PostScript in Windows? Normal procedures for adding fonts to FOP is here: http://xml.apache.org/fop/fonts.html Please be aware that not every renderer support every font. I need to know if PostScript renderer will be able to use Arial Unicode if I embed it in FOP. Any idea? Regards, Rodolfo -- Rodolfo M. Raya [EMAIL PROTECTED] Heartsome Holdings Pte. Ltd.