I've created some annotations (Underline, Highlight, Strikeout, Squiggly) in Acrobat and am digging out the QuadPoints array to render with. The pdf spec PDF 32000-1:2008 says they are in counter clockwise order, and x1,y1 -> x2,y2 specifies the base of the quadrilateral.
This should look like: BottomLeft, BottomRight, TopRight, TopLeft
Unfortunately, Acrobat seems to create them in a different (and non compliant manner).
It appears as if the order is: TopLeft, TopRight, BottomLeft, BottomRight.
Anyone have insight into this phenomenon? Is it consistent? Am I missing something?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…