0001-misc-distribute-Bitter-font-25260.patch
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 |
- |