Support PDF display

resolve #12