Is Foxit Reader using the SDK and only the SDK or any other technology or undocumented features for rendering PDFs? There are differences that are hard to explain, e.g. Foxit Reader is able to create high contrast text selections which would need custom handling of different drawing stages (to not have to draw the selection color on top, but just before the text is rendered). The API does not seem to offer this.