nk2028 / qieyun-autoderiver

An automatic extrapolation tool based on the Tshet-uinh phonological system
https://nk2028.shn.hk/qieyun-autoderiver/
Creative Commons Zero v1.0 Universal
37 stars 13 forks source link

Customizing Fonts #24

Open be5invis opened 4 days ago

be5invis commented 4 days ago

Is it possible to allow customizing fonts in the editor and the output? I am recently working on a Tengwar notation so I need to introduce custom fonts for the editor and the output...

graphemecluster commented 4 days ago

Version 0.2 already supports some style operations such as font size and color. I can add font family support with slight changes to the code.

be5invis commented 4 days ago

@graphemecluster Docs about styles?

graphemecluster commented 4 days ago

Will, but we haven’t released v0.2 yet.

graphemecluster commented 4 days ago

Basically you return something like ({ f, b }) => f`Hello ${b`bold text`}`, but font isn’t supported yet.

be5invis commented 4 days ago

May need font customization for the UX too (like the dropdowns).