Testing pdf in appium

I want to check the content of a Pdf
Not by screenshots

have you done any web searches, which approaches did not work for you? (I’m trying to get a better idea of the pdf quality criteria you are wanting, since testing a pdf is a very nebulous thing to do)