I kind of like the idea, but I'm not sure what the UI would look like?  Is
it the option of choosing the same font for multiple purposes that is
attractive?

I also do something like:

    Preferences addBooleanPreference: #ScanAtStartup categories: #(FreeType)
default: false balloonHelp: 'select to rescan the font folder during
startup' .

Along with:

FreeTypeFontProvider>>startUp: resuming
    Preferences ScanAtStartup ifFalse: [^self].
    resuming
        ifTrue:[
            self current updateFromSystem]

Just so I don't have to wait for it to scan my font folder during start up
each time.

So...I guess I managed to figure out SOMETHING about Preferences, but I
don't know how to add other UI elements like radio buttons, drop down lists,
etc... which would be useful in this case.

If it is really something that you think would be useful, I'll give it a
shot if anyone can point me towards some Preferences examples that would be
similar, otherwise, I'll just keep loading my "Personalization" package
that, upon loading, executes "Personalize fonts"!

Rob

On Sun, Mar 1, 2009 at 1:42 PM, Michael Rueger <[email protected]> wrote:

> Rob Rothwell wrote:
> > And if you get tired of setting your fonts individually, you can set
> > them all at once:
>
> we should add something like that as font themes to the preferences?
>
> Michael
>
> >
> >     font := LogicalFont familyName: 'Andika Basic' pointSize: 10.
> >     codeFont := LogicalFont familyName: 'DejaVu Sans Mono' pointSize: 9.
> >     Preferences setListFontTo: font.
> >     Preferences setMenuFontTo: font.
> >     Preferences setCodeFontTo: codeFont.
> >     Preferences setButtonFontTo: font.
> >     Preferences setSystemFontTo: font.
> >     font := LogicalFont familyName: 'Andika Basic' pointSize: 11.
> >     Preferences setWindowTitleFontTo: font.
> >
> > Just replace the font names with those of your choice!
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to