### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/3064

<div type='discussions-op-text'>

<sup>Originally posted by **apreshill** October 27, 2022</sup>
Hello 👋 

I need to use a local font file in a Quarto-rendered revealjs HTML presentation. I can get the font to render locally, but not when deployed to GitHub pages. Here is a reprex repo: 

https://github.com/apreshill/reveal-fonts-reprex

The rendered deck: https://apreshill.github.io/reveal-fonts-reprex/

Note that I have `embed-resources: true` in the YAML: https://github.com/apreshill/reveal-fonts-reprex/blob/f2461431caa84681d45bbb8b06e387ee04b92918/index.qmd#L3 (it didn't work with this set to `true` or `false` though)

I get this error rendering locally after adding that to my YAML:
> `pandoc: /fonts/bodoni-moda-v7-latin-regular.woff2: openBinaryFile: does not exist (No such file or directory)`

I've tried all manner of file path combinations here since this looks like pandoc is struggling to find the file based on my file path, but I'm getting nowhere.

Here is what it looks like locally (with the custom font working fine):
<img width="1501" alt="Screen Shot 2022-10-27 at 2 55 06 PM" src="https://user-images.githubusercontent.com/12160301/198290155-b3c8af6d-76ed-4bbe-954e-d12d9f58df3e.png">

Any pointers? Thanks.</div>
cscheid
2022-10-27T14:54:48Z
cscheid
bug
v1.3
closed
Using a custom local font file with revealjs presentations
https://github.com/quarto-dev/quarto-cli/issues/3068