dfrg/swash

Examples

Kethku opened this issue · 3 comments

It would be useful to have a minimal example of shaping some text or similar functionality. This way somebody could bootstrap themselves easier when they find the library.

Side note: incredible work. I've been waiting for a library like this for ages. Between this and rustybuzz, things are looking up.

dfrg commented

Hi Keith!

First, I really do appreciate the sponsorship. Thank you for that and for the kind words.

I have actually been working on the abysmal documentation on and off for the past few hours and will be continuing for a few more. I haven't quite reached the shaper yet, but I will make sure to get some notes and an example there by the end of the day. The usage is a bit unconventional compared to other shapers so it definitely requires some explanation.

If you have any specific questions, please let me know.

Oh yeah, a demo was posted here: https://github.com/dfrg/swash_demo

This is far from a "minimal" example. It is great to have, but I would still love some very minimalistic examples!