Re: Event feedback logging
On Thu, Mar 1, 2012 at 05:48, Chris Bowditch bowditch_ch...@hotmail.com wrote: On 24/02/2012 15:03, Steve Ebersole wrote: Hi Stevem I develop a library (jDocBook) that does DocBook related tasks as part of Maven or Gradle builds. Initially, the output from FOP was so verbose that I ended up redirecting all console output to a file for a variety of reasons. On recently upgrading to 1.0 I noticed that some logging was again appearing in the build console. Which led me to discover the addition of feedback events in 1.0 and that these were (at least some of) the messages showing up in the console. So I whipped up a custom org.apache.fop.events.EventListener based on the well detailed http://xmlgraphics.apache.org/fop/1.0/events.html page and some of the messages were again gone from the console and showing up in the redirection file again. Yaay! Is there any way to get those effects with a binary installation of fop 1.0? I'm getting tired of the warnings I can do nothing about while the few SEVERE messages are almost hidden in the spew into the console. Thanks. Best regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: ttf fonts for SVG in debian
You also might want to try the GNU FreeFont fonts (FreeSerif, FreeSans, and FreMono) ttf fonts which have a large number of glyphs compared to most ttf fonts. I have been very happy with them for SVG equations. See: http://www.gnu.org/software/freefont/ Best regards, -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Missing Font for SVG to PDF Output
On Tue, Apr 19, 2011 at 05:07, Vincent Hennebert vhenneb...@gmail.com wrote: ... Make sure that the family name you declare in fop.xconf matches the name under which the font is known on the system. Let’s take the font ‘Linux Libertine’ as an example. Java would know this font under that name. Since Batik uses the Java font system, it will also use that name and pass it on to FOP. So you must have a font-triplet in your fop.xconf that matches that name: font embed-url=libertine.ttf font-triplet name=Linux Libertine style=normal weight=normal/ /font If you use something else, FOP will find no match for ‘Linux Libertine’ and will fall back to a default font. You can use the java.awt.GraphicsEnvironment.getAvailableFontFamilyNames method to know under which names Java registers the fonts on your system. Of course, be sure to also use those names in the SVG file. Vincent, thanks. I had already fixed the problem by reverting to a font that was known to all by the same name, but your explanation helps clear up why the problem was there in the first place. I had played shorthand games with the the Libertine font and that's what got me in trouble. Best regards, -Tom Thomas M. Browder, Jr. Niceville, Florida USA On 14/04/11 00:33, Tom Browder wrote: I have been happily using fop 1 (Linux, Ubuntu, x86_64) with my custom fonts for some time and have had no problems using my Linux Libertine and Biolinum fonts (ttf format). Now I have started using svg for equations and am having some problems. First I started getting some mysterious font families mentioned in the fop output while generating pdf, to wit: Apr 13, 2011 4:09:16 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Glyph ? (0x2264, lessequal) not available in font Helvetica. I kept adding new substitutions to the substtutions/ element in my FOP configuration file until I eliminated all such warnings. My remaining problem is the equation's italic text is still rendered as sans-serif instead of serif as desired! I understand there is some issue with fonts for Batik versus fop, but I have ensured my Libertine font is in the system fontconfig so I assume a disconnect between fop and batik is not the problem (but I don't know that is true). I can get the desired font on output if I simplify my equation some but I can see no reason why that is so. Does anyone have any suggestions? Thanks so much. -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Missing Font for SVG to PDF Output
I have been happily using fop 1 (Linux, Ubuntu, x86_64) with my custom fonts for some time and have had no problems using my Linux Libertine and Biolinum fonts (ttf format). Now I have started using svg for equations and am having some problems. First I started getting some mysterious font families mentioned in the fop output while generating pdf, to wit: Apr 13, 2011 4:09:16 PM org.apache.fop.events.LoggingEventListener processEvent WARNING: Glyph ? (0x2264, lessequal) not available in font Helvetica. I kept adding new substitutions to the substtutions/ element in my FOP configuration file until I eliminated all such warnings. My remaining problem is the equation's italic text is still rendered as sans-serif instead of serif as desired! I understand there is some issue with fonts for Batik versus fop, but I have ensured my Libertine font is in the system fontconfig so I assume a disconnect between fop and batik is not the problem (but I don't know that is true). I can get the desired font on output if I simplify my equation some but I can see no reason why that is so. Does anyone have any suggestions? Thanks so much. -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
fop 1.0 and svg error:
I'm running fop 1.0 on Linux Ubuntu 10.04 LTS. I'm trying to use an svg image via docbook source. When I run the fo file through fop to get pdf I get the following error as it encounters my svg in the fo file: Dec 2, 2010 2:05:08 PM org.apache.fop.events.LoggingEventListener processEvent SEVERE: Image not available. URI: ./images/era-1.svg. Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format is not supported. No ImagePreloader found for ./images/era-1.svg (See position 25375:172) Dec 2, 2010 2:05:08 PM org.apache.fop.events.LoggingEventListener processEvent SEVERE: Image not found. URI: ./images/era-1.svg. (No context info available) I have looked at the fop info on svg and see nothing that helps. I'm running with the xml graphics commons via Ubuntu installation. I'm using Sun Java. Folks on the docbook list seem to have no problem with using svg. Note that I use svg successfully in my xsl customization layer so I must be doing something wrong. Thanks for any pointers. Regards, -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: fop 1.0 and svg error:
On Thu, Dec 2, 2010 at 14:18, Eric Douglas edoug...@blockhouse.com wrote: Is this your first attempt or was this working with any version of FOP previously? First attempt at using svg as a normal figure. Are you able to reference any other type of images? Yes, png files work fine. Of course SVG works. I'm using SVG with FOP 1.0, though mine is embedded in the XSL. I'd think it has more to do with the file path. That may be, but I've tried absolute file paths as well. Possible reasons: File is not there. Reference path ./ is not referring to what you think it is. Bad or missing URIResolver? Could be. Isn't that part of fop? It could just have to do with docbook. I haven't used docbook myself and I have seen others on this list complain of problems connecting docbook to FOP. That could well be, although when I raised this problem there they said they weren't having problems. Thanks, Eric. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: fop 1.0 and svg error:
My bad! I found I had a bad svg file. Fop works great! Sorry for the false alarm. Regards, -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Comments in xsl:fo
I need to pass a comment or pi into my fo output from my docbook source. Is there any way to do that within the languages now? Is there such a thing as an xsl:fo comment? My motivation is to get docbook tables centered in print. The method shown on the fop site works for a specific table, but only if the actual table width is somehow passed to fo. A customization layer in db xsl works with that dimension hardwired but, until this newb figures out how to get the db xsl code working, I figure it's easier to post process the fo file. The best I can do to pass something that shows up in the fo file is via the xml:id attribute, but I would rather have a more general way to zero in on the specific table element and actual width. I could probably pass something like xml:id='tableX-actual-width-3in' and kludge it from there. Note that I have asked the db experts for xsl customization help. Thanks for any help or suggestions. -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: catalog with fop 1.0
On Tue, Nov 2, 2010 at 07:06, SriKrishnan srikrish...@techset.co.uk wrote: I came to knew that in fop version 1.0 there is a possibility to use catalog. Can anybody mention the correct syntax for that? Srikrishnan, Bob Stayton tells how to do it in his book. See the online version on that topic here: http://www.sagehill.net/docbookxsl/UseCatalog.html I put resolver.jar in my working directory and fop finds it fine. HTH -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]
On Mon, Jul 19, 2010 at 03:12, Pascal Sancho pascal.san...@takoma.fr wrote: Hi Tom, I dove into your XSLFO, and found that the issue is related to space-before.maximum within list-block. I rewrote (and shortened) your testcase (see your bug entry [1]). Removing space-before.maximum properties within block-list makes the issue desappear. So, Pascal, does that mean it's a DocBook bug? Thanks, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]
On Fri, Jul 16, 2010 at 02:44, Georg Datterl georg.datt...@geneon.de wrote: Hi Tom, Then please post a fo-file for the first two pages plus a few lines. Shall I send it inline or as a compressed attachment, or? It's 123Kb as is, 2174 Lines. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]
On Fri, Jul 16, 2010 at 09:24, Tom Browder tom.brow...@gmail.com wrote: On Fri, Jul 16, 2010 at 09:08, Georg Datterl georg.datt...@geneon.de wrote: Hi Tom, Did you try to make your page smaller and shorten the list? Is the error still visible then? If yes, send the smaller file. Yes, I shortened it. It is attached zipped. Had to rename to overflow.fo.txt to avoid gmail's smart attachment police. Rename it to overflow.fo.zip to get it to work on MS Windows. -Tom PK ÂEðá 88 Nè test-overflow.foUT ...@lÇb@Lux è è í[sÛ6ßû+8êl÷2«û=Iíx·3Î6§Ýξd ° . Evý u¡HBmB°x¦3uÀÁCÜøöÝçZßpê_ÔÚVíÝåwo§ôMH)³x¤½ÒÚ±àM³¹\.Ën³f{7¿»mÞÐÐC¬fM©ÏêSä÷ñ¢vKü[2ù{ü'ÈçÁ3 ¸8ì\2ãùþw12}¬Y.ñq}ÉlÎ.j¾HØ]=]l3®e=b!bxÆ3±ç(D6Ãa}òX_ÿH¥RædÊóqDöy²BC¡ÇE5kFüYÝ£WÐ ë«ì...@3ýÚåw%jÅetÁêd®f¸¸ðGx+óÇSðïk_Í/j£FøIЪÐí¶òP8#~Ñà¢Ö¥ ez»¡.26ÜkëÊË/jrBGWGÀµj רCev[z5óÒÅSb+ùÿ!rë©èzR!Üd³´=Ã:±ln.h*ê¸({XRtÅÛfn[ÞÎ0ËØ) #Vn'm»Óâµø¡MkÙÔ]x~}xP»#:mbÓ ¨Îö3Z?©R[ÿ Êj}ê8Ðöùm/«¦Ô? ²Úþ7¢áãº)µåÉâeÞ¥P_AÔvÈW ò¢ÅïÃû4ïµ øÊny@|...@¾bÕ¯ ãeÃâ«x�...@øªÙ÷@ø*^4¾RM¯áïàóG|ßògÎøç´û2nósüsýUB^FøìÛ{VÚwj?À¡I:]®ÿ¿ù£xüM}ýdÈM=â)EæÖnÀzüS§\!ÊâF«¨æóóÈßÐHtQC_4#ÙwùÿDD^ÔDÈÑY¤R-C«Ø^óFÒy¦r!¹§ ínH(ÁxÖkßÌf½òzJkçi2ÙEÎfk=MÙlæÒpOpvY7)Ál6Sô¬f3A|R£AöýÍîTlF³õÓe4ë9§S|+:O«ÉNï`6[3 ìfë=¶ ù§VDl»(D¢Ñú°ÏÃú´ (;j Ùs,OþLiÐï|âÐPXÛÛ7^àax2È¡üÿ[77f:Ó7¯oAþ«ð|Q«Óìtê\¢=ú =ÔýèûÚV;®qd$ HRtìuÁterÝÄ.'¢f»ÑnÖ,ñ,ð¹¨m%Éuì7ò5åò·÷·¿~°~pøçÈúürß6×±;Ø!o.^r¹/Ø[?ûIC ±®hи¦e+éMQ;eÙ[Ê`«Þ|�...@¢²6õ±»SÄæÞyûå'ø`KUgüÙ7Wq¾Pê^^Sû'Jïßïn;öèâh1¬%asë½´%ëæOo»î¯8ÛÏÊü×·6øm»^Ùú«ã¡ð¾ÎB7L][$n/·îà¸áx÷tÚQ§×Ö¬¡Pãÿ`¼çÎØäPl=Y±M^E¬ÜròÕi}ÆÓãÕ{ìáïÞ·~|ßHþºÁM0#67Ú[1N¸$¿¼µ¾ Ytx!v$zÏdù¡4/³ï£9]D±!.G?lècÍ9öeY¸ÀÊIS}ÖT]k)¼9ÌW(÷Þ2Ø 99^kuê's_«ÜÅØúâE Ñ|½ÜK ØCÄÏÛåmKl#êYS.÷Lö§,À¥ö½òfzê3`éy»TæOSJ¤ÏT)= ËÒÇÉxîÀæ#x2#ÜnµþÄ}:�...@ ]m·}1ç®.ju³gsÒ©ÙrÎsªÔã ÜÕî%%!IÖAHùøÛQiÿuÕûît÷%¯SÛ1Ûq!]ZÒêåY#Ñ©ëñâîÝðx·ô¯¿^ªå3êc×M(4,î¶BìJj, grØ2ÒlÔVd3çÁfÑ2f£÷¥ZÎ=³bÉE×XªHnÉ)óoØÿåíoåýb¬#À`°Ølsó~1ØÆ...@[ -Ðh ´ÍÍû´rÊ|ÊĬQ ¦öh m.FoVkVXj¼}.^ºØI¬ÝÉø1¶÷I2=³ÙÅwÊ!Ñ ü¹ëU\ñAYøë ûÎ+,iVv³,Ðè tº]_®§¼4àÕ(^Í)~¼ ÍjïnYiJí-Qi\fJ\PÔò,që¦ðN¯1u婸(@6N¦Úy×5迱ø29ç7¡®{ùò£õóì(VçcAp6¯û\±øØ#Ä È]¢Çô~£)r#n9 ½rÊ^¯ÒÎHò0ÅÒuÔ!þުȫ½6)¬±Cö:S¡ûªlbt»|Û¼Ôn¯ñÒT%´ ƪS4º¾³çIPGüÌn^¡»¥oijð;Ö+ÁqõÊý¥õJ³Jeèäl{ÖfãµF³6/21 ÷íêâD¼%ùm»(îŪjÌ1r±`m#¹sj±N|Û]8âàÂð~KIO¸ç ð1v´×þðîξºÁâ '_(ÑF£û/0ZÀhÏa¸ÈáÂèár^maã9ìqvÊÀNÒÞ¶VUu½©6ÊÀ1àóNðø |6Ï'...@4 úö{`ü+)Ñý8ú¤�...@hcpngÐûÎÅw×Åçbëz/°kØ/¿ ئîÚâÌÑöMÇi.\$ú3G/y´(û,D©ìº§ïiÐ%äj7Z»'¤¶¸c¿YÆhW=ìÈ´ãMyÜK·£l¶÷ +]WÃYôвsÜfÿ)íj-¨0ìÕ¯¤läºÉËéÊ1^ kaÇ~RNb+Ó¥/Øsvy¯'þÌry 4ÖÅøì¹E¢DXÞý¬ÍOÇ®ÕrÎC-¼§¡N#¿Ðú ÉyÄñ ÐrUI¤ä}nqL~IÜNÜùF¢ØËq¹-¹«µE¹Ñ§âcC¾T-1öëÒ.#`K´U²zÃÞví {EµÓRÔNqÝÄJîrwu\¬Üãò¿üµVæf¦[ì$Xüìbº·ÊÏøÈ âQ¥¾-qVlV+ý{Üÿ|ùÄç·¤ÏÐw, èÌ7÷N§L;ÚkOvÙöô|»RÛWªòv¯ÇqöÑ$?ú XøÂÇÌñP.pÙsWIBõ3u~±eãg 3V¼(ì×SÌm»i«ÊLs;¥bM5Ò¦¯ßÓL6£¡ZìÁmS¾|÷îÝVº~p¯µ#·SÙ baewÚô(µ;H«}Úvn¡·ü9¿ÿ=þ¡Ü½®äî¹ú¹UR#w¿ä6Üð:eó_BÂõÕ qñ*f ÄÚ\U âG Ä˸RÅ\pQ®E¹vIôËÍQã¤ßO/:é7µN9é7ëa¬ë1A®PØ·Ä#ìú¢ÑY¤Áÿá¯ÿÿþGýâÎ2luäÆÏÿÞ¹¸|xÛZÜFH©¡Í³ÈUà}¤ ÀûðKÿ oáý)¹´G¿Å¢·üîjó'rU~)ü!¿{°wÊl~FYh:öFл¯Í¡ÈUè}¤ Ðûô¯ÓÛEÓÀíÜ·ú·URã¶X;nÊíGºî?Qèø8ÒáyÌ ø®Ô®:GzÓÔ¨Uú8¦Ô¦®^tÓÔ¨¥õ öÔ¥vcýEÙG#ÙGØ!¥Ô Ô9:ÎÒ-}ït® íC°ÍßïÈ:ÐÝ3...@·r?@·JªbèîºÍE7õÄ×t4r40Þp4RÐ[%U1zh1W ÷aô¨ÏuÒÀn=gsÛ ¥LPêìVIUÝc`·ùì¾³Çònðq®Ô®ªÂ...@¸ùÿüâ±r9î ÁúÁur#¸¾³@ð¬ÈûXÓÕc3.Ç=`·R?`·Jªbìî»Mf·¼SMºÍX· ÝJý Ý*©¡{è6Ý?i`÷pl»aÝR°[%U1vÝƳûJ»Ç°»ÛKµ~ÀnT¥ØÝmÁùJóÙ}]:»¹Áî¶õó\UÝG »OÈnXª4Ý/èüþêwÍ x(®Ô(®ªÅaÑÒ`sljØ)ÈÀp ÜJý Ü*©[ßý± î¬ÈpFläÞ â.Bü xø+o $7b³ÛÉúÉUR#¹¾{däYIî.sK£è«ËuË¿å (o· åJý å*©j¡¼ ë£|á-\NÎoø7ê.¼òOñps0á°¬©Ö®:G+µÈÏ]kQnEGíÒ}þ§wÁü.·¯=§Kö EYG=ñ¢úëb#SÄ¢¾«å[® ×wP¬Úñpfø#fsêhp:Ä! p:ú#p:TúÓ¡:g§cÑyô]2øÎï¢áön{hÂ...@¸j?@¸jªbÂÍe¸�...@í±ÔãÔ¨ªµ;- ¶¹Ôuë}¤þ¢H,¾_%GÒ4,¿wÄRÞéiÞiÍúÍUR£yGÛ +Ð+²æòæú¯³ÿ+ñ»Þ5á]`¸R?`¸Jªbïà fxd$ÐòÀn§o½Åá8 w...@otÅè= zko�...@qg|Ò tÝJý Ý*©¡{¤í-ÐÙîM\üéêúlìÜüÏ¿Qè¦c|lÒÇt¥~ttµÞmÒ_Òÿ- ô1½Û6éÝ60]©0]%u1¦wé¦3...@®+ö¸ÞíÁpñÁb`x±~ÀptÅÞÓæð ó{îÍn¾g³Û7Þ ·R? ·Jªbô ½Í¥÷Âó5p{h·GÀm¥~ÀmÔ9r[©E~îÊ\r+êí^éWÀ=½ æw¹}]ì9]ª°g(ºÌ:ê7û|(62EL!êõ,|^ß'xYµ·]ìa ïöÄ9ÅÓû½ò¯-SªþÆàoî=±×Ñæ¹³{ÉýMópÍé¾8 h Æ»q¥~qTÅ0ÞkÆŸï¼÷g:îdë�...@wÐÔЪºnÑýfdã=0ÞúÚ« ÐûHA ÷¹¯×ôF¥°^£^¯¹yÑõÞHêíi¬íc;àsdEÔǹLÏÞýVÛ
Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]
On Fri, Jul 16, 2010 at 09:43, Georg Datterl georg.datt...@geneon.de wrote: Hi Tom, You could still shorten it further by removing the first pages, the unnecessary page-masters and probably many attributes. I'lll try that--I haven't done anything with the fo file itself yet. I just trimmed down my DocBook xml source. And I see that the zip file made it--gmail lied to me! Regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]
For those with e-mail police, here is the shorter fo file renamed to overflow-shorter.fo.txt--just rename it again after downloading to overflow-shorter.fo.zip to use under Windows. -Tom PK ´SðÐ9T _ test-overflow-shorter.foUT ...@léz@Lux è è íïoÛ6Çß÷¯|¸a;ËmK.in´×¢ímý)h¶¹R¢FÑqÒ¿þHIN,K¢í´¦èÁ½ ü|Düð(R?¿¸ ©syBXtÞr;ÝÖçÏ~±9cÂQòã·BÄ?V«ÎÊë0?sÇãñÙ^]1Ñrf,í ½=o%Ù?Óó|Á²YE,Åß6¢d.kýs2»m9D¸½Àd¾çHK×?ÆO ´±Ë*¦ÄÑT`Þܶïþ(ÒNdë T!d±I8#dyIËYqH4o,RÞYæK4 8j=æ8ªM(ºeKÑQ¢jM°PYVBÂâv,ç;¹,B¡,eüÜrÒü Äâ¼5êôI'/ÚuURøDmÁâóV7SåI·S)6ÜLäyJÍ,ÍlׯZrÂ[G6G,/kÝSÙFª µÕmØuVU.1ü¯ìòoÚ.d·ónvK·ã«¶ÌÉ´µ jãºJÒÜýêH¥ë*~«ìËúM?·g'â¸wëVgç.P×Ùûöª3etFí9InO×eʪ%ݯèø¼qÚñ{ÕqgA Ý^ÝíiÓµÓ÷¨á]¯qd!×èó¬mÚéûTqX¯§ þk£i}¿o5|�...@b²zùo¹ÆÉzý`Ê¢¨pÑÂ/8a®êu¶*f%iç,õìÕ#ùOeÍ{ÞR)^(!ë¦ ÓÌ{8;¤ESuU¥1ÛY]ÐVêhgq/°,Z%ø·ÒÒ« Þeª`5TÉFY7I´ '§éR2Í/%W8Íåþ»®\ùõ]${Þjsâe²¸Ï^Ô+8ªd`R;96βÕézÓÛ'M?k¢ý¼âûg?O{ÕÉú6ëåÀ7X:]P·Ûý{Ë0¨.%ØZ QżDÜRi{Â( ¶ó$ÌoÃï1[0¥ñn½nËsòªcÎbÆsßÌúÞýastì.ºw¼¢½oq�...@6s6ó8[9©´eÉsuãؼ¹rÿÕ årÆqýBÏÌÇn¥OrQ7;ÈI¦£þ.É;ByWªaÃEËYg?«ûeso÷Wµ¾zbÆ ñª62¥'Üÿ¬Æÿï3 3ÔFÝYHQ`êÃX«æY -Hk?i«2×w×ÉNo`ò¿§%IøìqfgQÐÉ{åVhßÑ.õr8¿e×õDFxâ ¶UÑòº¶©âMé}Ì0WÀ\sÌê¦ÌÙ2L0YÀdaÿdpkg 5Æ#ÁxµE|R9˹¾À5'KlÇH¨%Ù?KïR)æ)VÉöBÉ7/6ÏO7]WÏ*£r¢P0KêY[£µ;$ùUá(0viõ÷hk©¦îrlcjï¹ �...@ç}/ èt6Eç?ïQ4àùz ü#¹$«ñ|êgáÀç=-ð¹ñ + ×-QÊzZN:lÚ$ Ò]~m9êýøuÂuïMóÖjòiÊY¼Ç³-.Ú¥¦ïË+~sßjÏïF^ï.uoì0lo}EQOU¾U}ÎÑm¡/ø3Æjv$Ý£þK½ÓOº]¡ÛD¶Z¦8_äí°XäÈÊwØrïæ:ÿpºÑ¶ÝliÜÎÆæiÜ Ñ·ªWìÀ´¿^jÜó®Ä ÒxXz¢ÎkÍß^¾þï+ç7¯hÔ5EuzUj9å®Yk u%©y×LÌ×IÓòeDùudÁVJ,=ÊáN¢¹Cetî.ã.äbÕÝrî÷ þ:©vê¡ôixêvu´�...@·7êùãaç|UCä)è+ËÌrªÌó¶JQÈ5I²ðJ_¢ëÅÄô½nY$'¢ÔD±ÂXm~¤;øU_P68Ül¡_×:]mëÔ·mfä6pïªÎ...@õìbeÊ÷?´j|V[Ö×î,V5T}µ¨ÒÌÛÚ6çêͪu¤þ7ÜUÿ[ñy°ï¤½2ptÔ¢³ÚÝ{½cúÑN¸Çö§¯÷+½_ãgÕvæo%Kª³÷d©à²4yþ?!,c¤ªïYðÝ\ü^böÚ5w[׿íoÂ+û¡`ÆöÄ4¬4åA®¹YR½:iW¶ïa.[²P/;@¸éÊÏ_¼x±Þýp§·¢ÛjÖòz±v8ÝhÛ˪]ÖÔ¯6Z~ßâPÞF ·ïYAnȵÈS5ÜýÛZrm*o9v¥5 qu+fÄÆJS â âÇ¸Ö Í³àºZëj«ðЯ²Fý~ù¦ý£î)ú FzXzLUékqÁÕé1í?ê× þø£ñGý`v= ¹µ$Çs½æÞC×HDQÙ 3E¦ ¼¼Ooµôð¶Þïò3zð[-z[ÀoÏXQi �...@!ðûüöáÝ)»ùýdiàÑÉÐZAï¾±¢Ò ÷B ÷ é o¾ZLoaÛ;¸=nkínëT ã¶Z;n[Êm.3)ýñ ÂÈ{d�...@p}@pê)üÔ/MºG'à¥)ýKSßô¥©Q×êkýÉ ¥vkã)J ,²zV,²zðÖ6tª§lhwôw§+M lïmy¯ø|1nßtûn}nªaèîºíE7'$2´5r4°Þ°5RoÐ[§j½¿i±Ò ÷~ôY$m2Àn3{+û `ìLÐÚìÖ©Æî1°Û~v_ªSÏÅíñîZðq®µ®S5 ácn?Âÿ~êÁ ÁíX¹÷àZûà:UÃnn/¼,ÙEð:ÚalÇÒåØvkívëT cwØm3»Ó3Õ ÛuËñ еÐS5�...@·õèþÅ »c+Ø ëzûÝ:UÃØ=v[ÏîìÛÀn¯zûÝ:U£Øíua¥ýì¾:»¥ØÁî±õóJSÝ Ý'd7,UÚÍîe+t¾G¢qhâ÷âZûâ:UÃ(S\bÓÀÒ ì ÷ ÀµÀS5 ÜæÎp%»ÀMz ]rüøì$·bÓëäZûä:UÃHnîY yY²'Éé¯Y|¢Òf~üS¥[Xr·(×Ú(ש rÖ3-Fù2\RIÎkü£Ëðø»x¤;ØpXÖÔÛשµVT×®µ®¶ºGîÑcþÁê!·k}ͪ!sõÀê/ëLSzÏÈ·\kon£eðPæø :Ô!-:ú#:töaСs=Å c3xÌ2ø.köÇ÷1púç...@øp×Ùשð Ü^O¨=¶Úc¼µöµuªfQ»×jÛKmÕ¶áà7(iÔâûe¾%ÍÀò{o-åæ=h®µh®s5æ=c...@ó²dÍÓë?Í9Ñ'yîÙÁp®µ®S5á0Üb'SNb# ôz};è6ǽëízëT £÷ èm/½ ± Å=õHÐ=tkítëT C÷ÈØ]* »,Ù îM(~wqùë«)ÆÄòÿ~GÑÜÄóð±HÒµöÒuªf!ÝëÒÒOEæî¹V0ÝséZûé:UÃÞ¦ÛÎô1¢T½·B 0Üë[ÁpõÁB`x½}Àpªa ÷Àð²dÃÃùÕ2YãôúvÐ{ ôÖÚôÖ©FïÐÛ^z/ÃðÖ ·vp{ÜÖÚÜÖ©·µVT×®µ®¶º!éúG?îáC°zÈíb_3¤jGfÈÜe=ðdWõN¦É©E½ ÏZÄ[ðh£,ÑGâø¨¼ç«}§7üã[¦5â oîÑï ÎÜeÉNr_§à|Ë´yÜç« `ÜkíëT øïÆÅx¼æÎdó};ÐÝtkítëT C÷ Ðm3ºß± ¼vÐÛÜGû*Mz(z?õõtô9Ökôë5Wßt½ÆA}?}lb²DsÌfðîw]~ðÖÚNõÍ`qá#:ö¢püAÙaÝ=+òî;ͲÒ`÷B`÷ ÙíÁAÞ³ûégt~CòÏ Â};nî0ËJS á á'dxn7Âß...@÷Àt;ɲ...@÷b@÷ Ñ=tÛî L3 ðÑÉî÷üüÖÚüÖ©Ão¿7ê¾g±ÒÀ÷Áøþw·³KVÇe¹t ×µ åÒ=áû9Zû å:U³PHÜ^Ó% ®82p¸w÷äðÎn ×ÚôÖ©Cït°á{ñX Äç1v¼C80÷ìJS à à§øÀ G)ö£ù¿8[Æؾi`»{Æv#TìPì!»Íì.Kv³ÛÌYkõ¹vÐ}ü$µ¦ ººOîµf=º/(KppÅxh â}+Ì àÀ} qªa+Ø ñÿ±ÈÄco;¾0o+èítëT c·�...@wy²ÝË/øSdà»8;¾?¯ÄëívëTÍb÷ÐÜú°»,ÙÝ X`~||Oÿ¾wf¼2¨µðS5 ßæøßeÉn|$¡§CÏæÎá©4Ð} Ð}ltk¨®][kumµ¤3ÊVêÏôͱÂ_K,GýógigLöPK ´SðÐ9t _ ¤test-overflow-shorter.fout ...@lux è è pk ^ å - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Images not found!!!
On Thu, Jul 1, 2010 at 04:41, Varra, Mamatha mv...@allstate.com wrote: Hi All, ... can anyone know about this issue ... pls help me. Did you ever get any help? -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]
On Fri, Jul 16, 2010 at 10:35, Tom Browder tom.brow...@gmail.com wrote: On Fri, Jul 16, 2010 at 09:48, Tom Browder tom.brow...@gmail.com wrote: On Fri, Jul 16, 2010 at 09:43, Georg Datterl georg.datt...@geneon.de wrote: Hi Tom, You could still shorten it further by removing the first pages, the unnecessary page-masters and probably many attributes. Okay, now it has 1832 lines--attached zipped. Also it's using generic standard pdf fonts. I'm going to file a bug report if I don't hear any objections. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Nested, Itemized List Flows Into PDF Page Footer
I have a DocBook source with a long, nested, itemized list which covers eight pages after converting to XSL-FO and running through fop to pdf. The list runs into the page footer on the first page but not the other pages. The page the list begins on is the first page of an appendix. Any suggestions? Thanks. -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Nested, Itemized List Flows Into PDF Page Footer
On Thu, Jul 15, 2010 at 15:17, Tom Browder tom.brow...@gmail.com wrote: ... The list runs into the page footer on the first page but not the other pages. The page the list begins on is the first page of an appendix. BTW, I have explicitly set all the page variables described in Bob Stayton's DocBook XSL: The Complete Guide on p. 84. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Nested, Itemized List Flows Into PDF Page Footer [bug in trunk?]
I just got an answer on the DocBook list from Bob Stayton--problem may be a fop bug. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop XInclude Failure with Lost Internet
On Thu, Jul 8, 2010 at 01:26, lars.bjer...@swedbank.se wrote: Well there might be a reference to Internet in your svg file´s Doctype, e.g.: !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; I´ve had similar experience when not updating my catalog resolver and inadvertently introducing some new reference. That must be it. How can I use my catalog to eliminate the problem? -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop XInclude Failure with Lost Internet
On Thu, Jul 8, 2010 at 07:18, Tom Browder tom.brow...@gmail.com wrote: On Thu, Jul 8, 2010 at 01:26, lars.bjer...@swedbank.se wrote: Well there might be a reference to Internet in your svg file´s Doctype, e.g.: !DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.0//EN http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd; I´ve had similar experience when not updating my catalog resolver and inadvertently introducing some new reference. That must be it. How can I use my catalog to eliminate the problem? Never mind--Bob Stayton's book explains it on page 48. Thanks, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: How to Get Borders to Work
On Wed, Jul 7, 2010 at 04:25, Jeremias Maerki d...@jeremias-maerki.ch wrote: Hi Tom Why? What should that extension do? IMO, Craig and Eric are right. It's basically your job in XSLT to make sure that the right properties are set, that defaults from the XSL-FO spec and from the user agent (i.e. FOP) are overridden. The default in XSL-FO is to have no border and you explicitely have to enable borders by setting the border style to something other than none. We're implementing a standard here. Not much freedom is available there. Well, apparently you have to set all three attributes to get anything. All I'm suggesting is that setting one implies the user wants a border and that there be a default value then for the other two attributes. I don't think that's an unreasonable extension. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: How to Get Borders to Work
On Wed, Jul 7, 2010 at 07:10, Jeremias Maerki d...@jeremias-maerki.ch wrote: Tom, I've just checked with 0.95 and trunk: fo:block border-before-style=double space-before=1embla/fo:block fo:block border=double space-before=1emBla/fo:block Just setting the border style is enough to get a border, be that on one side or all around with the shorthand. My bad, I thought I had checked out setting one attribute. I had, but only the border-width one. Forget all. Thanks. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Fop XInclude Failure with Lost Internet
I have an svg file included in my DocBook style sheet customization file and it has worked fine up until this morning when I lost my internet connection. I then got the following error (using the trunk): [Warning] value_user_manual.fo:204:64: Include operation failed, reverting to fallback. Resource error reading file as XML (href='./images/value-xhairs-only.svg'). Reason: www.w3.org [Fatal Error] value_user_manual.fo:204:64: An 'include' failed, and no 'fallback' element was found. Jul 7, 2010 9:13:21 AM org.apache.fop.cli.Main startFOP SEVERE: Exception javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback' element was found. at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:302) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130) at org.apache.fop.cli.Main.startFOP(Main.java:174) at org.apache.fop.cli.Main.main(Main.java:205) Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback' element was found. at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501) at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:299) ... 3 more Caused by: org.xml.sax.SAXParseException: An 'include' failed, and no 'fallback' element was found. at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484) ... 4 more After I regained the internet, fop again worked fine. I have checked all my fop configuration files and see nothing that indicates needing the internet. Any ideas? Thanks. -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Possible Bug: No control Over Itemized List Marks
On Tue, Jun 29, 2010 at 12:07, Christopher R. Maden cr...@maden.org wrote: Tom Browder wrote: 1. Is this a fop bug? ... Your FO markup is almost certainly requesting the symbol you see. FOP does not make up list markers on its own; it uses the requested symbol. Thanks, Chris. The information in the two docbook books led me to believe it was an implementation issue which I assumed was fop. I found the places to fix it--it looks like a DocBook limitation to me. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: How to Get Borders to Work
On Tue, Jul 6, 2010 at 09:47, Amick, Eric eric.am...@mail.house.gov wrote: The standard has width defaulting to medium and style to none; it leaves the color up to the user agent. You could have FOP default color to black, I suppose, but some user will inevitably run into problems when porting the stuff to another FO processor. How about an fop extension then? -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Problems with SVG display as background to region-body (FOP-Trunk)
I'm not sure if this would help, but I've been able to use the trunk and an external svg file like this: fo:instream-foreign-object content-width='1.5in' content-height='auto' text-align='center' xi:include href=images/value-xhairs-only.svg/!-- relative svg file name -- /fo:instream-foreign-object -Tom Thomas M. Browder, Jr. Niceville, Florida USA On Tue, Jul 6, 2010 at 10:21, Mario Madunic mario_madu...@newflyer.com wrote: Read the graphics.html for FOP and it doesn't say how to construct a link to an SVG that works. It does say that there were changes with 0.95+. Ran the build.xml in the trunkdir/examples/fo to see the external.fo example. The SVGs did not appear in the final PDF tests/external.pdf also. Well I'm frustrated and am moving back to 0.94 as I'm getting the expected output when it comes to using SVGs. Hopefully someone will post how to construct references to SVGs. All the links created to PNGs and JPGs (only a handful of these) are appearing fine and the SVGs reference is built the same as those for PNG and JPG image files. Thanks for your help Eric. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Tuesday, July 06, 2010 9:26 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Problems with SVG display as background to region-body (FOP-Trunk) I haven't gotten anything but blanks for external-graphic because it keeps saying it can't find the file. I haven't researched yet why, if there's a problem with FOP or just a problem with the format of my link to the file. I haven't tested 0.94, only 0.95 and Trunk. I don't know if there is a log file. That may depend on how you run it. I run it in webstart and I set my Java Console to visible in the Control Panel, so I can see warnings logged there. You may need to set up log4j. That may be able to write it to a file, I haven't tested. Yes, I misread your message about the 20 meg FO and thought that was the size of a PDF. 70 megs for one PDF sounds even more insanely large, though it may be normal depending on the number of pages, images, and links. I haven't put any links in mine thus far. I read someone on the list thought links were taking up a lot of space. I don't have an FO file on mine. I just pass in an XML file and an XSL file to generate either a PDF or a printout. I'm assuming it generated FO code in that process but it apparently keeps it in memory. With the way I'm using the embedded code I wouldn't even know how to get the FO into a file. There is this in the documentation: After the Apache FOP 0.94 release, the image handling subsystem has been rewritten... The actual image loading framework no longer resides in Apache FOP, but was instead placed in XML Graphics Commons. http://xmlgraphics.apache.org/fop/0.95/graphics.html -Original Message- From: Mario Madunic [mailto:mario_madu...@newflyer.com] Sent: Tuesday, July 06, 2010 10:09 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Problems with SVG display as background to region-body (FOP-Trunk) I'm mystified as to why 0.94 has no problem with external-graphic (and in my case SVGs) and using SVGS as background and the trunk does. You must of misunderstood me, the FO file is down to 20megs, the PDF with all SVGs, linking, and such is around 70megs. There are 500+ full page SVGS and 15000+ links (mainly in indexes). It is a 1400+ page parts manual. It is quite impressive when done, if I might say so myself. We run the entire process on a 12gig Ram 64bit Windows XP machine. Eric, you are exactly right in that I'm also seeing a blank space where external-graphic should be placing and SVG. I'll see if I can find the log, or if there isn't one at the moment, then have it created. Thanks for your insight and relating your experience with this issue. Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -Original Message- From: Eric Douglas [mailto:edoug...@blockhouse.com] Sent: Tuesday, July 06, 2010 8:47 AM To: fop-users@xmlgraphics.apache.org Subject: RE: Problems with SVG display as background to region-body (FOP-Trunk) I had too many problems with external-graphic, is why I'm using instream-foreign-object. When I get time I need to take another look at getting external-graphic to work. If you're having the same problem I was having, everything prints fine except the external-graphic space is blank, and if you can see the Java Console it will show logs of file not found. 20 megs sounds ridiculously large for a PDF file. If you're embedding images, the problem is no doubt the inclusion of ridiculously large image files. The largest reports I've generated so far are around 44kb for a 1 page report and an 84kb 7 page report which includes this svg image 3 times per page.. At that ratio a 20 meg file
Re: can anyone help me convert ttf font to xml font
On Mon, Jul 5, 2010 at 11:32, ploypyrin phailin...@hotmail.com wrote: I want to use thai language in fo report to export to pdf but i cant convert font I try so many way to convert ANGSA.TTF to ANGSA.XML more than 1 month til now Can't you use the ttf font directly? Why do you need to convert to xml? -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: How to Get Borders to Work
On Fri, Jul 2, 2010 at 22:07, Craig Ringer cr...@postnewspapers.com.au wrote: On 3/07/2010 2:45 AM, Tom Browder wrote: I notice there is an open bug about borders not fully working on some objects. URL? https://issues.apache.org/bugzilla/show_bug.cgi?id=36395 I can't get them to work on blocks or block containers (using trunk). ... Have a look at the test cases in fop for some examples. Thanks, Craig, that helped. My problem was that I had not been using all three attributes (color, style, width). For some reason I had assumed that there would be a default for the missing ones if only one or two were entered. Does that sound like a good extension of feature request? Regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: How to Get Borders to Work
On Sat, Jul 3, 2010 at 07:20, Craig Ringer cr...@postnewspapers.com.au wrote: ... If fop helped users by (say) assuming border color = foreground color if no color was given, and the standard specifies that no color = transparent if not specified, then the same XSL-FO would render with missing borders in other processors. True but I think assuming thin, black, solid would be a reasonable set of assumptions. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
How to Get Borders to Work
I notice there is an open bug about borders not fully working on some objects. I can't get them to work on blocks or block containers (using trunk). Has anyone got it to work on either block or block container? If so, can you show the exact syntax that worked for you? Thanks. -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: How Can I Get a Nested List Item Have a Different Mark
On Mon, Jun 28, 2010 at 00:14, Georg Datterl georg.datt...@geneon.de wrote: Hi Tom, Could you clarify whether your problem is the html open circle or the default pdf bullet? The pdf bullet--I cannot get it changed to the open circle for the nested items. Thanks, Georg. Regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
How Can I Get a Nested List Item Have a Different Mark
I get a default filled circle (mark='bullet'?) for the listitems in an itemized list for both html and pdf output. When I have a nested list I get a default opencircle (mark='opencircle') for the nested listitems for html output but still get the bullet for pdf output. The fop conformance page says all list handling things are taken care of. I cannot find much help on the mailing list archives except to say a font change may be needed (but no example). I can find nothing in the bug list about this. Questions: 1. Is this a fop bug? 2. Is there a way to work around the problem? If so, please give an explicit example of how to do it (or point to one). Thanks. Regards, -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Any way to search fop mail archives? [SOLVED]
Can anyone please point me to instructions for searching the fop mail archives? So far I've found nothing useful. (There is a link on the Wiki, but it wasn't useful, I later updated it though [and created separate links for each list].) ...[later] I finally found fop-dev and fop-user on old.nabble.com--they need to be migrated to the new nabble. Thanks. -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
SEVERE: Couldn't find hyphenation pattern en
I can't get rid of the subject error. I have tried every solution (except compiling a new hyphenation dictionary) I saw on the FOP help at the web site. I am using FOP 0.95 on Ubuntu 10.04 LT, amd64. I use xsltproc to produce the fo file from docbook source, then run the fo file through fop. Any suggestions? Thanks. -Tom Thomas M. Browder, Jr. Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: fop trunk hangs
On Tue, Jun 23, 2009 at 09:23, Johan Pretoriusjohanpretor...@jesuruncharity.com wrote: ... No more StackOverFlow errors but the pdf creation process hangs before completion. CPU usage 100%. Is it possible you are out of RAM? fop takes a large amount of heap space I've found (I had to set my java to use a max of 256 Mb to get through a pdf creation). Regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Sat, Jun 20, 2009 at 02:20, Andreas Delmelle andreas.delme...@telenet.be wrote: ... Am I getting this correctly? You managed to build FOP, but now have memory issues while formatting a document? Yes, Andreas, I can build fop 0.95 (but with test failures, missing fonts primarily). I get heap space errors when trying to create a complex pdf document. I will try the memory option to see what that does. Regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14) [SOLVED]
On Sat, Jun 20, 2009 at 07:03, Tom Browder tom.brow...@gmail.com wrote: ... Yes, Andreas, I can build fop 0.95 (but with test failures, missing fonts primarily). I get heap space errors when trying to create a complex pdf document. I will try the memory option to see what that does. Well, it seemed hard to find, but by looking at the fop execution shell script I found how to pass java options: set the JAVA_ARGS environment variable. I did: export JAVA_ARGS=-Xmx256m and the pdf build woked to completion. Now I can concentrate on other build errors on a new thread. Regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Tue, Jun 16, 2009 at 15:08, J.Pietschmannj3322...@yahoo.de wrote: On 16.06.2009 13:53, Andreas Delmelle wrote: As to your initial problem: like Vincent, I've never run into memory-related issues while /compiling/ FOP. I had difficulties running the JUnit-Tests included in the default ant target, and I always run out of memory while building javadocs on debian-amd64 using any sun jdk I tried. Gcj was worse, it usually failed already at the codegen target with rather strange errors (e.g. illegal character in XML file WTF?) Maybe this is fixed now, I haven't tried for a year or so. I never had this kind of problems while building FOP on Windows. I'm still having heap space problems running fop on Ubunto 9.04.. Anyone have any ideas about what to do next? Thanks. -Tom Tom Browder Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Tue, Jun 16, 2009 at 05:53, Vincent Hennebertvhenneb...@gmail.com wrote: Hi Tom, I assumed you installed the standard Debian package that provides the Sun jdk, but if it is in /opt/sun/something this is probably not the case. Any reason why you would need your own Sun Java installation? I now have the debian jdk package installed, and it is apparently the right one, but I'm getting the same problems. Also, you don’t need to set the JAVA_HOME and JAVABINDIR environment variables at all. I'll unset them and see if that makes any difference. Note that over the years there have been different sets of instructions with every jvm and, for a non-java user, that has probably led to subtle system conflicts that may be cropping up now. I don’t know what the /usr/lib/jvm/.*.jinfo files are, but after years of working on Debian-based systems I’ve never felt the need to know :-) My thought was trying to shoehorn the other jdk into the same group. Make sure you are running the correct jvm by typing ‘javac -version’ on the terminal. Will do. Thanks, Vincent. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Tue, Jun 16, 2009 at 05:53, Vincent Hennebertvhenneb...@gmail.com wrote: Hi Tom, ... Make sure you are running the correct jvm by typing ‘javac -version’ on the terminal. Okay, I still have the same problems with building from the trunk (r785169). I have downloaded fop-0.95 and have different problems: build and test errors. A quick look indicates I may be missing something or have a pre-req too old. I will have to investigate later. I will report back. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Tue, Jun 16, 2009 at 06:53, Andreas Delmelleandreas.delme...@telenet.be wrote: On 15 Jun 2009, at 15:44, Tom Browder wrote: ... You're always welcome to send FO files you're having problems with. Note: we'd rather not get the source XML, since that is strictly speaking out of scope for FOP. You could perform the initial XSLT stage using xsltproc or any other XSLT processor, then send the resulting file. If the file is significantly large, please consider mailing it to us off-list or make it available otherwise, just to avoid bothering all list-subscribers with the attachment. Great, I'll do that. If it's large, how about a zipped attachment? If off-list, to whom? -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Tue, Jun 16, 2009 at 07:13, Andreas Delmelleandreas.delme...@telenet.be wrote: ... You can send it to me (since I was the one who proposed to do so) Coming at you shortly, Andreas,... -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Tue, Jun 16, 2009 at 07:13, Andreas Delmelleandreas.delme...@telenet.be wrote: On 16 Jun 2009, at 14:00, Tom Browder wrote: ... You're always welcome to send FO files you're having problems with. Note: we'd rather not get the source XML, since that is strictly speaking out Well, I just tried to make the gnucash guide (from trunk) in pdf and it worked. However, there are some notes and warnings about features not implemented, etc. So it may make a good test case if you're still interested. -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Mon, Jun 15, 2009 at 05:13, Vincent Hennebertvhenneb...@gmail.com wrote: Hi Tom, ... Are you sure you are actually running the Sun jdk? This is the usual trap on Debian-based systems. Run ‘update-alternatives --display javac’ in a terminal. If it is not set to Sun’s jdk, you can set it like this: sudo update-java-alternatives -s java-6-sun Thanks, Vincent. That shows I'm not running the correct one all right, but the second command didn't work. HTH, Vincent Tom Browder wrote: I am getting lots of warnings errors building Fop (trunk, r784614), among them: ... ASCII [javac] * Ascender Height is the character???s most positive y-axis value. [javac] ^ [javac] /usr/local/src/apache-fop-trunk/src/java/org/apache/fop/afp/fonts/CharacterSetOrientation.java:100: warning: unmappable character for encoding [A LOCALE problem?] ... [javac] The system is out of resources. [javac] Consult the following stack trace for details. [javac] java.lang.OutOfMemoryError: Java heap space I have 4 Gb memory and see no use of swap! BUILD FAILED /usr/local/src/apache-fop-trunk/build.xml:313: Compile failed; see the compiler error output for details. Ideas welcome. Thanks, -Tom Tom Browder Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Mon, Jun 15, 2009 at 05:13, Vincent Hennebertvhenneb...@gmail.com wrote: ... in a terminal. If it is not set to Sun’s jdk, you can set it like this: sudo update-java-alternatives -s java-6-sun Vincent, I don't understand the command. I can trace the links back to another javac. My environment variables are: JAVA_HOME=/opt/sun/java/latest JAVABINDIR=/opt/sun/java/latest/bin I can try to updated the links manually, but I'ld rather not. This appears as another piece of the java environment I'm not aware of. What is jname supposed to refer to? It's not a whole path, what is the magic ID for a java installation? I''ll bet I have at least 10 around with various packages installed! Thanks. Regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Mon, Jun 15, 2009 at 05:13, Vincent Hennebertvhenneb...@gmail.com wrote: Hi Tom, ... in a terminal. If it is not set to Sun’s jdk, you can set it like this: sudo update-java-alternatives -s java-6-sun Ah, I see what /etc/alternatives is. I've never been aware of that! I know this is off topic, but what provides the /usr/lib/jvm/.*.jinfo file? I think I can build my own, but that doesn't seem like it's something a user should do. Surely there exists one each for all standard Sun Java packages. Thanks and regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Mon, Jun 15, 2009 at 05:13, Vincent Hennebertvhenneb...@gmail.com wrote: Hi Tom, I can build FOP without any problem on the same system (ok, jdk1.6.0_13 instead of jdk1.6.0_14 but that shouldn’t change anything really). Are you sure you are actually running the Sun jdk? This is the usual trap on Debian-based systems. Run ‘update-alternatives --display javac’ in a terminal. If it is not set to Sun’s jdk, you can set it like this: sudo update-java-alternatives -s java-6-sun That is all set now, but I still get the same errors. Any more ideas? Note that I cannot find directory tools/com/sun/tools/javac anywhere on my system other than my build of the latest gcc. See this message: [javac] Consult the following stack trace for details. [javac] java.lang.OutOfMemoryError: Java heap space [javac] at com.sun.tools.javac.comp.MemberEnter.visitVarDef(MemberEnter.java:609) Thanks, -Tom P.S. Would someone like a test docbook xml file to give fop -pdf a good workout? - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
On Mon, Jun 15, 2009 at 14:22, Andreas Delmelleandreas.delme...@telenet.be wrote: On 15 Jun 2009, at 02:18, Tom Browder wrote: ... Seems like a badly encoded 'smart quote'... I checked the file in my IDE, and noticed a similar substitution. I just replaced it with a regular apostrophe and committed the change: http://svn.apache.org/viewvc?rev=784924view=rev I'll get that--thanks. Well... The fact that your system has 4GB available does by no means guarantee that the JVM will use all of it, if it has to. Can you do anything to monitor the process closer? I'll try, but I have very little java experience (the only reason I'm doing this is because I need to see if trunk/fop can -pdf gnucash docbook xml docs, 0.95 can't; I don't know yet where that problem is--I'm just trying to narrow the problem). Regards, -Tom - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Fop Trunk Fails to Build (Linux, Ubuntu 9.04, x86_64, jdk1.6.0_14)
I am getting lots of warnings errors building Fop (trunk, r784614), among them: ... ASCII [javac] * Ascender Height is the character???s most positive y-axis value. [javac]^ [javac] /usr/local/src/apache-fop-trunk/src/java/org/apache/fop/afp/fonts/CharacterSetOrientation.java:100: warning: unmappable character for encoding [A LOCALE problem?] ... [javac] The system is out of resources. [javac] Consult the following stack trace for details. [javac] java.lang.OutOfMemoryError: Java heap space I have 4 Gb memory and see no use of swap! BUILD FAILED /usr/local/src/apache-fop-trunk/build.xml:313: Compile failed; see the compiler error output for details. Ideas welcome. Thanks, -Tom Tom Browder Niceville, Florida USA - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Fop Options
On Thu, Oct 2, 2008 at 7:20 AM, Vincent Hennebert [EMAIL PROTECTED] wrote: Tom Browder wrote: ... When I execute 'fop' without arguments, I see the usage message but I also see lots of gunk accompanying an exception. Couldn't that part be left out? Definitely. Although 'lots of gunk' seems slightly exaggerated to me ;-) Well, 'gunk' may not be the right word, but at the bottom of the help lines are shown these lines (after executing 'fop' with no arguments): Oct 2, 2008 7:19:47 PM org.apache.fop.cli.Main startFOP SEVERE: Exception org.apache.fop.apps.FOPException: No input file specified at org.apache.fop.cli.CommandLineOptions.checkSettings(CommandLineOptions.java:801) at org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:153) at org.apache.fop.cli.Main.startFOP(Main.java:155) at org.apache.fop.cli.Main.main(Main.java:202) So, whatever you call it, it shouldn't be there. You can submit a request for enhancement on FOP's Bugzilla: ... Likewise, the -v and -d options throw exceptions and too much extraneous info. Agreed for '-v', not sure however about the '-d' option. Actually it I think I confused the outputs and didn't report correctly. Sorry. If you choose to contribute don't hesitate to use the fop-dev mailing list to discuss details or ask further questions. Thanks, Vincent, I will. -Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fop Warnings
Just yesterday I got fop 0.95 installed to try tp make a pdf version of the GnuCash (www.gnucash.org) guide, and the resukts look great for the first time. Obviously some tinkering will need to be done, but that is to be expected for a newbie to docbook and fop. I got a slew of warnings, most self-explanatory. My question is: Is there a way to get fop to point to the source of the warnings? I've tried the -d (debug) option and that didn't help. Thanks. -Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Fop Options
First, thanks to the fop developers for a fine program--it has enabled successful pdf generation of the GnuCash guide which apparently hasn't been possible for some time with other docbook tool chains. I am using the trunk version of fop and have a couple of comments: When I execute 'fop' without arguments, I see the usage message but I also see lots of gunk accompanying an exception. Couldn't that part be left out? Most likely the user has intentionally omitted arguments so he can to see the usage message (if any--I think it is bad practice to design a CLI program without such a message). Likewise, the -v and -d options throw exceptions and too much extraneous info. Eventually I would like to use 'fop -v' in a configure test for gnucash, so the cleaner the output the better. I will be happy to file a bug report if that is appropriate or am I doing something wrong? I will also be happy to try to fix the problem, but I am a C++/C/perl programmer and have no java experience. But I do have some bash scripting experience and see that fop is a bash wrapper to Fop, so maybe I can help there. Thanks. -Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fop Warnings
On Wed, Oct 1, 2008 at 1:11 PM, Vincent Hennebert [EMAIL PROTECTED] wrote: Hi Tom, Tom Browder wrote: ... Is there a way to get fop to point to the source of the warnings? You have to write the XSL-FO produced by the XSLT processor into a file. ... For debugging purpose you can proceed in two steps: fop -xml document.xsl -xsl sytesheet.xsl -foout document.fo fop -fo document.fo -pdf document.pdf ... Note that that won't point you to the DocBook source, unfortunately. From the FO file you'll have to figure out what part of the DocBook source that corresponds to. Tedious, but I'm not sure there is any Thanks for the help, Vincent. -Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Fop Warnings
On Wed, Oct 1, 2008 at 8:28 PM, John Brown [EMAIL PROTECTED] wrote: One more thing: the XSL-FO produced by FOP does not contain any new line characters, so FOP will tell you that the error is on line 1 at position 7458 o something similar. You can format the XSL-FO using 'xmllint --format' before running FOP. xmllint is part of the libxml2 project. Thanks for the additional info, John, good idea. -Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]