I'll make a note in the documentation that you need to be  sure to turn
off font scaling if you change the  label:



set fontscaling off;label xxx;set fontscaling on



On Tue, Feb 7, 2017 at 5:33 PM, Robert Hanson <hans...@stolaf.edu> wrote:

> I might be  able to fix it. The problem is that you are changing the label
> after you are setting its sizing factor
>
>
> On Sun, Feb 5, 2017 at 12:06 PM, Angel Herráez <angel.herr...@uah.es>
> wrote:
>
>> Dear Bob,
>>
>> Scaling fonts in labels is very nice.
>> However I am seeing a funny behaviour: when I manually zoom between two
>> label commands, they behave different in size. I checked now and it also
>> happens with a scripted zoom.
>>
>> Example:
>> load $caffeine
>> set fontscaling true
>> color label yellow
>> set labeloffset 0 0
>> select @14
>> font label 24 sans plain 0.02
>> label O3
>> delay 2.0
>> // mouse zoom here! , or "zoom 50"
>> select @4
>> font label 24 sans plain 0.02
>> label O5
>>
>> I find this an undesirable behaviour. Is there a way to fix it?
>> It happens in both 14.8.0_2016-12-17 and a previous 14.6
>>
>>
>> On 4 Feb 2017 at 7:26, Jmol SVN repository wrote:
>> > Jmol.___JmolVersion="14.8.2-beta-2017-02-03"
>> > noting undocumented
>> > set fontscaling true; font label 10 arial plain 0.020
>> > - last number is a fontscaling factor that allows one to set a font
>> size for
>> > - labels in angstroms. Roughly, this pointSize * factor is in Angstroms.
>> > By hansonr on 02/04/2017 07:26
>>
>>
>>
>>
>> ---
>> El software de antivirus Avast ha analizado este correo electrónico en
>> busca de virus.
>> https://www.avast.com/antivirus
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
>
> --
> Robert M. Hanson
> Larson-Anderson 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
>
>


-- 
Robert M. Hanson
Larson-Anderson 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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to