--- ./filters/karbon/pdf/SvgOutputDev.cpp.orig 2020-05-14 01:51:30.000000000 -0500 +++ ./filters/karbon/pdf/SvgOutputDev.cpp 2022-05-02 01:24:57.902177123 -0500 @@ -410,7 +410,7 @@ if (s->getLength() == 0) return; - GfxFont * font = state->getFont(); + std::shared_ptr font = state->getFont(); QString str;