-
AuthorPosts
-
August 17, 2022 at 1:38 am #1361881
Hi, I uploaded a font with multiple variants via the font manager import within Enfold. I then selected the upload font within the General Style section under the “Heading Font” and “Font For Your Body Text” sections. When I go to the website, all paragraph text is italicized and thin instead of using the regular variant. If I upload only the regular variant as a single font then the text looks correct.
I’m using the Metropolis font and I noticed that the font Metropolis-ThinItalic.ttf is the last variant listed in the zip folder I am uploading. This is the variant Enfold is using for just regular text so everything becomes thin and italicized.
What is causing the text to be italicized automatically? Is Enfold just using Metropolis-ThinItalic.ttf as the default font instead of regular? I was assuming the regular font variant would be the default, but maybe I am mistaken? Any help would be appreciated. Thanks!
August 17, 2022 at 3:01 am #1361889Hey CodeSamurai,
Thank you for the inquiry.
Please note that the font manager is intended for Google Fonts and is created based on the file structure (file names, folder) provided by the platform. It is possible that the file names and folder structure of the zip file that you are uploading are different, which is probably why the theme can’t recognize the font variants properly. You may need to choose a different font from Google.
Best regards,
IsmaelAugust 17, 2022 at 3:13 am #1361890Hi Ismael,
Thank you for the quick response. The font I’m using was provided by a designer and I’m not sure where they downloaded it. The file structure and naming looks correct. What I’m doing is zipping up all the fonts into one folder and uploading that folder. When I look for the font in Google fonts, it does not exist. Since this font didn’t come from Google it’s possible I can’t use it then?
I’m not sure if this helps but in the private content area I am sharing a link to the font I am using. It’s a zip file and its the same zip file I’m trying to upload to the website. Would you be able to take a look and see if there are any problems with this upload? Am I just stuck since the font didn’t come from Google?
Thanks!
August 19, 2022 at 12:57 pm #1362168Hi,
Thank you for your patience and the link to your font file, each font file should be uploaded as a zip file individually, the variants for this font seem a little odd as each one only has one font-weight and when they are all uploaded together they are all combined in the Custom Font Manager, I assume that the headers in the font files themselves are not quite correct. But I tested uploading them individually and this worked correctly, below I linked to a DropBox folder with all of the zip files I tested:
Best regards,
MikeAugust 19, 2022 at 7:23 pm #1362209every font that has to be loaded reduces the performance of your page. Therefore I would leave the rendering of italic font styles to the browser.
Since most browsers now support woff and woff2, I would only put these in the zip files.by the way mike – how did you get the correct font-weight numbers to those uploaded files ( black : 900 etc. )
where do you generate the web font files ?
OK: transfonter.org is in this case better – it leaves the font-weight as it is.August 19, 2022 at 9:04 pm #1362234Hi,
Guenni007, thanks for your input, the font-weight was automatically generated by the .ttf files, there are no .woff and .woff2 files for this font, which was downloaded from an unknown source and created by an unknown author.
Typically you would be correct, but in this case the files didn’t seem normal so this was a workaround.Best regards,
MikeAugust 19, 2022 at 9:22 pm #1362240well at 1001 fonts – there is a source for it to download as otf files
uploading this to fontsquirell leads to files that only got the 400 as font-weight info.
The transfonter.org does a better job.and please do not upload each font-style and font-weight separatly !
https://kriesi.at/support/topic/font-weights-all-400-when-importing-font-file/#post-1362386 -
AuthorPosts
- You must be logged in to reply to this topic.