Bidi-aware shipout macros