Bob replied to my description of the Safari 7 font-rendering problem on JSmol:

==========================================================
Certainly very curious. It must be considered a Safari bug that they are
not picking up the sans-serif bold, which is required by HTML5 standards.
But we can get around  it. You can experiment in JSmol. In
j2s/core/core.z.js  look for

"Sans-Serif"

and change that to anything you want. I believe

 "Helvetica Neue, Sans-serif"

is sufficient.
==========================================================

I did some tests and the best Apple-only typeface I found is Avenir. I
need to check it on different devices, but I have a test page with the
default Sans-Serif markup in "j2s/core/core.z.js at:

http://motif.gla.ac.uk/JSmolTest/sans/index.html

and an alternative with "Avenir, Sans-Serif" markup in "j2s/core/core.z.js at:

http://motif.gla.ac.uk/JSmolTest/avenir/index.html

If it doesn't have any odd side-effects on other platforms I'll
incorporate it into Motivated proteins.

David

...but I wish I knew why Safari renders the type differently on a
simple canvas from on a JSmol canvas.

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to