google / google/fonts

Issue with Quicksand[wght].ttf

Open
#2,314 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
20.5k
Forks
2.9k
Avg merge
1d 21h
Merged PRs (30d)
95

Description

Hi,

I've been using these fonts as part of a base docker image creating latex PDF's. It's been working fine with the last update about 9 months ago, but I recently updated the base docker image, which pulled the very latest Google fonts. I'm now having an issue building the latex file. The relevant error is `xdvipdfmx:fatal: Invalid TTC index (not TTC font): /usr/local/share/fonts/Quicksand[wght].ttf`. That error in some context:

```
/usr/share/texlive/texmf-dist/tex/latex/tools/tabularx.sty
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty)))
(/usr/share/texlive/texmf-dist/tex/xelatex/xecjk/xeCJK-listings.sty)
(./main.aux)
*geometry* driver: auto-detecting
*geometry* detected driver: xetex
ABD: EveryShipout initializing macros
(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty)

LaTeX Font Warning: Font shape `TU/Quicksand(0)/m/sl' undefined
(Font) using `TU/Quicksand(0)/m/n' instead on input line 52.

Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 14.49998pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.

[1] (./main.aux)

LaTeX Font Warning: Some font shapes were not available, defaults substituted.

xdvipdfmx:fatal: Invalid TTC index (not TTC font): /usr/local/share/fonts/Quicksand[wght].ttf

Output file removed.
)
Error 256 (driver return code) generating output;
file main.pdf may not be valid.
SyncTeX written on main.synctex.gz.
Transcript written on main.log.
=== TeX engine is 'XeTeX'
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
pdflatex: Command for 'pdflatex' gave return code 1
Refer to 'main.log' for details
Latexmk: Use the -f option to force complete processing,
unless error was exceeding maximum runs, or warnings treated as errors.
```

Removing this file from my system enables me to build the PDF without issue.

I don't understand the details of fonts well enough to understand who or what is at fault. I thought I'd post this here in case someone can point me in the right direction -- is this an issue with this ttf file, or something else?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.