Add support for blend modes.

This commit is contained in:
Brendan Dahl 2013-03-11 10:23:47 -07:00
parent c11a8a6e42
commit 523aa9c152
4 changed files with 24 additions and 5 deletions

View file

@ -497,6 +497,7 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
case 'FL':
case 'CA':
case 'ca':
case 'BM':
gsStateObj.push([key, value]);
break;
case 'Font':
@ -506,11 +507,6 @@ var PartialEvaluator = (function PartialEvaluatorClosure() {
value[1]
]);
break;
case 'BM':
// We support the default so don't trigger the TODO.
if (!isName(value) || value.name != 'Normal')
TODO('graphic state operator ' + key);
break;
case 'SMask':
// We support the default so don't trigger the TODO.
if (!isName(value) || value.name != 'None')