nk2028 / tshet-uinh-autoderiver

An online tool that automatically generates phonological reconstructions of the Qieyun system, as well as extrapolated historical and modern phonological systems derived from it
https://nk2028.shn.hk/tshet-uinh-autoderiver/
MIT License
43 stars 19 forks source link

Customizing Fonts #24

Open be5invis opened 4 months ago

be5invis commented 4 months 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 months 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 months ago

@graphemecluster Docs about styles?

graphemecluster commented 4 months ago

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

graphemecluster commented 4 months ago

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

be5invis commented 4 months ago

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