-
Notifications
You must be signed in to change notification settings - Fork 179
Open
Labels
bundles and filesBundle issues, finding fonts, etc.Bundle issues, finding fonts, etc.new featureNew featuresNew features
Description
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
tectonic/crates/pdf_io/pdf_io/dpx-dvi.c
Lines 1135 to 1142 in 09b1c14
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.
Metadata
Metadata
Assignees
Labels
bundles and filesBundle issues, finding fonts, etc.Bundle issues, finding fonts, etc.new featureNew featuresNew features