fontspec icon indicating copy to clipboard operation
fontspec copied to clipboard

Expected `setmainfontfamily`

Open sergey-s-betke opened this issue 9 years ago • 1 comments

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!

sergey-s-betke avatar Apr 27 '16 11:04 sergey-s-betke

Thanks for the suggestion. I’ll try to think about a decent interface to do this.

wspr avatar May 03 '16 01:05 wspr