From: Tony G. <Ton...@Su...> - 2006-07-12 11:52:44
|
Miko=C5=82aj Habdank-Wojew=C3=B3dzki <me...@wp...> writes: > Dnia 3-07-2006 o godz. 10:56 Tony Graham <Ton...@Su...> napi= sa=C5=82(a): >> Miko=C5=82aj Habdank-Wojew=C3=B3dzki <me...@wp...> writes: >> ... >> > 2) I want to create svg file. >>=20 >> The good news is that enabling SVG output was about seven lines of= code. >>=20 >> The bad news is that the output is unreadable in FireFox 1.5. > I do not care - i want only to create pdf. For HTML pages i am writ= ing scripts to create html with svg+png (svg isn't avaible for everyb= ody). I'm confused about what you want. I thought you were asking for SVG = output, but now you say you want PDF? >> The output from my test (and, it would work, the first public view= ing for >> the xmlroff manpage by Oliver Kiddle) is attached to >> http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D15161= 90&group_id=3D73148&atid=3D536897 >>=20 >> xmllint says it's wellformed, but that's not much consolation. >>=20 >> The other bad news that isn't news is that text in the Cairo outpu= t (in the >> formats that I can view) is still too large. > Have you any examples? Can you attach them? My docbook is very simp= le. SVG pistures which i try to include is mouse.svg (three circles = and nothing more). > > With svg i can now create pdf, but pictures are coverted to bitmaps= . I need vectors and glyphs. Tooday i'll try new cairo. It can be fun= . The bitmaps were a "feature" of Cairo before Cairo 1.2. > The biggest problems i have with mathml. I can not even convert the= m to bitmaps. I have found this project: > http://www.grigoriev.ru/svgmath/ > but it doesn't work. > Other is > http://ms800.montefiore.ulg.ac.be/~stevens/pMML2SVG/ > but it is in French and author didn't response to any of my mails. There's also http://sourceforge.net/projects/mmltosvg/, which also ap= pears dead. > So for now i have docbook with svg images converted to bitmaps (75d= pi) and no equations. Maybe it is possible to create hi-res bitmaps? = 300DPI will be enought. I can't see a way to pass SVG images directly to a Cairo SVG surface = so they appear as SVG in the SVG output. Regards, Tony. |