فهرست منبع

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

Book Pauk 6 سال پیش
والد
کامیت
c30cf67b50

+ 6 - 0
client/components/App.vue

@@ -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>

+ 2 - 1
client/components/Reader/TextPage/TextPage.vue

@@ -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


BIN
client/components/fonts/geo_1.woff