home.social

#fontspec — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #fontspec, aggregated by home.social.

  1. Any #xelatex experts out there? I am having a VERY weird experience with fontspec.

    I write

    \setsansfont{NameOfFont}

    And everything works as it should. Except when "NameOfFont" is the font I actually want, when everything *except* \textbf works correctly. Then it just renders normal weight text instead.

    Nothing in the log file suggests any weirdness.

    If I explicitly spell out the path and the filenames for all the weights then it works correctly; but I want other people to use this so that's not really a viable option.

    The most confounding thing is that it *was* working, and I do not know what changed. My best guess is that some cache somewhere needs to be blown away... but Xelatex doesn't use a font cache.... I think?

    Any ideas?

    p.s. using a Mac.

    #latex #fonts #fontspec #xetex