> points, pixels, picas, em...  I never know how best to describe font
> sizes.  points has platform-dependencies...

Java tries to address this issue a little bit ... to ensure cross-platform
portability. Fonts are measured in points, and there is a set of font
faces that exist on all platforms.

> but maybe this is beyond the
> scope of labels in JMol.  (it flames up on css lists now and again but
> is never resolved, as far as I can tell.)

For the cascading style sheet folks this would be an extremely important
issue. It is probably less important within the context of the little Jmol
labels.

> what font face is used for labels,
You can pick your font face. My plan was to use
  set fontface "helvetica"

But I don't remember if I exposed the scripting language or not. If not,
it is a trivial addition.

The fonts are taken directly from the platform, and you can make them
whatever size you want.

> and is antialiasing a possibility?

Unfortunately, not at this time; there is no antialiasing with the 3D buffer.

(Actually, full scene antialiasing is partially implemented, but it is
turned off in the code. Performance was not good on slower platforms and I
couldn't figure out what to do about pixel alignment with fonts and
wireframe lines.)

> it might be nice to have this accessible, too - some fonts that look
> great on the mac are trash on windows, and vice versa.  I'm usre the
> same is true for other OS.

One thing I wondered about was an option to display labels in a little
frame, like a balloon in a cartoon. That would make them easier to read.
(If we did that then the background color around the text would always be
the same ... that would make it easier to reintroduce antialiasing for
text characters.)

What do you think?

Something related to this ... note that Jmol does not handle these labels
the same way that RasMol does. In Jmol the labels are positioned in
3-space. If there is an atom in front of it then you won't see the label.

Finally, previous versions of Jmol handled labels in a different way. It
put the 'labels' directly on top of the atom. I changed this for
compatibility with RasMol.

I think this type of labeling is very effective for the atom type. The
atoms look like billard balls with the element symbol in the middle.
Probably not important for experienced users and for macromolecules, but
very valuable for high-school students working with smaller molecules.

I think we need to reintroduce this functionality. We can't call it a
'label', but could call it a 'typetag' or something else.


> not sure if I helped or not.  ;-)
very helpful.


Miguel






-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to