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 751836 - "Sans" family is a deprecated name for "Sans-serif"
"Sans" family is a deprecated name for "Sans-serif"
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Data
git master
Other All
: Normal normal
: 2.10
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2015-07-02 13:15 UTC by Jehan
Modified: 2015-10-02 11:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Font alias sans becomes sans-serif. (3.36 KB, patch)
2015-07-02 13:15 UTC, Jehan
none Details | Review

Description Jehan 2015-07-02 13:15:29 UTC
Created attachment 306617 [details] [review]
Font alias sans becomes sans-serif.

If you check fontconfig code, you notice that "Sans" is a deprecated alias. The real standard name is "Sans-serif".

See fonts.conf.in in fontconfig repository:

> <!--
>  Accept deprecated 'sans' alias, replacing it with 'sans-serif'
> -->

The attached patch make the change.

The only slight annoyance is that if you used the alias "Sans" in a text layer, it will now be red (with bubble message saying that the font "Sans" is unavailable) but since it will use the new default instead, which is "Sans-serif" and happens to be the same, well it is not a real problem.
Comment 1 Jehan 2015-07-12 12:08:45 UTC
commit 6f81975bdaf32634c13a219548ba9d851e94b3d7
Author: Jehan <jehan@girinstud.io>
Date:   Thu Jul 2 15:12:57 2015 +0200

    Bug 751836: font alias "sans" deprecated in fontconfig…
    
    …to be replaced by "sans-serif".