#Wiki hosted fonts issue

1 messages · Page 1 of 1 (latest)

elder perch
#

First picture is how it looks right now and second is how it looked like 5 seconds after i added the line of code into the common.css

Here is the common.css code for fonts:

@font-face {
font-family: 'Thes';
src: url('https://static.wikitide.net/rukvadaenwiki/8/86/ThesAbudigaRegular.woff') format('woff'); }

@font-face {
font-family: 'Okore';
src: url('https://static.wikitide.net/rukvadaenwiki/e/e3/Okore_Regular.woff') format('woff'); }

@font-face {
font-family: 'Treti';
src: url('https://static.wikitide.net/rukvadaenwiki/f/f6/TretiRegular.woff') format('woff'); }

@font-face {
font-family: 'Wun';
src: url('https://static.wikitide.net/rukvadaenwiki/c/c4/Wun.woff') format('woff'); }

@font-face {
font-family: 'Sker';
src: url('https://static.wikitide.net/rukvadaenwiki/e/e4/Sker_Regular.ttf') format('ttf'); }

@font-face {
font-family: 'Sulari';
src: url('https://static.wikitide.net/rukvadaenwiki/f/f4/Sulawengi_Regular.woff') format('woff'); }

@font-face {
font-family: 'Gablerique';
src: url('https://static.wikitide.net/rukvadaenwiki/1/10/Uidean_Grotesk.woff') format('woff'); }

@font-face {
font-family: 'Ugzana';
src: url('https://static.wikitide.net/rukvadaenwiki/2/2b/Ugzana.ttf') format('ttf'); }

@font-face {
font-family: 'Nuwigilj';
src: url('https://static.wikitide.net/rukvadaenwiki/5/58/Nuwigilj.ttf') format('ttf'); }

All of the previous fonts always took a little time to appear but they always did, and more importantly, never disappeared! I have no idea what causes this, espically knowing that it affects all of my fonts now :(

hoary yarrow
#

i'm guessing the font is not supposed to look like that, huh

elder perch
#

i included two pictures, one without the font (how it looks right now :( ) and the second is how it should look

hoary yarrow
#

then you might wanna add the fonts back to common.css?

elder perch
#

i'm gonna try again

elder perch
#

i just added it back

#

waiting for it to refresh because when i do a hard refresh it doesn't do anything

hoary yarrow
#

@elder perch i have a feeling it might be the format, .ttf files are of the truetype format

elder perch
#

i should get all of them into woff?

#

im gonna try that

#

there's only two of them which are ttf so

#

and i didn't really had issues with the first one

hoary yarrow
elder perch
#

okay

hoary yarrow
#

although ig woff is more optimized if you do feel like that

#

imo it wont really affect much though

elder perch
#

ok i changed it in the code, waiting for it to refresh

#

tried force refresh, still don't work with that

hoary yarrow
#

works for me with ?debug=2

#

might need to force refresh with debug lol

#

caching is weird

elder perch
#

i mean for now ig

#

i might have to make truetype > opentype maybe

#

this specific font have contextual ligatures

hoary yarrow
elder perch
#

nice

hoary yarrow
#

like 30 min at most

elder perch
#

wuld you recommand me to replace truetype by opentype or should i keep it like it is already? Also, thank you so much for your help 🙏

#

it is very much appreciated

hoary yarrow
#

if you wanna optimize the loading times just a tiny little bit, you can use the woff format
i'm not sure how compatible it would be with ligatures though

elder perch
#

i know the ligatures work because in the preview i viewed when it first worked i had some as exemples in the article and they worked

#

IT WORKS

#

🎉