>> A good starting point may be to implement a C/C++ library function, >> to extract the MediaBox properties; that would open the gate to a >> possible pdfbb request, which gtroff.exe could process internally. > > Alternatively, we could modify the existing implementation of .psbb, > such that it will discriminate on `%!PS-Adobe-´ or `%PDF-´ as > initial file content, then DTRT wrt parsing a `%%BoundingBox:´ or > `/MediaBox´ record accordingly.
Good idea! Werner