misc: distribute Bitter font (#25260)

This commit is contained in:
Serghei Mihai 2018-07-12 22:35:07 +02:00
parent cf1080500b
commit 2646339ccf
14 changed files with 25 additions and 0 deletions

8
README
View File

@ -79,6 +79,14 @@ copyright notices:
#
# https://www.fontsquirrel.com/license/oswald
* Bitter font
# Copyright (c) 2011, Sol Matas (www.huertatipografica.com.ar),
# with Reserved Font Name “Bitter”
#
# This Font Software is licensed under the SIL Open Font License, Version 1.1.
#
# https://www.fontsquirrel.com/license/bitter
~~~~
Some theme variant files have their own specific licenses; refer to

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,17 @@
$bitter-font-path: '../fonts/Bitter' !default;
@mixin bitter-font($type, $weight, $style) {
@font-face {
font-family: 'Bitter';
src: url('#{$bitter-font-path}/Bitter-#{$type}.woff2') format('woff2'),
url('#{$bitter-font-path}/Bitter-#{$type}.woff') format('woff'),
url('#{$bitter-font-path}/Bitter-#{$type}.otf') format('opentype');
font-weight: $weight;
font-style: $style;
}
}
@include bitter-font('Regular', 400, normal);
@include bitter-font('BoldItalic', 700, italic);
@include bitter-font('Italic', 400, italic);
@include bitter-font('Bold', 700, normal);