From 16aeb9588b60ad4df716ef9782493f57ee5d9797 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 8 Aug 2017 14:07:51 +0200 Subject: Add direction of writing vector to fz_stext_line struct. For non-rotated text, this vector will always be [1 0]. --- include/mupdf/fitz/structured-text.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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; -- cgit v1.2.3