Skip to content
  • Adrián Pérez de Castro's avatar
    Use "font: menu" to obtain the system interface font in CSS · eafd7234
    Adrián Pérez de Castro authored and Michael Catanzaro's avatar Michael Catanzaro committed
    This uses "font: menu" rules to pick the font configured to be used by GTK+
    instead of hardcoding the "Cantarell" value.
    
    Note that the CSS spec mandates that when "font: menu" is to be used, no
    other properties (e.g. font size) can be specified as part of the "font"
    attribute, and "font-size" attributes had to be added to change sizes.
    
    This makes the following pages which are displayed by Epiphany inside
    web views use the same font as the rest of GTK+:
    
      - New tab/window overview page.
      - Error pages.
      - about:
      - about:plugins
      - about:applications
    
    Fixes bug #783489
    eafd7234