Ver Fonte

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

Book Pauk há 6 anos atrás
pai
commit
c32a12e61f

+ 5 - 5
client/components/App.vue

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

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

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

BIN
client/components/fonts/archivo.woff2


BIN
client/components/fonts/arimo.woff2