[Poppler-bugs] [Bug 34053] Poppler ignores rendering intents and always uses INTENT_RELATIVE_COLORIMETRIC

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 25 12:58:39 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=34053

--- Comment #29 from Albert Astals Cid <aacid at kde.org> ---
Hmmm, your patch makes it so that in the first Gfx constructor we first do

  for (i = 0; i < 6; ++i) {
    baseMatrix[i] = state->getCTM()[i];
  }
  formDepth = 0;
  ocState = gTrue;
  parser = NULL;
  abortCheckCbk = abortCheckCbkA;
  abortCheckCbkData = abortCheckCbkDataA;

  // set crop box
  if (cropBox) {
    state->moveTo(cropBox->x1, cropBox->y1);
    state->lineTo(cropBox->x2, cropBox->y1);
    state->lineTo(cropBox->x2, cropBox->y2);
    state->lineTo(cropBox->x1, cropBox->y2);
    state->closePath();
    state->clip();
    out->clip(state);
    state->clearPath();
  }

as part of init() and then call 

  out->startPage(pageNum, state, xref);
  out->setDefaultCTM(state->getCTM());
  out->updateAll(state);

as part of the constructor, this used to be the other way around. Do we
need/want this?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130925/71688a92/attachment.html>


More information about the Poppler-bugs mailing list