[Sugar-devel] F11 for XO1 - Fonts

Albert Cahalan acahalan at gmail.com
Thu Aug 20 11:38:44 EDT 2009


Art Hunkins writes:

> My POV: I'm authoring an Activity *today*. I'd like it to look good
> on all XO and (other) Sugar on a Stick screens (monitors) *today*.
> My activity is entirely text-based, is a single fixed screen, and
> fills that screen.
...
> As I see it, as far as text is concerned, the only real tool the
> author has is font size. And the same font size does not fill up
> the screen for both XO-1 and a larger SoaS monitor. (And I *want*
> it to fill both screens.) So I need to (and can) determine which
> kind of screen I'm dealing with (either XO, non-XO 4:3 or non-XO
> 16:9) and specify font size per screen type.

Render off-screen, big enough to get well-defined curves, and then
scale the resulting bitmaps as required. You can even create these
bitmaps during your build process and include them in your program.
You might do 32x64 for each character.


More information about the Sugar-devel mailing list