Projet

Général

Profil

0001-fonts-include-Cantarell-26469.patch

Frédéric Péters, 17 septembre 2018 14:26

Télécharger (134 ko)

Voir les différences:

Subject: [PATCH] fonts: include Cantarell (#26469)

 README                                          |   8 ++++++++
 .../fonts/Cantarell/Cantarell-Bold-webfont.woff | Bin 0 -> 25668 bytes
 .../Cantarell-BoldOblique-webfont.woff          | Bin 0 -> 27336 bytes
 .../Cantarell/Cantarell-Oblique-webfont.woff    | Bin 0 -> 26168 bytes
 .../Cantarell/Cantarell-Regular-webfont.woff    | Bin 0 -> 24460 bytes
 static/includes/_font-cantarell.scss            |  15 +++++++++++++++
 6 files changed, 23 insertions(+)
 create mode 100644 static/fonts/Cantarell/Cantarell-Bold-webfont.woff
 create mode 100644 static/fonts/Cantarell/Cantarell-BoldOblique-webfont.woff
 create mode 100644 static/fonts/Cantarell/Cantarell-Oblique-webfont.woff
 create mode 100644 static/fonts/Cantarell/Cantarell-Regular-webfont.woff
 create mode 100644 static/includes/_font-cantarell.scss
README
87 87
  #
88 88
  # https://www.fontsquirrel.com/license/bitter
89 89

  
90
* Cantarell font
91
  # Copyright © 2009-2011, Understanding Limited <dave@understandinglimited.com>
92
  # Copyright © 2010-2011, Jakub Steiner <jimmac@gmail.com>
93
  #
94
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
95
  #
96
  # https://gitlab.gnome.org/GNOME/cantarell-fonts/blob/master/COPYING
97

  
90 98
~~~~
91 99

  
92 100
Some theme variant files have their own specific licenses; refer to
static/includes/_font-cantarell.scss
1
$cantarell-font-path: '../fonts/Cantarell' !default;
2

  
3
@mixin cantarell-font($type, $weight, $style: normal) {
4
    @font-face {
5
        font-family: 'Cantarell';
6
        src: url('#{$cantarell-font-path}/Cantarell-#{$type}-webfont.woff') format('woff');
7
        font-weight: $weight;
8
        font-style: $style;
9
    }
10
}
11

  
12
@include cantarell-font('Regular', 400);
13
@include cantarell-font('Oblique', 400, italic);
14
@include cantarell-font('Bold', 700);
15
@include cantarell-font('BoldOblique', 700, italic);
0
-