Font selection -- a solution

I had a flash of inspiration this morning biking into work.  I was thinking
about how most people only use a few fonts, most probably just the three
standard fonts (sans, serif, monospace).  So how about this:

At the outset, there is a font menu with the entries

Other fonts...

plus the regular style menu.

Selecting other fonts opens a GtkFontSelectionDialog.  There, the user can
see the whole list, as well as samples of how they look.  When a font is
selected there, it is added to the font menu.  Extra fonts in the font menu
are stored persistently (with the possibility of LRU-ness).  This way, we
have a simple font menu that gives the user exactly the fonts he/she needs,
and for finding other fonts, we have the full power of the standard font


Lars Clausen (| Hårdgrim of Numenor
"I do not agree with a word that you say, but I   |----------------------------
will defend to the death your right to say it."   | Where are we going, and
    --Evelyn Beatrice Hall paraphrasing Voltaire  | what's with the handbasket?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]