Skip to content
Discussion options

You must be logged in to vote

Hi!

For the first issue, features = [] does not disable the default OpenType shaping features. In the current Rio configuration, you can explicitly disable ligatures by prefixing the feature tags with -.

For example:

[fonts]
features = ["-calt", "-liga"]

-calt disables contextual alternates and -liga disables standard ligatures. This is now supported by Rio's font shaping implementation.

So if the goal is to get completely non-ligated text, I would start with those two settings.

For the second issue, yes, the weight property is supported in the current syntax and can be configured independently for each font slot. For example:

[fonts.regular]
family = "Your Font"
weight = 400

[fonts.bold]
…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by miullu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants