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 735593 - Implement CSS font-stretch property
Implement CSS font-stretch property
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2014-08-28 11:54 UTC by Emmanuele Bassi (:ebassi)
Modified: 2014-08-28 12:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
css: Implement font-stretch (13.47 KB, patch)
2014-08-28 11:54 UTC, Emmanuele Bassi (:ebassi)
committed Details | Review

Description Emmanuele Bassi (:ebassi) 2014-08-28 11:54:38 UTC
This is needed so that Adwaita can drop some "font: condensed bold 9" font descriptions.
Comment 1 Emmanuele Bassi (:ebassi) 2014-08-28 11:54:41 UTC
Created attachment 284684 [details] [review]
css: Implement font-stretch

The font-stretch CSS property is defined in the Level 3 CSS Fonts
module, available at:

  http://dev.w3.org/csswg/css-fonts/#propdef-font-stretch

It allows defining a normal, condensed, or expanded face to the font
description. Pango already supports it, so this is literally just the
CSS parser machinery needed to bridge our CSS to the FontDescription
API.
Comment 2 Benjamin Otte (Company) 2014-08-28 11:57:36 UTC
Comment on attachment 284684 [details] [review]
css: Implement font-stretch

Yup.
Comment 3 Emmanuele Bassi (:ebassi) 2014-08-28 12:42:34 UTC
Attachment 284684 [details] pushed as 5ad60ca - css: Implement font-stretch