[V3dot10] Font Problems
Jerome Peace
peace_the_dreamer at yahoo.com
Mon May 21 21:43:46 UTC 2007
Font Problems
I can shed some light.
This test changes fonts after being run.
For some reason restoring the preference value does
not
reset the fonts back to normal.
You need to find someone who understands what state
needs to be preserved over the preference change.
My general impression is the Diego's changes need a
good code review. He changed a lot and some things are
likely to have fallen thru the gaps. This test found
one of them. And the problem with this test points to
another.
Yours in curiosity and service, --Jerome Peace
LangEnvBugs>>testIsFontAvailable
"self new testIsFontAvailable"
"self run: #testIsFontAvailable"
| oldPref |
oldPref := Preferences valueOfPreference: #tinyDisplay
.
Preferences enable: #tinyDisplay .
self shouldnt: [ [ ( LanguageEnvironment localeID:
'en' ) isFontAvailable ]
ensure: [Preferences setPreference: #tinyDisplay
toValue: oldPref] ]
raise: Error.
^true
____________________________________________________________________________________Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/
More information about the V3dot10
mailing list