allow parsing and merging files that contain an error in their trailer dictionary noting a smaller xref size than it acutally is
Merge branch 'master' of github.com:galkahana/PDF-Writer
1. better recovery when freetype didnt read font 2. correction with hex value reading in names
Update PrimitiveObjectsWriter.cpp

fixed issues with pdf syntax characters used in names
fixed error with characters encoding

reusing the allocation codes array and availability array came back to
bite my arse when the encoding is 0, so i split the two. corrected the
issue. plus seems like the default placement of 0 character didn't
reserve the place for the whole time [intentional? check with Max]
Correction from Nichola Gelmini - correct freeing of buffers with the proper delete operator