Re: Write fonts

"Dominic Lachowicz" <[email protected]>
Newsgroups gmane.comp.gnome.lib.librsvg.devel
Message-ID <[email protected]>
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/.

-Dom

On 1/26/07, Juan Felipe Alvarez Saldarriaga <[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
> _______________________________________________
> Librsvg-devel mailing list
> [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

_______________________________________________
Librsvg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/librsvg-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.