Re: Font selection -- a solution



LRU?
acrnoyms confuse the crap out of me and it would have thought you meant
Least Recently Used execpt that does not make sense in this context.

I am used to seeing MRU for "most recently used", and i just thought i
would point this out and hope that there is a comment in the code to make
it clear to others who are easily confused.

What is am trying to say is that faced by an unknown acronym i think
people will geuss the right answer for MRU more often than the will LRU.

I try not to be pedantic and i know it is a trivial detail, i am not
nitpicking but i was seriously confused by this whole thread because of it
and i hope you will consider what would give the most clear and most
maintainable code. (Being in touch with my inner idiot is what helps me to
test software and evaluate usuability.)

Great feature by the way

Sincerely
Alan



On 25 Jun 2002, Lars Clausen wrote:

Date: 25 Jun 2002 19:08:29 -0500
From: Lars Clausen <lrclause cs uiuc edu>
Reply-To: dia-list gnome org
To: dia-list gnome org
Subject: Re: Font selection -- a solution

On Wed, 26 Jun 2002, Hans Breuer wrote:
At 11:00 25.06.02 -0500, Lars Clausen wrote:

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

Sans
Serif
Monospace
----------
LRU 1
LRU 2
LRU 3
...
----------
Other fonts...

Three words: fine with me!

Good!  It's coming along fine.

A small addition though: the Last Recently Used listed should
be updated by selecting/displaying different objects with
different fonts, too. That is:
- you are able to always show the current font of the object
  as pre-selection of the font option menu [new fonts not only
  go into the LRU list by the Font Selector, but also by
  selecting an object (and displaying it's properties), which uses
  a font not before in the list]
- you'll be able to unify a diagram which has many different
  fonts without any interaction with the GtkFontSelectionDialog

If the underlying mechanics ot the new 'GtkFifoMenu' or
'DiaLruOptionMenu' is implemented generic enough it can probably
easily be reused for the color selection case as well.

At the moment, it's not generic at all.  I just want to get it working,
and besides it's fairly tied in with the styles.  A color equivalent
wouldn't be hard to make once this is done.

BTW: Lars, could you please comment on your font api breakage
stuff complained about in my previous mail:

http://mail.gnome.org/archives/dia-list/2002-June/msg00358.html

Or even better: revert it.

I'm still thinking about that.  Having a 'hole' in the weight list is bad.
Having two different values mean normal is also bad.  Hmmm...

-Lars

--
Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause)| 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?
_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list





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