Commit 4e6af25a authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

[cairo] Update font of TextPage in CairoOutputDev::updateAll()

Fixes a crash with some documents, see Evince bug
https://bugzilla.gnome.org/show_bug.cgi?id=603934
parent 6798d3e5
......@@ -294,6 +294,8 @@ void CairoOutputDev::updateAll(GfxState *state) {
updateStrokeOpacity(state);
updateBlendMode(state);
needFontUpdate = gTrue;
if (text)
text->updateFont(state);
}
void CairoOutputDev::setDefaultCTM(double *ctm) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment