Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

easy fonts

  • This topic has 4 replies, 2 voices, and was last updated 2 months, 4 weeks ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #11153
    Avatar photowritep

     

    I went through the very interesting thread: https://forum.getpublii.com/topic/where-should-the-font-files-be-put-if-self-host-google-fonts/

    It’s a bit too technical for me though, and might be superseded by the docs: https://getpublii.com/docs/fonts.html

    Splendid fonts are self hosted automatically 😀

    However, there is this one font I’d really like to use which is not in the list 😯

    Where should I put the font file for it to be shown in the section: custom settings > fonts

    Thanks!

    #11154
    Avatar photoBob

    Check out this doc https://getpublii.com/docs/fonts.html#adding-custom-font

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11156
    Avatar photowritep
    Bob wrote:

    Check out this doc https://getpublii.com/docs/fonts.html#adding-custom-font

    And I did look at that page … 😯 How could I have missed it! Thank you!

    #11158
    Avatar photowritep

    I presume from what I read when a font has italic, bold, bolditalic and regular versions one uses the regular version only?

    Additional question: how does one find the font weight? I think I understand “regular” is normally 400 and “bold” is normally 700, but I am way out of my depth here!

    #11159
    Avatar photoBob

    Read a bit about variable fonts and everything will become clear 🙂

    Variable fonts are a type of font that allows for multiple variations of a typeface within a single font file. This technology enables a significant reduction in file size compared to having separate files for each style. Variable fonts can include variations in weight, width, slant, and other attributes, all controllable via CSS.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

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