I'm using the current 0.15.0 package from the Nix store and a document fails with
error: Cannot proceed without the font: /nix/store/k090.....montserrat-9.000/share/fonts/woff2/Montserrat-LightItalic.woff2
Looking at the offending function causing the error, the checks directly prior to the abort
|
if ((handle = dpx_open_dfont_file(filename)) != INVALID_HANDLE) |
|
is_dfont = 1; |
|
else if ((handle = dpx_open_type1_file(filename)) != INVALID_HANDLE) |
|
is_type1 = 1; |
|
else if (((handle = dpx_open_opentype_file(filename)) == INVALID_HANDLE |
|
&& (handle = dpx_open_truetype_file(filename)) == INVALID_HANDLE)) { |
|
_tt_abort("Cannot proceed without the font: %s", filename); |
|
} |
seem to hint at this function not expecting .woff2 paths to be passed to it?
The file does exist at the location.
I'm using the current
0.15.0package from the Nix store and a document fails withLooking at the offending function causing the error, the checks directly prior to the abort
tectonic/crates/pdf_io/pdf_io/dpx-dvi.c
Lines 1135 to 1142 in 09b1c14
seem to hint at this function not expecting .woff2 paths to be passed to it?
The file does exist at the location.