On 25/04/2013 23:39, Dimitri Maziuk wrote:
> On 04/25/2013 05:00 PM, Chris Morley wrote:
>> On 25/04/2013 21:52, Dimitri Maziuk wrote:
>>
>>> is there an option to display atom numbers on 2D drawing (png or svg,
>>> using sdf for input)? E.g. MarvinView has a checkbox under View - Misc.
>>>
>>> Specifically, as a command line switch to [o]babel or pybel api call?
>>
>> There is for svg: use the -xi option.
>> obabel -L svg will list all the options.
>>
>> This option is not currently implemented for png output.
>
> Great, thanks. Svg is a better option anyway. Any chance to change font
> colour for the indexes? -- red on red is suboptimal (where atoms &
> indexes overlap).

It's hardwired in line 247 in src/depict/depict.cpp if you are in a 
position to recompile. I'll change it to "teal" for the future.

Chris


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to