Добавил шрифт geo_1

This commit is contained in:
Book Pauk
2019-01-26 11:12:54 +07:00
parent c32a12e61f
commit c30cf67b50
4 changed files with 8 additions and 1 deletions

View File

@@ -297,4 +297,10 @@ body, html, #app {
src: url('fonts/arimo.woff2') format('woff2'); src: url('fonts/arimo.woff2') format('woff2');
} }
@font-face {
font-family: 'GEO_1';
src: url('fonts/geo_1.woff') format('woff'),
url('fonts/geo_1.ttf') format('truetype');
}
</style> </style>

View File

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

Binary file not shown.

Binary file not shown.