Bugfix: Import of PDF pages.
commit0e5c628ce84f905e4e67c5de6bc3047315ca18d2
authorHenrik Tidefelt <tidefelt@isy.liu.se>
Tue, 4 Nov 2008 11:57:58 +0000 (4 12:57 +0100)
committerHenrik Tidefelt <tidefelt@isy.liu.se>
Tue, 4 Nov 2008 11:57:58 +0000 (4 12:57 +0100)
treee23c8efd44cc1b751470ae72506c3753ac04d13c
parent7f2c7bd638cc1e96a02739103909a170d68b4c0d
Bugfix: Import of PDF pages.

Two bugs in one:
1) XObjects obviously don't interpret their contents relative to the default state of a page, hence the state must be synchronized before the <Do> operation.
2) The global Kernel::THE_DEFAULT_STATE was initialized before Lang::THE_BLACK, causing THE_DEFAULT_STATE to behave as if colors were void.
source/globals.cc
source/pdfimport.cc