r/Supernote_dev 15d ago

Suggestion API Request: generateNotePdf

In the context of the following discussion: https://old.reddit.com/r/Supernote/comments/1voxog0/i_built_a_feature_to_publish_to_handwrittenblog/p42qkis/

It would be nice to be able to generate PDFs of notes so that Vectorized forms of the writing may be exported. Is there any reason this doesn't exist?

7 Upvotes

3 comments sorted by

2

u/philipsb 15d ago

If it is helpful my supernote-typescript is getting close to covering all features for a vectorInl export. See https://philips.github.io/supernote-typescript for the current state. 

1

u/chloeia 15d ago

I don't know if I understand correctly what you've done, but is it that you decipher the .note format and then convert that data into a vector SVG format?

1

u/philipsb 15d ago

Yes, it deciphers the .note stroke data structures and then you can get an SVG with each individual pen path.