After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 114228 - Font preferences should be simpler
Font preferences should be simpler
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Interface
0.x
Other Linux
: Normal normal
: 1.2
Assigned To: Marco Pesenti Gritti
Marco Pesenti Gritti
: 113051 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-06-02 06:54 UTC by Seth Nickell
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed design (62.96 KB, image/png)
2003-07-14 16:18 UTC, Marco Pesenti Gritti
  Details
First try to fix this (far from completed) (50.07 KB, patch)
2003-09-02 11:01 UTC, Marco Pesenti Gritti
none Details | Review
screenshot of the interface (66.22 KB, image/png)
2003-09-02 11:06 UTC, Marco Pesenti Gritti
  Details

Description Seth Nickell 2003-06-02 06:54:48 UTC
Right now there's a lot of potentially confusing terminology like "serif"
and  "san serif" that some people may not know (I don't even know quite
what a proportional or monospace font is or what the difference between the
two is).

Probably the most common task will be to change the font size. Currently
there's a rather large amount of information a person has to figure out
before its clear which box changes the right font size. It should be easy
to do this at a glance.

Also, the "Language Encoding" stuff should probably be with the other
Language preferences.
Comment 1 Christian Persch 2003-06-02 10:43:50 UTC
This seems to be similar to bug 113051 ...

> Also, the "Language Encoding" stuff should probably be with the other
> Language preferences.

Um, no. The "Language encoding" select the language for which the font
settings below will apply. "Encoding" isn't the right word, though.

Perhaps we should move the entire fonts prefs to the "advanced" tab.
Comment 2 spark 2003-06-02 12:11:39 UTC
Seth, fyi, in a Proportional font each charater takes up a different 
amount of space - e.g. "i" is very thin and "m" is very wide. In 
Monospace, all letters take up the same space (i.e. are mono-spaced:)

Some better terminology would be good, but i can't think of any...
Comment 3 Marco Pesenti Gritti 2003-06-02 17:43:56 UTC
I dont think we should move fonts preferences to advanced ... they are
quite basic stuff. We should make them easy enough to be used.

As I said in the other bug my first step to simplify this would be to
drop the encoding stuff that is at best (as showed by seth mistake)
crack. We can default to serif/sans serif aliases that will choose a
good font for the encoding. If someone want to change the fonts he
will pick a good one for his encoding. More flexibility is not that
necessary ihmo. And anyway we cant make this hard to use for 99% of users.

The Serif/Sans serif/Monospace issue is a difficult one. Basically w3c
suggest to have these categories (and even some more), and CSS uses them.
I cant think of any other good names for Serif and Sans serif ... and
I'm not sure how to solve this in another way ...
I wonder if any of the w3c spec has been written thinking to the
interface issues they was going to cause :/

Anyone more creative then me ?
Comment 4 Gregory Merchan 2003-06-02 20:16:09 UTC
Screw the interface issue. What about the English issue?
"Monospace" appears to be a neologism; it's not in any dictionary
I've found. (Except WordNet which has "monospaced font".) It's a bad
neologism at that. Does it mean every glyph is followed by single
blank?

"typewriter", "constant-width", "fixed-width", and "non-proportional"
are all synonyms. (The ones explicitly mentioning width, the important
attribute, being my preference.)

"Proportional" is a bad name too. A fixed-width font may be
considered a font of fixed proportion - always having a certain
width for a certain height.

The terms "serif" and "sans serif" are unavoidable when you're
making the distinction, unless you're really going to trouble
people with "font with(out) little thingies on the ends of letters."
I prefer sans serif fonts for the screen and serifed fonts for the
printed page.

A quick survey of some related topics indicates that sans serif
fonts should be used by people with dyslexia, scotopic sensitivity
(Irlen syndrome), and other learning disabilities and vision
problems.

I don't think the encoding stuff is crack, but I've never seen a
UI that made clear how it's supposed to work. As I recall, I came
upon my current understanding of it by accident and haven't cared
about it since - I can't read kanji, tamil, or hiragana anyway.
The best I can think of for this, given the large number of
encodings, is a second window. Place a button below the rest of the
font settings labelled something like, "Encoding-specific Fonts..."
(crappy label, I know) and have it open another window.
In that window, use a single-selection list in one pane and have
the settings for the selected encoding in the other pane. For the
one encoding that will alter the settings in the main prefs window,
indicate this clearly and keep the settings synced.

(Perhaps more later. I'm getting really drowsy.)
Comment 5 Seth Nickell 2003-06-02 20:41:46 UTC
One thing that would help would be to order these by how commonly they
appear. If you don't set any font settings, which font is used?
Comment 6 Seth Nickell 2003-06-02 20:42:57 UTC
oh! I think I finally understood how it works.... The proportional
dropdown is not used to select a font, its used to select whether
"serif" or "san serif" is used by default. Maybe we could make this a
checkbox / radio button, so it wouldn't feel like there were so many
font items (lots of similar items make people's eyes glaze over :-)
Comment 7 Seth Nickell 2003-06-02 20:46:27 UTC
Does "Always use these fonts" mean "Use these fonts even if web pages
specify other ones" ?
Comment 8 Dave Bordoley [Not Reading Bug Mail] 2003-06-02 21:10:42 UTC
> Does "Always use these fonts" mean "Use these fonts even if web pages
> specify other ones" ?

Yes
Comment 9 spark 2003-06-03 12:50:29 UTC
How about "Fixed Width" and "Variable Width" instead of Monospace and 
Proportional respectively?
Comment 10 Marco Pesenti Gritti 2003-06-15 00:09:17 UTC
Just to add some data to the discussion, this is what Safari does.
Dave, dont hate me please ;)

http://www.aplawrence.com/MacOSX/safari2.jpg
Comment 11 Marco Pesenti Gritti 2003-07-14 16:18:32 UTC
Created attachment 18279 [details]
Proposed design
Comment 12 Marco Pesenti Gritti 2003-07-14 16:25:47 UTC
Changes:

- Drop the serif/sans serif distinction
- Use default gnome font picker
- Drop minimum font size configuration. I'm really unsure about this
but ... wouldnt make sense to have a decent default ? I think it's
confusing because other prefs apply to the encoding and to the fonts
without a style specification, while this apply to all encodings and
all fonts.

I guess this could be a decent compromise between features/simplicity
for 1.0. And at least it allow us to use gnome file picker.
Comment 13 Marco Pesenti Gritti 2003-07-14 16:59:24 UTC
If we can get an agreement on this soon, I think it can get in 1.0.
The real problem is the serif/sans serif distinction, without dropping
it, I dunno how we could simplify the interface :/
The problem is the case where the style sheet specify sans-serif as
font. What font epiphany should use in that case ? The standard font ?
The fontconfig sans-serif alias ?

Obviously better design proposal would be welcome too.
Comment 14 Marco Pesenti Gritti 2003-08-05 18:25:52 UTC
*** Bug 113051 has been marked as a duplicate of this bug. ***
Comment 15 Jon Willeke 2003-08-13 05:48:00 UTC
The Bitstream Vera fonts are great.  Distributions should ship them as
the default, so users who are scared of the words "serif" and
"monospace" will never have to touch this preference, except to set
the size.  Users like me will be upset to find that it's difficult to
set the three basic CSS generic font families.

The Proportional field is slightly confusing.  Change its label to
"Default," or change the Serif and Sans serif labels to toggle
buttons, or put a radio button on the side.

Change "Monospace" to "Fixed width," if you must, but the CSS spec.
does use the term "monospace."  With the wide availability of Andale
Mono and Bitstream Vera Sans Mono, I think users will identify with
the term as well as with anything else.

Some web sites would be unusable without the Minimum font size field.
 I don't think you can hard code this to a "decent default."

The Language field is confusing, because it's not immediately obvious
that it toggles modality.  Replacing the Proportional drop-down list
with radio buttons may make this more clear.
Comment 16 Marco Pesenti Gritti 2003-09-01 13:22:41 UTC
Sorry for the spam. Reassigning bugs with a target to our next milestone.
Comment 17 Marco Pesenti Gritti 2003-09-02 11:01:53 UTC
Created attachment 19658 [details] [review]
First try to fix this (far from completed)
Comment 18 Marco Pesenti Gritti 2003-09-02 11:05:31 UTC
Implementation and behaviors details are here:

http://mozdev.org/pipermail/epiphany/2003-August/000267.html
Comment 19 Marco Pesenti Gritti 2003-09-02 11:06:27 UTC
Created attachment 19659 [details]
screenshot of the interface
Comment 20 Marco Pesenti Gritti 2003-09-02 11:07:31 UTC
Comments and suggestions would be very welcome, esp before I finish
implementing it ;)
Comment 21 Seth Nickell 2003-09-03 05:03:35 UTC
"Always use these fonts" is a little unclear. I had to think a while
to figure out what the alternative was... Might be better to say "Use
these fonts even when web pages specify other ones" or something to
that effect.
Comment 22 Marco Pesenti Gritti 2003-09-03 14:27:08 UTC
Seth, would "Ignore the fonts specified by the web page" work ?
I'm a bit worried the string you suggested in translations could
become too long. Other than that I certainly agree it's much better
than the current one.
I wonder if the colors one should be made similar too. It seem to be
unclear too:
http://bugzilla.gnome.org/show_bug.cgi?id=121118
Comment 23 Marco Pesenti Gritti 2003-09-08 17:27:53 UTC
Man mozilla sucks, no way to implement my plan with current api. This
is going to be a pain ... any suggestion on how to improve it without
require style sheets would be very useful.
I think a way to simplify it a lot would be to remove the distintction
between the two variable width families (serif and sans serif). That
would not be quite correct, but both IE and Safari doesnt have this
distinction ... any idea on how they behave ?
I'm not convinced encoding is necessary (the default just work anyway
because font config deal with it and if it's not a prob in GNOME I
dont see why it should be for epiphany).

Maybe we should start beautifying a bit current implementation and
keep current functionalities ... not really sure, no easy/good
solution here.
Comment 24 spark 2003-09-08 17:55:21 UTC
In IE, it appears to choose fonts for "serif" and "sans-serif" for you.
e.g. if i set my "web page font" to Arial, text in <font face="serif">
will still display in Times New Roman. The "web page font" is just a 
fallback for when no font is specified at all.

Note that IE also allows the user the specify a default style sheet,
which presumably is how you can change the default serif and sans-serif
fonts.
Comment 25 Marco Pesenti Gritti 2003-09-08 18:02:59 UTC
>In IE, it appears to choose fonts for "serif" and "sans-serif" for you.
>e.g. if i set my "web page font" to Arial, text in <font face="serif">
>will still display in Times New Roman. The "web page font" is just a 
>fallback for when no font is specified at all.

Prolly they use an user style sheet for this. Or anyway they do
something equivalent.

>Note that IE also allows the user the specify a default style sheet,
>which presumably is how you can change the default serif and >sans-serif
>fonts.

But a style sheet doesnt allow to change serif/sans serif right ? Just
to specify fonts for particular tags.
Comment 26 spark 2003-09-08 18:12:02 UTC
>But a style sheet doesnt allow to change serif/sans serif right ? Just
>to specify fonts for particular tags.

Sure you can - 

*[font-family="sans-serif"] {
  font-family: lucida-sans;
}

would change any text (the star matches everything) with the font 
family "sans-serif" to "lucida-sans".

Comment 27 Marco Pesenti Gritti 2003-09-09 21:40:19 UTC
I removed families confusion. I dont think we can remove per encoding
on the short time because of api problems (assuming we want). We can
surely improve it more but I think it's already a lot more sane now.
Comment 28 spark 2004-01-07 23:10:26 UTC
marco, what extra stuff were you thinking about for further simplifying
fonts prefs?
Comment 29 Marco Pesenti Gritti 2004-01-26 18:39:06 UTC
I think 1.1 design is acceptably simpler. If there are other things
that could be improved/simplified please open a bug.