harfbuzz / rustybuzz

A complete harfbuzz's shaping algorithm port to Rust
MIT License
551 stars 37 forks source link

Does rusty buzz support variable fonts? #53

Closed wdanilo closed 2 years ago

wdanilo commented 2 years ago

Hi! I'm using rustybuzz both with variable and non-variable fonts. For non-variable ones, I got nice results:

image

However, for non-variable font (mplus1), the same code gives me this:

image

Is this a known issue/limitation? I can provide the link to the source code if needed.

wdanilo commented 2 years ago

Hmm, sorry for opening and closing it fast, it might be an issue with our implementation of layouting non-monospaced fonts. I'll check it out and re-open if needed.

RazrFalcon commented 2 years ago

No problem. And yes, we do fully support variable fonts.