Re: Write fonts
Juan Felipe Alvarez Saldarriaga <[email protected]>
| Newsgroups | gmane.comp.gnome.lib.librsvg.devel |
|---|---|
| Message-ID | <[email protected]> |
Dominic Lachowicz wrote: > The foreignObject is an Adobe-specific extension that won't be > recognized by the rsvg user agent (or probably any non-Adobe user agent). > > The following <text> block, however, should work. I'd suggest filing a > bug @ http://bugzilla.gnome.org/. > Well I have the latest version of the library 2.16.1, so I dont know if is a bug or just it that I doesnt have fonts on my system. Thx for your answer. -- jf > -Dom > > On 1/26/07, *Juan Felipe Alvarez Saldarriaga* < > [email protected] <mailto:[email protected]>> wrote: > > Hey list :) just a question. > > I have an SVG file (the file is generate by Illustrator) which has > this > block: > > <switch id="XMLID_8_" i:objectNS="&ns_flows;" > i:objectType="pointText"> > <foreignObject requiredExtensions="&ns_flows;" > x="0" > y="0" width="1" height="1" overflow="visible"> > <flowDef xmlns="&ns_flows;"> > <region textMatrix="1 0 0 1 0 0"> > <path d="M270.405,1166.818"/> > </region> > <flow xmlns="&ns_flows;" > font-family="'Courier'" font-size="12"> > <p text-align="center" > text-align-last="center"><span fill="#CA006C">information goes > here and > here. Event information goes here and here. </span></p> > </flow> > </flowDef> > <x:targetRef xlink:href="#XMLID_78_"/> > </foreignObject> > > <text id="XMLID_78_" transform="matrix(1 0 0 1 > 75.7197 1166.8179)" fill="#CA006C" font-family="'Courier'" > font-size="12">information goes here and here. Event information goes > here and here. </text> > </switch> > > > But the text never shows up when I try to convert it to PDF or PNG, I > know that librsvg use freetype libs, so I dont know if I need to have > fonts on the /usr/X11R6/lib/X11/fonts/ folder to write it on the > new file. > > Thx for any help. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Librsvg-devel mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/librsvg-devel > > > > > -- > Counting bodies like sheep to the rhythm of the war drums. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV