Bob Hanson wrote:
> Rolf Huehne wrote:
> 
>> Hi Bob,
>>
>> I did a few tests on revision 8957 from SVN.
>> The font scaling with zoom and window resize seems to work very well and
>> really is a big improvement!
>>
>> Two points I noticed:
>>
>> 1) The axes labels did not scale.
>>
>>  
>>
> On zooming, right? Correct. This is open for discussion, but axes 
> labels, unit cell information, frame titles -- all these are considered 
> nonscaling. You should see them scale if you create a JPG of a new size, 
> though.
> 

Yes, on zooming. I havn't tested image generation yet.
In my opinion the axes labels should also scale automatically if all
other labels scale.

>> 2) The initial font size was not identical for all labels. Although I
>> didn't change the default font size and all labels were attached to
>> alpha carbon atoms some of them had only about half the size than
>> others. While scaling this difference was preserved.
>>  
>>
> You definitely created them at the same zoom level? The state 
> information below suggests that they were created with set fontScaling 
> false. Better try that again and send both the history and the state 
> scripts to me.
> 

I took a closer look at that and the labels obviously were not activated
at the same zoom level. But they were all created after "set fontScaling
true".

So it looks as if the current mechanism were like this:

The initial label size after activation is the same as before the
automatic scaling option was implemented. This is totally independent of
the current zoom level. But any change of the zoom level afterwards
leads to a relative label size change according to the zoom level
change. This will result in various label sizes, depending on the zoom
level that was used when the label was activated.

The solution to this problem seems to be "set labelScaleReference".
If this is set then the label sizes are defined absolutely and all
labels with the same "labelScaleReference" value have the same size,
independent of the zoom level at which they were activated.

Regards,
Rolf

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to