Projet

Général

Profil

0001-misc-distribute-Bitter-font-25260.patch

Serghei Mihai (congés, retour 15/05), 18 juillet 2018 09:57

Télécharger (444 ko)

Voir les différences:

Subject: [PATCH] misc: distribute Bitter font (#25260)

 README                                      |   8 ++++++++
 static/fonts/Bitter/Bitter-Bold.otf         | Bin 0 -> 64880 bytes
 static/fonts/Bitter/Bitter-Bold.woff        | Bin 0 -> 28536 bytes
 static/fonts/Bitter/Bitter-Bold.woff2       | Bin 0 -> 22152 bytes
 static/fonts/Bitter/Bitter-BoldItalic.otf   | Bin 0 -> 69068 bytes
 static/fonts/Bitter/Bitter-BoldItalic.woff  | Bin 0 -> 31092 bytes
 static/fonts/Bitter/Bitter-BoldItalic.woff2 | Bin 0 -> 24296 bytes
 static/fonts/Bitter/Bitter-Italic.otf       | Bin 0 -> 66852 bytes
 static/fonts/Bitter/Bitter-Italic.woff      | Bin 0 -> 30816 bytes
 static/fonts/Bitter/Bitter-Italic.woff2     | Bin 0 -> 24164 bytes
 static/fonts/Bitter/Bitter-Regular.otf      | Bin 0 -> 68836 bytes
 static/fonts/Bitter/Bitter-Regular.woff     | Bin 0 -> 29728 bytes
 static/fonts/Bitter/Bitter-Regular.woff2    | Bin 0 -> 23252 bytes
 static/includes/_font-bitter.scss           |  17 +++++++++++++++++
 14 files changed, 25 insertions(+)
 create mode 100644 static/fonts/Bitter/Bitter-Bold.otf
 create mode 100644 static/fonts/Bitter/Bitter-Bold.woff
 create mode 100644 static/fonts/Bitter/Bitter-Bold.woff2
 create mode 100644 static/fonts/Bitter/Bitter-BoldItalic.otf
 create mode 100644 static/fonts/Bitter/Bitter-BoldItalic.woff
 create mode 100644 static/fonts/Bitter/Bitter-BoldItalic.woff2
 create mode 100644 static/fonts/Bitter/Bitter-Italic.otf
 create mode 100644 static/fonts/Bitter/Bitter-Italic.woff
 create mode 100644 static/fonts/Bitter/Bitter-Italic.woff2
 create mode 100644 static/fonts/Bitter/Bitter-Regular.otf
 create mode 100644 static/fonts/Bitter/Bitter-Regular.woff
 create mode 100644 static/fonts/Bitter/Bitter-Regular.woff2
 create mode 100644 static/includes/_font-bitter.scss
README
79 79
  #
80 80
  # https://www.fontsquirrel.com/license/oswald
81 81

  
82
* Bitter font
83
  # Copyright (c) 2011, Sol Matas (www.huertatipografica.com.ar),
84
  # with Reserved Font Name “Bitter”
85
  #
86
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
87
  #
88
  # https://www.fontsquirrel.com/license/bitter
89

  
82 90
~~~~
83 91

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

  
3
@mixin bitter-font($type, $weight, $style) {
4
    @font-face {
5
        font-family: 'Bitter';
6
        src: url('#{$bitter-font-path}/Bitter-#{$type}.woff2') format('woff2'),
7
             url('#{$bitter-font-path}/Bitter-#{$type}.woff') format('woff'),
8
             url('#{$bitter-font-path}/Bitter-#{$type}.otf') format('opentype');
9
        font-weight: $weight;
10
        font-style: $style;
11
    }
12
}
13

  
14
@include bitter-font('Regular', 400, normal);
15
@include bitter-font('BoldItalic', 700, italic);
16
@include bitter-font('Italic', 400, italic);
17
@include bitter-font('Bold', 700, normal);
0
-