Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nuthinking opened this issue Jul 6, 2020 · 2 comments
Open

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

nuthinking opened this issue Jul 6, 2020 · 2 comments

Comments

@nuthinking
Copy link

nuthinking commented Jul 6, 2020

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?

@nuthinking
Copy link
Author

Looks like this syntax works: Lora:italic,400

@gillisig
Copy link

gillisig commented Feb 7, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants