Projet

Général

Profil

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

Serghei Mihai (congés, retour 15/05), 13 juillet 2018 00:17

Télécharger (171 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-BoldItalic.otf | Bin 0 -> 69068 bytes
 static/fonts/Bitter/Bitter-Italic.otf     | Bin 0 -> 66852 bytes
 static/fonts/Bitter/Bitter-Regular.otf    | Bin 0 -> 68836 bytes
 static/includes/_font-bitter.scss         |  15 +++++++++++++++
 6 files changed, 23 insertions(+)
 create mode 100644 static/fonts/Bitter/Bitter-Bold.otf
 create mode 100644 static/fonts/Bitter/Bitter-BoldItalic.otf
 create mode 100644 static/fonts/Bitter/Bitter-Italic.otf
 create mode 100644 static/fonts/Bitter/Bitter-Regular.otf
 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 asap-font($type, $weight, $style) {
4
	@font-face {
5
		font-family: 'Bitter-#{$type}';
6
		src: url('#{$bitter-font-path}/Bitter-#{$type}.otf') format('opentype');
7
		font-weight: $weight;
8
		font-style: $style;
9
	}
10
}
11

  
12
@include asap-font('Regular', 400, normal);
13
@include asap-font('BoldItalic', 700, italic);
14
@include asap-font('Italic', 400, italic);
15
@include asap-font('Bold', 700, normal);
0
-