-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
Description
As @art-w noted in his PR that brought Cairo support for Vg:
While Cairo is able to render text, it's intended to be used with Pango (which isn't binded with OCaml at this time). Hence, the text API is severely lacking: Beside not using the glyphs infos provided by Vg, the most striking offense is that the weights are limited to Normal and Bold (arbitrarily chosen at W600.)
The thing is that using the glyph API can be useful even without Pango. The vecho.ml example shows it already possible to perform basic layout with kerning for basic alphabetic scripts using Otfm.
Get in touch if you are interested in working on this problem.
Reactions are currently unavailable