fonts add tag
निरंजन
I am using a Linux-based distro with TL2020 installation. This is the minimal code which results a pdf with a tofu :(

```
\documentclass[border=1cm]{standalone}
\usepackage{fontspec}
\setmainfont{BitstreamVeraSans-Roman}

\begin{document}
₹
\end{document}
```

but when I try the same text with the same font on a word processor (LibreOffice in this case), it gives me the correct output. See the following screenshot.

![Screenshot-52.png](/image?hash=d4738ba0f306ded5011897c8601d0a6ddc1eafbf7a966c6159a0381e0787ce1f)

I have tried `\setmainfont{BitstreamVeraSans}` (without -Roman), but it doesn't work at all.

Why is this happening?
Top Answer
samcarter
The font is working fine with LaTeX, the problem is rather that the `Bitstream Vera Sans` font you chose, does not contain the rupee symbol. You can see this by inspecting the content of the `.ttf` file:

![Screen Shot 2020-07-30 at 14.59.03.png](/image?hash=ac4bfe32ea76b2f9c0371cb64d7530b246c89d59d9d8da4e3c3ffb09de622014)

The symbol you see in LibreOffice is not from the `Bitstream Vera Sans` font, but from another font LibreOffice uses as fall back. 

If I had to guess from the shape of just this one glyph, I would say `DejaVu Sans Mono`:

```
% !TeX TS-program = xelatex

\documentclass[border=1cm]{standalone}
\usepackage{fontspec}
\setmainfont{DejaVu Sans Mono}

\begin{document}
₹
\end{document}
```


![Screen Shot 2020-07-30 at 15.17.23.png](/image?hash=e6003f059d7e231fe51fdcd531fc5dfd1caf9384710f197a931b582997e9a1fb)

Enter question or answer id or url (and optionally further answer ids/urls from the same question) from

Separate each id/url with a space. No need to list your own answers; they will be imported automatically.