### Bug description

My render fails (at the XeLaTeX part?) whenever I use a custom font. I'm on Ubuntu 18.04 WSL on Windows 11.

`test.qmd`:
```qmd
---
format: 
  pdf: 
    mainfont: Arial
---

# Hello there!

This is a test.
```

So, `quarto render test.qmd --to pdf` fails, unless I stop trying to specify the font.

```
  This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode
  Fontconfig warning: FcPattern object weight does not accept value [50 200)
  
updating tlmgr

updating existing packages

compilation failed- error
see test.log for more information.
```

By the way, I always see that Fontconfig weight warning, whether I try to set the font or not. And I'm not a LaTeX expert, but I don't see anything useful [in the log](https://github.com/quarto-dev/quarto-cli/files/10321886/test.log).

Quarto check:
```
[✓] Checking Quarto installation......OK
      Version: 1.2.280
      Path: /opt/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.8.8 (Conda)
      Path: /home/kyle/anaconda3/bin/python
      Jupyter: 4.7.1
      Kernels: conda-env-test2-py, ..., julia-1.8

[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........(None)

      Unable to locate an installed version of R.
      Install R from https://cloud.r-project.org/
```
I also just upgraded TinyTex to 2022.12.12.

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [x] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
dragonstyle
2022-12-29T20:11:45Z
kjohnsen
bug
Future
open
LaTeX crash when using custom font
https://github.com/quarto-dev/quarto-cli/issues/3794