diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-04-06 13:29:41 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-04-07 13:22:15 +0100 |
commit | 88586d2282a70aad99887d0209c55b0bccfcb86f (patch) | |
tree | fef3dba439bc396b898ab3365e9e596e3bb8a6fd /source/fitz/filter-predict.c | |
parent | d47fae804572cd0a6cc78e60020e65334a088c0b (diff) | |
download | mupdf-88586d2282a70aad99887d0209c55b0bccfcb86f.tar.xz |
Structured text extraction; improve glyph bounding box calculations.
In vertical motion mode, when calculating bboxes we should use
horizontal rather vertical displacements from the 'axis of
movement'.
In horizontal mode, we displace by 'ascender' and 'descender'.
Those concepts don't rotate with the motion mode, so repurpose
those fields to hold bbox.x0 and bbox.x1 in vertical mode.
Diffstat (limited to 'source/fitz/filter-predict.c')
0 files changed, 0 insertions, 0 deletions