mosquitto: fix build
[oi-userland.git] / components / image / inkscape / patches / 14-inkscape-1.4-poppler-24.11.patch
blob9d29914fc28a32a7fadf2f461cc97262dd28e106
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
5 FoFiTrueType *ff;
6 #endif
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);
10 } else {
11 - ff = FoFiTrueType::load(fileName.c_str());
12 + ff = FoFiTrueType::load(fileName.c_str(), 0);
14 if (!ff) {
15 goto err2;
16 @@ -446,9 +446,9 @@ CairoFreeTypeFont *CairoFreeTypeFont::cr
17 FoFiTrueType *ff;
18 #endif
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);
22 } else {
23 - ff = FoFiTrueType::load(fileName.c_str());
24 + ff = FoFiTrueType::load(fileName.c_str(), 0);
26 if (!ff) {
27 error(errSyntaxError, -1, "failed to load truetype font\n");
28 @@ -514,9 +514,9 @@ CairoFreeTypeFont *CairoFreeTypeFont::cr
29 FoFiTrueType *ff;
30 #endif
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);
34 } else {
35 - ff = FoFiTrueType::load(fileName.c_str());
36 + ff = FoFiTrueType::load(fileName.c_str(), 0);
38 if (ff) {
39 if (ff->isOpenTypeCFF()) {