Document info an pdfboxes (mkiv)
Hi, currently the accuracy of the trimbox and cropbox breaks preflighting. While the mediabox is rounded to four numbers after the point, the other boxes have 11 numbers. Without the same rounding these boxes can be greater than the mediabox, which is not valid. /MediaBox [0 0 612.2835 858.8976] /TrimBox [ 0 0 612.28345061002 858.89763362975 ] /CropBox [ 0 0 612.28345061002 858.89763362975 ] 858.8976 < 858.89763362975 There is also a small bug in the document info code. \def\synchronizebackendidentity {\ctxlua{backends.codeinjections.setupidentity{ title = \!!bs\@@iatitle\!!es, subtitle = \!!bs\@@iasubtitle\!!es, ^^^^ should be 'subject' here (or change it later in the lua part) author = \!!bs\@@iaauthor\!!es, creator = \!!bs ConTeXt - \contextversion\!!es, date = \!!bs\@@iadate\!!es, keywords = \!!bs\@@iakeyword\!!es, }}} Best wishes, Peter
Peter Rolf wrote:
Hi,
currently the accuracy of the trimbox and cropbox breaks preflighting. While the mediabox is rounded to four numbers after the point, the other boxes have 11 numbers. Without the same rounding these boxes can be greater than the mediabox, which is not valid.
/MediaBox [0 0 612.2835 858.8976] /TrimBox [ 0 0 612.28345061002 858.89763362975 ] /CropBox [ 0 0 612.28345061002 858.89763362975 ]
858.8976 < 858.89763362975
hm, a bit stupid (much is ps/pdf rendering happens rounded esp such boxes so i wonder why they are so strick) anyhow, as the media box is out of our control in mkiv, i now use some other trick (btw, does it really break preflighting in full acrobat (as that is the standard, i don't care that much about other preflighters))
subtitle = \!!bs\@@iasubtitle\!!es, ^^^^ should be 'subject' here (or change it later in the lua part)
ok, fixed; beta later today Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
luigi scarso wrote:
(btw, does it really break preflighting in full acrobat (as that is the standard, i don't care that much about other preflighters)) PitStop of Enfocus
well, why use them when acrobat has it built in? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, Aug 28, 2009 at 1:04 PM, Hans Hagen
luigi scarso wrote:
(btw, does it really break preflighting in full acrobat (as that is the standard, i don't care that much about other preflighters))
PitStop of Enfocus
well, why use them when acrobat has it built in? because PitStop of Enfocus is (or was) better ?
-- luigi
luigi scarso wrote:
(btw, does it really break preflighting in full acrobat (as that is the standard, i don't care that much about other preflighters)) PitStop of Enfocus
and since i have neither of them on my machine i cannot test what they expect anyway -) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen schrieb:
Peter Rolf wrote:
Hi,
currently the accuracy of the trimbox and cropbox breaks preflighting. While the mediabox is rounded to four numbers after the point, the other boxes have 11 numbers. Without the same rounding these boxes can be greater than the mediabox, which is not valid.
/MediaBox [0 0 612.2835 858.8976] /TrimBox [ 0 0 612.28345061002 858.89763362975 ] /CropBox [ 0 0 612.28345061002 858.89763362975 ]
858.8976 < 858.89763362975
hm, a bit stupid (much is ps/pdf rendering happens rounded esp such boxes so i wonder why they are so strick)
anyhow, as the media box is out of our control in mkiv, i now use some other trick
(btw, does it really break preflighting in full acrobat (as that is the standard, i don't care that much about other preflighters))
yep, acrobat complains about the box sizes.
subtitle = \!!bs\@@iasubtitle\!!es, ^^^^ should be 'subject' here (or change it later in the lua part)
ok, fixed; beta later today
many thanks :)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
Hans Hagen
-
luigi scarso
-
Peter Rolf