Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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!

    #1361889

    Hey 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,
    Ismael

    #1361890

    Hi 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!

    #1362168

    Hi,
    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:
    2022-08-19_001.jpg
    2022-08-19_002.jpg

    Best regards,
    Mike

    #1362209

    every 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.

    #1362234

    Hi,
    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,
    Mike

    #1362240

    well 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

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.