Добавил шрифт geo_1
This commit is contained in:
@@ -297,4 +297,10 @@ body, html, #app {
|
||||
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>
|
||||
|
||||
@@ -105,6 +105,7 @@ class TextPage extends Vue {
|
||||
Rubik: 0,
|
||||
Avrile: -10,
|
||||
Arimo: 0,
|
||||
GEO_1: 10,
|
||||
}
|
||||
if (!this.fontShifts.hasOwnProperty(this.fontName))
|
||||
this.fontShifts[this.fontName] = this.fontVertShift;
|
||||
@@ -235,7 +236,7 @@ class TextPage extends Vue {
|
||||
this.backgroundColor = '#478355';
|
||||
this.fontStyle = '';// 'bold','italic'
|
||||
this.fontSize = 35;// px
|
||||
this.fontName = 'Arimo';
|
||||
this.fontName = 'GEO_1';
|
||||
this.fontCssUrl = '';
|
||||
this.fontVertShift = 0;
|
||||
|
||||
|
||||
BIN
client/components/fonts/geo_1.ttf
Normal file
BIN
client/components/fonts/geo_1.ttf
Normal file
Binary file not shown.
BIN
client/components/fonts/geo_1.woff
Normal file
BIN
client/components/fonts/geo_1.woff
Normal file
Binary file not shown.
Reference in New Issue
Block a user