Skip to content

How to load (and use) italic fonts? #433

Open

Description

@nuthinking

I'm trying to load Lora both normal and italic at different weights.

Normal font can be loaded using the family Lora:400,... shouldn't the italic version be loaded using Lora:italic:400,...?

Doing so I receive http error net::ERR_ABORTED 400. I tried appending :italic, :ital and :i.

I can see weights and style can be concatenated (i.e. bi) but in my case I would prefer to define the weights as numbers. Is there a way to concatenate weight numbers with style?

Activity

  1. nuthinking commented on Jul 22, 2020

    @nuthinking
    Author

    Looks like this syntax works: Lora:italic,400

  2. gillisig commented on Feb 7, 2021

    @gillisig

    I had the same issue, Lora:italic,400 did not work for me, however it seems that Lora:400italic works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions