Barcodes: Prefix hex codes with 0x
Colours: Use PDF_RGB_x macros to extract colours
Outline: Correct parent of bookmarks to outline
Whitespace: Modify the output whitespace so it's a bit more readable
Force stream length to 0

It is calloced, so this isn't really a problem, but just to make it clear