Logo draws properly on pdf. Rearranged pdf impl.