Разборки со шрифтами

This commit is contained in:
Book Pauk
2019-01-26 10:19:45 +07:00
parent e566fa606b
commit c32a12e61f
4 changed files with 7 additions and 7 deletions

View File

@@ -281,11 +281,6 @@ body, html, #app {
url('fonts/roboto.ttf') format('truetype');
}
@font-face {
font-family: 'Archivo';
src: url('fonts/archivo.woff2') format('woff2');
}
@font-face {
font-family: 'Rubik';
src: url('fonts/rubik.woff2') format('woff2');
@@ -297,4 +292,9 @@ body, html, #app {
url('fonts/avrile.ttf') format('truetype');
}
@font-face {
font-family: 'Arimo';
src: url('fonts/arimo.woff2') format('woff2');
}
</style>

View File

@@ -102,9 +102,9 @@ class TextPage extends Vue {
ReaderDefault: 0,
Roboto: 0,
OpenSans: 0,
Archivo: 0,
Rubik: 0,
Avrile: -10,
Arimo: 0,
}
if (!this.fontShifts.hasOwnProperty(this.fontName))
this.fontShifts[this.fontName] = this.fontVertShift;
@@ -235,7 +235,7 @@ class TextPage extends Vue {
this.backgroundColor = '#478355';
this.fontStyle = '';// 'bold','italic'
this.fontSize = 35;// px
this.fontName = 'Archivo';
this.fontName = 'Arimo';
this.fontCssUrl = '';
this.fontVertShift = 0;

Binary file not shown.