In Jmol 11.1.0, and also 10.9.105, a certain sequence of commands disables the "font label" command. That is, the "font label" command has no effect. The following test results are for 11.1.0.

I get this condition when "set labelfront" and "select none" (in either order) are followed by "font label ...".

This bug can easily be reproduced at
http://www.stolaf.edu/academics/chemapps/jmol/docs/examples-11/new0.htm
item #78

If you click the example commands in this order, you will see the bug:

load caffeine.xyz;set labelfront;select none; # the way to select NO labels
font label 20 serif bold
select atomno=5;label "this is atom 5" # FONTSIZE NOT 20
font label 20 serif bold # FONTSIZE NOT 20

Whereas if you click them in this order "font label" works:

load caffeine.xyz;set labelfront;select none; # the way to select NO labels
select atomno=5;label "this is atom 5"
font label 20 serif bold # FONTSIZE CORRECT!

The following sequence of manually entered commands leaves "font label" disabled:

initialize
load caffeine.xyz
select none
set labelfront
font label 20 serif bold
select atomno=5
label hello # LABEL IS NOT FONTSIZE 20
font label 20 serif bold # FONTSIZE STILL NOT 20

The following sequence of manually entered commands generates a bug from which one can recover:

initialize
load caffeine.xyz
select none # note "set labelfront" omitted
font label 20 serif bold
select atomno=5;label "this is atom 5" # FONTSIZE NOT 20
font label 20 serif bold # FONTSIZE CORRECT!

The following sequence avoids the bug:

initialize
load caffeine.xyz
set labelfront # note "select none" omitted
font label 20 serif bold
select atomno=5;label "this is atom 5" # FONTSIZE CORRECT!

Again, it is the combination of "select none" and "set labelfront" in either order, preceding "font label ..." that disables the "font label..." function.

"set labelgroup" and "set labelatom" also induce this bug.








-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to