Opened 20 months ago
Closed 20 months ago
#21050 closed defect (fixed)
Fix building inkscape with poppler-25.02.0
| Reported by: | Douglas R. Reno | Owned by: | Douglas R. Reno |
|---|---|---|---|
| Priority: | normal | Milestone: | 12.3 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
When doing my standard testing for a poppler update, I encountered an issue with building Inkscape due to poppler-25.02.0.
There is a bug upstream for it: https://gitlab.com/inkscape/inkscape/-/issues/5507
Attachments (1)
Change History (6)
comment:1 by , 20 months ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 20 months ago
by , 20 months ago
| Attachment: | 0001-Fix-building-with-poppler-25.02.0_final.patch added |
|---|
comment:5 by , 20 months ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

The related lines from my build log are:
/sources/inkscape-1.4/inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp:410:36: error: could not convert ‘((std::shared_ptr_access<GfxCIDFont, gnu_cxx::_S_atomic, false, false>*)(& gfxcid))->std::shared_ptr_access<GfxCIDFont, gnu_cxx::_S_atomic, false, false>::operator->()->GfxCIDFont::getCIDToGID()’ from ‘const std::vector<int>’ to ‘bool’
/sources/inkscape-1.4/inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp:413:57: error: cannot convert ‘const std::vector<int>’ to ‘const int*’ in initialization
/sources/inkscape-1.4/inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp:432:51: error: no matching function for call to ‘GfxCIDFont::getCodeToGIDMap(std::unique_ptr<FoFiTrueType>::pointer, int*)’
/sources/inkscape-1.4/inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp:460:52: error: cannot convert ‘std::vector<int>’ to ‘int*’ in initialization
/sources/inkscape-1.4/inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp:484:52: error: no matching function for call to ‘FoFiType1C::getCIDToGIDMap(int*)’
/sources/inkscape-1.4/inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp:500:36: error: could not convert ‘((std::shared_ptr_access<GfxCIDFont, gnu_cxx::_S_atomic, false, false>*)(& gfxcid))->std::shared_ptr_access<GfxCIDFont, gnu_cxx::_S_atomic, false, false>::operator->()->GfxCIDFont::getCIDToGID()’ from ‘const std::vector<int>’ to ‘bool’
/sources/inkscape-1.4/inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp:503:57: error: cannot convert ‘const std::vector<int>’ to ‘const int*’ in initialization
/sources/inkscape-1.4/inkscape-1.4_2024-10-09_e7c3feb100/src/extension/internal/pdfinput/poppler-cairo-font-engine.cpp:523:58: error: no matching function for call to ‘FoFiTrueType::getCIDToGIDMap(int*)’