0001-fonts-include-Cantarell-26469.patch
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 |
- |