Projet

Général

Profil

0001-import-Montserrat-font-face-27054.patch

Frédéric Péters, 06 octobre 2018 14:41

Télécharger (962 ko)

Voir les différences:

Subject: [PATCH] import Montserrat font face (#27054)

https://www.fontsquirrel.com/fonts/montserrat
 README                                        |   8 +++++++
 .../Montserrat/montserrat-bold-webfont.woff   | Bin 0 -> 34732 bytes
 .../Montserrat/montserrat-bold-webfont.woff2  | Bin 0 -> 27468 bytes
 .../montserrat-bolditalic-webfont.woff        | Bin 0 -> 36856 bytes
 .../montserrat-bolditalic-webfont.woff2       | Bin 0 -> 28960 bytes
 .../Montserrat/montserrat-light-webfont.woff  | Bin 0 -> 34300 bytes
 .../Montserrat/montserrat-light-webfont.woff2 | Bin 0 -> 27072 bytes
 .../montserrat-lightitalic-webfont.woff       | Bin 0 -> 37280 bytes
 .../montserrat-lightitalic-webfont.woff2      | Bin 0 -> 29604 bytes
 .../Montserrat/montserrat-medium-webfont.woff | Bin 0 -> 34440 bytes
 .../montserrat-medium-webfont.woff2           | Bin 0 -> 27252 bytes
 .../montserrat-mediumitalic-webfont.woff      | Bin 0 -> 37132 bytes
 .../montserrat-mediumitalic-webfont.woff2     | Bin 0 -> 29344 bytes
 .../montserrat-regular-webfont.woff           | Bin 0 -> 34460 bytes
 .../montserrat-regular-webfont.woff2          | Bin 0 -> 27268 bytes
 .../montserrat-regularitalic-webfont.woff     | Bin 0 -> 37280 bytes
 .../montserrat-regularitalic-webfont.woff2    | Bin 0 -> 29484 bytes
 .../montserrat-semibold-webfont.woff          | Bin 0 -> 33812 bytes
 .../montserrat-semibold-webfont.woff2         | Bin 0 -> 26728 bytes
 .../montserrat-semibolditalic-webfont.woff    | Bin 0 -> 36440 bytes
 .../montserrat-semibolditalic-webfont.woff2   | Bin 0 -> 28752 bytes
 .../Montserrat/montserrat-thin-webfont.woff   | Bin 0 -> 30780 bytes
 .../Montserrat/montserrat-thin-webfont.woff2  | Bin 0 -> 24156 bytes
 .../montserrat-thinitalic-webfont.woff        | Bin 0 -> 34160 bytes
 .../montserrat-thinitalic-webfont.woff2       | Bin 0 -> 26832 bytes
 static/includes/_font-montserrat.scss         |  20 ++++++++++++++++++
 26 files changed, 28 insertions(+)
 create mode 100644 static/fonts/Montserrat/montserrat-bold-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-bold-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-bolditalic-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-bolditalic-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-light-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-light-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-lightitalic-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-lightitalic-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-medium-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-medium-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-mediumitalic-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-mediumitalic-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-regular-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-regular-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-regularitalic-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-regularitalic-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-semibold-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-semibold-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-semibolditalic-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-semibolditalic-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-thin-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-thin-webfont.woff2
 create mode 100644 static/fonts/Montserrat/montserrat-thinitalic-webfont.woff
 create mode 100644 static/fonts/Montserrat/montserrat-thinitalic-webfont.woff2
 create mode 100644 static/includes/_font-montserrat.scss
README
111 111
  #
112 112
  # https://www.fontsquirrel.com/license/Titillium
113 113

  
114
* Montserrat font
115
  # Copyright 2011 The Montserrat Project Authors
116
  # (https://github.com/JulietaUla/Montserrat)
117
  #
118
  # This Font Software is licensed under the SIL Open Font License, Version 1.1.
119
  #
120
  # https://www.fontsquirrel.com/license/montserrat
121

  
114 122
~~~~
115 123

  
116 124
Some theme variant files have their own specific licenses; refer to
static/includes/_font-montserrat.scss
1
@mixin montserrat-font($type, $weight, $style) {
2
	@font-face {
3
		font-family: 'Montserrat';
4
		src: url('../fonts/Montserrat/montserrat-#{$type}-webfont.woff2') format('woff2'),
5
		     url('../fonts/Montserrat/montserrat-#{$type}-webfont.woff') format('woff');
6
		font-weight: $weight;
7
		font-style: $style;
8
	}
9
}
10

  
11
@mixin montserrat-font-pair($type, $weight) {
12
	@include montserrat-font($type, $weight, normal);
13
	@include montserrat-font('#{$type}italic', $weight, italic);
14
}
15

  
16
@include montserrat-font-pair('thin', 100);
17
@include montserrat-font-pair('light', 300);
18
@include montserrat-font-pair('regular', 400);
19
@include montserrat-font-pair('semibold', 600);
20
@include montserrat-font-pair('bold', 700);
0
-