Rolf Huehne wrote:

>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.
>
>  
>
Currently there are some objects for which you cannot change the font 
size. These include axes labels, draw text, frame titles, molecular 
orbital descriptions, and unit cell data. So none of those have scalable 
fonts. I will probably fix the draw business (althouh the option there 
is always to introduce a 3D echo at the desired position), but for now I 
propose that axes don't need variable scale fonts. Other opinions?

>>>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.
>
>  
>
precisely. That is the design. I think that's important.

>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.
>
>  
>
exactly, that's whay I added set labelScaleReference. But it's not 
necessarily a problem. It could be what one desires, and I was finding 
that, indeed, it is useful to have the zoom setting affect the label 
scale. Basically, if you are looking at the model and you request a 
label, then you get precisely what you expect to see at that zoom level. 
You have requested a scaled font, so it starts to scale.

Acceptable?

Bob


>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
>  
>


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get. 

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900



-------------------------------------------------------------------------
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