1 diff -up inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp.omv~ inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp
2 --- inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp.omv~ 2024-11-04 15:39:50.513905343 +0100
3 +++ inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp 2024-11-04 15:41:54.785423195 +0100
4 @@ -421,9 +421,9 @@ CairoFreeTypeFont *CairoFreeTypeFont::cr
7 if (!font_data.empty()) {
8 - ff = FoFiTrueType::make((fontchar)font_data.data(), font_data.size());
9 + ff = FoFiTrueType::make((fontchar)font_data.data(), font_data.size(), 0);
11 - ff = FoFiTrueType::load(fileName.c_str());
12 + ff = FoFiTrueType::load(fileName.c_str(), 0);
16 @@ -446,9 +446,9 @@ CairoFreeTypeFont *CairoFreeTypeFont::cr
19 if (!font_data.empty()) {
20 - ff = FoFiTrueType::make((fontchar)font_data.data(), font_data.size());
21 + ff = FoFiTrueType::make((fontchar)font_data.data(), font_data.size(), 0);
23 - ff = FoFiTrueType::load(fileName.c_str());
24 + ff = FoFiTrueType::load(fileName.c_str(), 0);
27 error(errSyntaxError, -1, "failed to load truetype font\n");
28 @@ -514,9 +514,9 @@ CairoFreeTypeFont *CairoFreeTypeFont::cr
31 if (!font_data.empty()) {
32 - ff = FoFiTrueType::make((fontchar)font_data.data(), font_data.size());
33 + ff = FoFiTrueType::make((fontchar)font_data.data(), font_data.size(), 0);
35 - ff = FoFiTrueType::load(fileName.c_str());
36 + ff = FoFiTrueType::load(fileName.c_str(), 0);
39 if (ff->isOpenTypeCFF()) {