Outline styles were ignored
The following sample document has two outline entries. The first one is red, bold. The second one is blue. temp.pdf
They are displayed correctly in SumatraPDF 3.2.
However, from version 3.3 on, the outline styles were ignored.
Hmm last time I checked (clearly some time ago) they looked OK However have to agree its not working in current pre-release
We had to modify mupdf code to get outline color but then mupdf significantly changed outline code and we lost those changes.
I understood that. fz_outline does not support styles. Their changes in related code files got you frustrated.
Since the structure of PDF outline is not very likely to be changed, is it possible to copy the outline extraction logic into the source code of SumatraPDF and use a custom pdf_outline-like structure to hold the outline information with styles?
So the code in SumatraPDF won't be affected by mupdf's changes in the future.
No plans to modify or fork mupdf code that much. Too much on-going work to keep up with mupdf changes.
The recent version of MuPDF supports colors and styles of outlines. Please consider reimplementing outline styles.
@wmjordan Currently I dont see them support coloured outlines in this weeks viewer code so may be more for editing ?
SumatraPDF also now has custom Theming to make that task more problematic
I checked out their source code, and saw that the pdf_outline_iterator_item function is reading colors and styles from PDF outlines.
Any news for this issue?