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 328499 - Font preferences improvements
Font preferences improvements
Status: RESOLVED OBSOLETE
Product: epiphany
Classification: Core
Component: Interface
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Epiphany Maintainers
Marco Pesenti Gritti
Depends on: 317343
Blocks:
 
 
Reported: 2006-01-24 23:36 UTC by Wouter Bolsterlee (uws)
Modified: 2013-02-12 19:42 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Wouter Bolsterlee (uws) 2006-01-24 23:36:13 UTC
The revamped font preferences dialog, providing a simple "Fonts and
style" tab in the main Preference dialog and a "Detailed Font
Settings" dialog, does not allow me to set a default font face for
serif and sans-serif fonts.

I suggest the following layout for the "Detailed Font Settings"
dialog (ascii art rocks!):

  +----------- Detailed font settings -----------+
  | For language:       [Western]                |
  +----------------------------------------------+
  | Default style:      [Serif/Sans-serif]       |
  | Serif font:         [Minion Web Pro | 10 ]   |
  | Sans-serif font:    [Myriad Web Pro | 11 ]   |
  | Fixed width font:   [monospace      | 10 ]   |
  |                                              |
  | Minimum size:       [7 pt]                   |
  |                                              |
  | [Help]                             [Close]   |
  +----------------------------------------------+

In words:
- a simple dropdown menu for the default style: serif or sans-serif
- three GTK font chooser buttons (not the dropdown and the entry)
  to pick the right font faces (a GTK font chooser dialog should be
  used here, the current list is horrible) and the right sizes.
- a minimum point size preference. This could be the spinner widget
  that is already used.
Comment 1 Christian Persch 2006-01-24 23:43:46 UTC
Using gtk font chooser buttons is bug 317343.
Comment 2 Wouter Bolsterlee (uws) 2006-01-24 23:48:00 UTC
Okay, but the splitting of serif and sans-serif preferences is a separate issue, I think.
Comment 3 Reinout van Schouwen 2006-01-25 15:36:43 UTC
We had a separate setting for serif and sans serif at some point, but it was decided to remove it. I don't quite remember the reason why though...
Comment 4 Reinout van Schouwen 2006-01-25 15:45:58 UTC
The issue was discussed in bug 114228.
Comment 5 Wouter Bolsterlee (uws) 2006-01-25 18:45:21 UTC
I don't think there was good reason to remove the distinction other than "it clutters the interface". Since we now have a dialog for advanced settings and setting difference faces for serif and sans-serif fonts is *really* a basic browser preference, I'm still completely in favor of the interface as outline in my original bug report (the ascii art dialog mockup).

On a related note: there's been some discussion on a "Document font" preference in all of GNOME. That would be rocking cool too. Epiphany could then use the Document font as a default, although I think Epiphany would still need separate serif and sans-serif preferences.

Good CSS stylesheets (it's recommended in the CSS 2.2 spec) should *always* list a generic name at then end of all font-family declarations. Epiphany should really know how to handle these in case the fonts that are listed earlier in the font-family declaration are not available.
Comment 6 Diego Escalante Urrelo (not reading bugmail) 2012-12-11 15:20:40 UTC
What do you think of this now?
Comment 7 Wouter Bolsterlee (uws) 2013-02-12 19:42:57 UTC
I think this is obsolete. Ephy 3.4 has separate settings for serif, sans-serif, and monospace fonts.