phetsims / resistance-in-a-wire

"Resistance in a Wire" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/resistance-in-a-wire
GNU General Public License v3.0
1 stars 4 forks source link

Refactor to use PhetFont #41

Closed jbphet closed 11 years ago

jbphet commented 11 years ago

PhetFont should be used in all locations where fonts are specified.

pixelzoom commented 11 years ago

I compared before and after. Fonts look a bit different on Mac (Mac OS 10.8.4 + Canary latest). Appears to solve some problems, like the weird character that used to appear on Mac for resistivity. Someone should take a look at this closes to make sure there are no issues.

pixelzoom commented 11 years ago

Arg... Part of the different in AB comparison was that I screwed up one of the font names, using "Veranda" when it should have been "Verdana". Fixed.

pixelzoom commented 11 years ago

Since I screwed up the fonts, I figured I should do another AB comparison. Comparing 1.0.0 (before) with master, with Mac + Canary latest, the only thing I see different is the resistivity symbol. It actually looks like it was a bit messed up in 1.0.0 (top image) and looks better now (middle image). In both cases, it does not match the resistivity symbol that appears above the slider (bottom image), and perhaps that should be a new issue.

before

after

slider

pixelzoom commented 11 years ago

Symbol font difference tracked in #42.