Can't check for presence of BleedBox
So I have the following code
rule Preflight::Rules::BoxPresence, :any => [:BleedBox]
After checking against a pdf that has a BleedBox present I'm receiving the following error
[#<Preflight::Issue:0x007f863e85be40 @description="page must have any of BleedBox", @rule=:"Preflight::Rules::BoxPresence", @attributes={:page=>1}>]
However, upon closer inspection to the box_presence.rb file I can see BleedBox is not included in the checks
present_boxes = dict.keys & [:MediaBox, :CropBox, :TrimBox, :ArtBox]
Is this on purpose?
Is this on purpose?
Good question! it's been so long since I looked at this code, I couldn't tell you.
It seems reasonable to add it though - I'll happily merge a PR if you open one