fontspec
fontspec copied to clipboard
Expected `setmainfontfamily`
First, Thank You, @wspr, for Your package!
Now, we can redefine main font with \setmainfont macro. But, if we have already defined (with \newfontfamily) custom font family, we can not "select" defined font family as main font. And - workaround:
\tl_set_eq:NN \rmdefault \g__fontspec_eskdfont_family
But what about encapsulation?
Can You add something about \setmainfontfamily (\fontspec_set_main_font_family:N, argument: defined with \newfontfamily font family)?
Thank You!
Thanks for the suggestion. I’ll try to think about a decent interface to do this.