|
Fonts with non-standard sizes?: msg#00051lang.smalltalk.squeak.beginners
Hi, I've made a morph which contains some text, and the font size should depend on the size of the morph. However, if I just try to set the font using StrikeFont class>>familyName:pointSize: or TTCFont class>>family:size:, it only gives me fonts in certain predefined sizes. I know I can choose my own size using StrikeFont class>>fromUser, but what's the best way to do this in my code, non-interactively? Oh, and should I prefer TTCFont or StrikeFont, or does it not matter? And what should I use for the font family, for maximum portability? Can I assume BitstreamVeraSans is always available? What's better than assuming that? cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Switching between Browser views in the middle of(incomplete) edit - advice?, Matthew Fulmer |
|---|---|
| Next by Date: | TestFailure: Assertion failed in first practice from Squeak by Example, Eric Eisaman |
| Previous by Thread: | Switching between Browser views in the middle of (incomplete) edit - advice?, itsme213 |
| Next by Thread: | Re: Fonts with non-standard sizes?, Yoshiki Ohshima |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |