Hi there,
I’m hoping someone might be able to help me here again. It is driving me crazy and I think I have tried everything, but no solution is working.
I have loaded my fonts in the assets folder as woff and woff2. I have checked that the font files do in fact have the glyphs i require in FontDrop!
I have gone into every css area that i can think of to update the file as:
font-family: ‘August Roma Serif’;
unicode-range: U+01DD, U+018F;
and yet it still doesn’t upload the correctg font for the “ə” I need in ə’serdiv
I have attached the image to see if someone might be able to help with the correct code i would need to make this work?

-
Make sure your fonts are correctly loaded in your CSS file you should use the @font-face rule to define the font and include the unicode-range for the specific glyph
Define the font-face in your theme’s CSS file liek thsi
@font-face {
font-family: 'August Roma Serif';
src: url('{{ "august-roma-serif.woff2" | asset_url }}') format('woff2'),
url('{{ "august-roma-serif.woff" | asset_url }}') format('woff');
unicode-range: U+018F, U+0259;
}
.custom-font {
font-family: 'August Roma Serif', serif;
}
.custom-font-specific {
font-family: 'August Roma Serif', serif;
}
.custom-font-specific:before {
content: "ə";
font-family: 'August Roma Serif', serif;
}
replaceing the font-face code with this. new code and the URLs seems to turn off the font entirely and default to my other font “Addington”
I wanted to come in here and tell you that although the coding didn’t work for me, it was your amendment to the UNI code that got me thinking that i have not uploaded the correct glyph. Once I updated the woff file with the U+0259 and changed all my codes from U+01DD to your glyph, everything worked! So thank you so much!!
This problem has had me tearing my hair our for like 3 months!
1 Like