I just re-tried the rdkit generated svg files in Adobe Illustrator CS5 and
it works just fine. So whatever oddity there was in Adobe Illustrators
handling of rdkit (and cairo) generated svg seems to be fixed.
I am using the svn build of rdkit on Leopard OSX. svn release 1632
Thought I would post it to this thread for completeness sake
Hari
On Mon, Sep 27, 2010 at 10:25 AM, hari jayaram <[email protected]> wrote:
> I tied the hack , i.e scaling all the glyphs down. The scaled down glyphs -
> appear scaled down in Inkscape and other svg viewers.
> The adobe Illustrator glyph is still humongous and enlarged
>
> I filed a bug report at Adobe Illustrator forums and the bug report section
> saying svg "support" seems broken. For now I am editing the structures as ps
> objects which rdkit outputs.
>
> Thanks to your suggestion I now know what the glyphs are and a little more
> about svg.
>
> Hari
>
>
> On Fri, Sep 24, 2010 at 9:17 AM, Paul Emsley
> <[email protected]>wrote:
>
>>
>> As a hack, I suppose that you could add
>>
>> transform="scale(0.2)" (or some such) to the attributes of the paths for
>> the glyph symbols.
>>
>> i.e.
>>
>> replace
>>
>> <path style="stroke:none;" d="M 0.5 1.765625 L 0.5 -7.046875 L 5.5
>> -7.046875 L 5.5 1.765625 L 0.5 1.765625 Z M 1.0625 1.21875 L 4.9375
>> 1.21875 L 4.9375 -6.484375 L 1.0625 -6.484375 L 1.0625 1.21875 Z M
>> 1.0625 1.21875 "/>
>>
>> with
>>
>> <path transform="scale(0.2)" style="stroke:none;" d="M 0.5 1.765625 L
>> 0.5 -7.046875 L 5.5 -7.046875 L 5.5 1.765625 L 0.5 1.765625 Z M 1.0625
>> 1.21875 L 4.9375 1.21875 L 4.9375 -6.484375 L 1.0625 -6.484375 L 1.0625
>> 1.21875 Z M 1.0625 1.21875 "/>
>>
>> and do that for each of the glyphs.
>>
>> Paul.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Rdkit-discuss mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>>
>
>
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss