comparison mupdf-source/docs/reference/common/stext-options.md @ 3:2c135c81b16c

MERGE: upstream PyMuPDF 1.26.4 with MuPDF 1.26.7
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:44:09 +0200
parents b50eed0cc0ef
children
comparison
equal deleted inserted replaced
0:6015a75abc2d 3:2c135c81b16c
1 # Structured Text Options
2
3 preserve-images
4 : Keep images in output
5
6 preserve-ligatures
7 : Do not expand ligatures into constituent characters
8
9 preserve-spans
10 : Do not merge spans on the same line
11
12 preserve-whitespace
13 : Do not convert all whitespace into space characters
14
15 inhibit-spaces
16 : Don't add spaces between gaps in the text
17
18 paragraph-break
19 : Break blocks at paragraph boundaries
20
21 dehyphenate
22 : Attempt to join up hyphenated words
23
24 ignore-actualtext
25 : Do not apply ActualText replacements
26
27 use-cid-for-unknown-unicode
28 : Use character code if unicode mapping fails
29
30 use-gid-for-unknown-unicode
31 : Use glyph index if unicode mapping fails
32
33 accurate-bboxes
34 : Calculate char bboxes from the outlines
35
36 accurate-ascenders
37 : Calculate ascender/descender from font glyphs
38
39 accurate-side-bearings
40 : Expand character bboxes to completely include width of glyphs
41
42 collect-styles
43 : Attempt to detect text features (fake bold, strikeout, underlined etc)
44
45 clip
46 : Do not include text that is completely clipped
47
48 clip-rect=x0:y0:x1:y1
49 : Specify clipping rectangle within which to collect content
50
51 structured
52 : Collect structure markup
53
54 vectors
55 : Include vector bboxes in output
56
57 segment
58 : Attempt to segment the page
59
60 table-hunt
61 : Hunt for tables within a (segmented) page