rsheldiii / KeyV2

KeyV2: A Parametric Mechanical Keycap Library
GNU General Public License v3.0
1.45k stars 187 forks source link

Feature Request: Multiple Fonts #170

Open ignatio opened 1 year ago

ignatio commented 1 year ago

It would be nice to have the ability to change the font per legend instead of specifying it once in the script. I've tried to follow the answer from #71 (creating separate keytext and legend modules) and adapt it to using two fonts on the top of the key to no avail, no matter what I do it always uses the same font on top. It would allow for using one font for the main legend and another for a glyph on the same key as many good looking fonts to not include useful glyphs.

An even better work around might be to include an easier way to use an image file for the legend, but I'm unsure if that is feasible.

Thanks for the great work you've done on this script.

rsheldiii commented 1 year ago

@ignatio have you tried bear454's branch? That sounds like it would do what you're after