Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Package fontspec does not appear to work at all.
Post Flair (click to view more posts with a particular flair)
Post Body

Hello.

I want to be able to use custom fonts in my document. I hoped that just dumping the .ttf files and loading fontspec would work, but I fear I fell into a much deeper rabbit hole.

The following mwe does not compile:

\documentclass{article}
\usepackage{fontspec}
\begin{document}
asdasd
\end{document}

and in fact gives the following errors:

riga 112: Font \TU/lmr/m/n/10=[lmroman10-regular]: tlig; at 10pt not loadable: metric data not found or bad. ...lt\familydefault\seriesdefault\shapedefault
riga 3907: Font \TU/lmr/bx/n/10=[lmroman10-bold]: tlig; at 10pt not loadable: metric data not found or bad. \strongfontdeclare{ \bfseries }

Removing the fontspec line makes everything work again.

What can I do? Is there another way to use custom otf and ttf files?


EDIT: I pasted the log here: https://pastebin.com/Yu3w3VsA

Author
Account Strength
100%
Account Age
9 years
Verified Email
Yes
Verified Flair
No
Total Karma
13,881
Link Karma
1,039
Comment Karma
12,809
Profile updated: 5 days ago
Posts updated: 9 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago