parsing - Find Vertical spacing of text lines? -
parsing - Find Vertical spacing of text lines? -
in itext know attributes of text can extracted:
gs
→ graphics state
word spacing
character spacing
font size
but vertical spacing? example, in ms word 1 sets paragraph spacing {before/after paragraph, line spacing} , these generated resultant pdf. if these vertical spacing info needs recovered analyzing pdf file, there operator 1 should pay attending to?
in adobe portable document format reference 1.3 1 might see
th
→ horizontal spacing
txty
→ move text rendering location respect start of line segment
tlm
→ line matrix
tm
→ text matrix
tf
→ font
ts
→ text rise
but haven't found operator/meta info straight specifies vertical spacing of text. perhaps related how current text line tlm
positioned? how location of tlm
determined?
parsing pdf itextsharp itext
Comments
Post a Comment