Re: XML-> PDF bad encoding
Hi, Maybe you haven't noticed or it was somehow missed, but in mine first post it was written: "Mine conf is Win 2008 R2 x64 (Windows XP SP3 x86) Win 1250 CP, Tomcat 6.0.33, Cocoon 2.1.11." So this is mine conf. To reproduce the problem just use original posting: C:\Program Files\Tomcat\webapps\cocoon\samples\blocks\fop\misc\minimal.fo.xml in which place: đšžćčŠĐŽĆČ letters and C:\Program Files\Tomcat\webapps\cocoon\samples\blocks\fop\sitemap.xmap which makes complete solution together. Rg, Damir Andy Stevens-2 wrote: > > It might help if you could include the relevant pipeline code and > component > configuration that you're using. And which cocoon version it's for. > > Andy. > On 4 Dec 2011 12:02, "FunkyDisco" wrote: > >> >> Appologize in front if this is somewhere explained, but as I'm not guru >> in >> Cocoon, after 5 days of google search and testing all possible >> combinations, >> haven't found a solution. So here is brief problem description >> >> When I test file generation from WEB URL, (source->output), : >> XML->XML correct (simple copy test to see if it read OK and write OK) >> XML->RTF correct >> XML-PDF problem (national characters has "#") >> >> I have read "http://xmlgraphics.apache.org/fop/faq.html#pdf-characters";, >> chapter 6.2 which shows exactly what I have but when I implement a >> feature >> some national character (ĐđČčĆć in unicode notation) remain as "#" >> signs). >> >> Is this really a bug or there is a solution, so please once more >> apologize >> for some dumb entries in this issue, but pretty lost in this case. >> Regards, >> Funky >> -- >> View this message in context: >> http://old.nabble.com/XML-%3E-PDF-bad-encoding-tp32911752p32911752.html >> Sent from the Cocoon - Users mailing list archive at Nabble.com. >> >> >> - >> To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org >> For additional commands, e-mail: users-h...@cocoon.apache.org >> >> > > -- View this message in context: http://old.nabble.com/XML-%3E-PDF-bad-encoding-tp32911752p32918279.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
RE: XML-> PDF bad encoding
Correct. This apply to many non-ASCII characters but in Croatian most important are those mentioned. Font (mentioned in inline description) is "Arial Unicode MS" (tried frankly many others) and they all have correct output from MS Word, MS Wordpad, or any other app in Windows that I know. I'm not sure if this is the answer on your question. What I'd like to see is one XML with mentioned characters (ĐŠŽĆČđšžćč) which can be correctly reproduced in PDF as output. Rg, Damir Nathaniel, Alfred wrote: > > Does that apply to all non-ASCII characters, or only to those you mention > (which are not part of Latin-1)? > Did you check that the font description to give to FOP have glyphs for > these specific codes? > > HTH, Alfred. > > -Original Message- > From: FunkyDisco [mailto:funky_disco_fr...@hotmail.com] > Sent: Sonntag, 4. Dezember 2011 13:02 > To: users@cocoon.apache.org > Subject: XML-> PDF bad encoding > > > Appologize in front if this is somewhere explained, but as I'm not guru in > Cocoon, after 5 days of google search and testing all possible > combinations, > haven't found a solution. So here is brief problem description > > When I test file generation from WEB URL, (source->output), : > XML->XML correct (simple copy test to see if it read OK and write OK) > XML->RTF correct > XML-PDF problem (national characters has "#") > > I have read "http://xmlgraphics.apache.org/fop/faq.html#pdf-characters";, > chapter 6.2 which shows exactly what I have but when I implement a feature > some national character (ĐđČčĆć in unicode notation) remain as "#" signs). > > Is this really a bug or there is a solution, so please once more apologize > for some dumb entries in this issue, but pretty lost in this case. > Regards, > Funky > -- > View this message in context: > http://old.nabble.com/XML-%3E-PDF-bad-encoding-tp32911752p32911752.html > Sent from the Cocoon - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org > For additional commands, e-mail: users-h...@cocoon.apache.org > > > The content of this e-mail is intended only for the confidential use of > the person addressed. > If you are not the intended recipient, please notify the sender and delete > this e-mail immediately. > Thank you. > > -- View this message in context: http://old.nabble.com/XML-%3E-PDF-bad-encoding-tp32911752p32918069.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org
Re: XML-> PDF bad encoding
It might help if you could include the relevant pipeline code and component configuration that you're using. And which cocoon version it's for. Andy. On 4 Dec 2011 12:02, "FunkyDisco" wrote: > > Appologize in front if this is somewhere explained, but as I'm not guru in > Cocoon, after 5 days of google search and testing all possible > combinations, > haven't found a solution. So here is brief problem description > > When I test file generation from WEB URL, (source->output), : > XML->XML correct (simple copy test to see if it read OK and write OK) > XML->RTF correct > XML-PDF problem (national characters has "#") > > I have read "http://xmlgraphics.apache.org/fop/faq.html#pdf-characters";, > chapter 6.2 which shows exactly what I have but when I implement a feature > some national character (ĐđČčĆć in unicode notation) remain as "#" signs). > > Is this really a bug or there is a solution, so please once more apologize > for some dumb entries in this issue, but pretty lost in this case. > Regards, > Funky > -- > View this message in context: > http://old.nabble.com/XML-%3E-PDF-bad-encoding-tp32911752p32911752.html > Sent from the Cocoon - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org > For additional commands, e-mail: users-h...@cocoon.apache.org > >
RE: XML-> PDF bad encoding
Does that apply to all non-ASCII characters, or only to those you mention (which are not part of Latin-1)? Did you check that the font description to give to FOP have glyphs for these specific codes? HTH, Alfred. -Original Message- From: FunkyDisco [mailto:funky_disco_fr...@hotmail.com] Sent: Sonntag, 4. Dezember 2011 13:02 To: users@cocoon.apache.org Subject: XML-> PDF bad encoding Appologize in front if this is somewhere explained, but as I'm not guru in Cocoon, after 5 days of google search and testing all possible combinations, haven't found a solution. So here is brief problem description When I test file generation from WEB URL, (source->output), : XML->XML correct (simple copy test to see if it read OK and write OK) XML->RTF correct XML-PDF problem (national characters has "#") I have read "http://xmlgraphics.apache.org/fop/faq.html#pdf-characters";, chapter 6.2 which shows exactly what I have but when I implement a feature some national character (ĐđČčĆć in unicode notation) remain as "#" signs). Is this really a bug or there is a solution, so please once more apologize for some dumb entries in this issue, but pretty lost in this case. Regards, Funky -- View this message in context: http://old.nabble.com/XML-%3E-PDF-bad-encoding-tp32911752p32911752.html Sent from the Cocoon - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org The content of this e-mail is intended only for the confidential use of the person addressed. If you are not the intended recipient, please notify the sender and delete this e-mail immediately. Thank you.