diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-08-08 14:07:51 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-08-17 13:38:48 +0200 |
commit | 16aeb9588b60ad4df716ef9782493f57ee5d9797 (patch) | |
tree | 70970b04482554bc8b3ee13da0582ac75483626b /include | |
parent | 7225ddf9df514c6c88ecbe01c708137a324456c7 (diff) | |
download | mupdf-16aeb9588b60ad4df716ef9782493f57ee5d9797.tar.xz |
Add direction of writing vector to fz_stext_line struct.
For non-rotated text, this vector will always be [1 0].
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/structured-text.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mupdf/fitz/structured-text.h b/include/mupdf/fitz/structured-text.h index 0f3364b3..922b8c84 100644 --- a/include/mupdf/fitz/structured-text.h +++ b/include/mupdf/fitz/structured-text.h @@ -81,6 +81,7 @@ struct fz_stext_block_s struct fz_stext_line_s { int wmode; /* 0 for horizontal, 1 for vertical */ + fz_point dir; /* normalized direction of baseline */ fz_rect bbox; fz_stext_char *first_char, *last_char; fz_stext_line *next; |