Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-05-07 | epub: Fix typo when parsing negative numbers. | Tor Andersson | |
2015-05-07 | epub: Whitespace separated by comments turn into two whitespace tokens. | Tor Andersson | |
Deal with it. | |||
2015-05-06 | WIP: Add debug printing function for generated boxes. | Tor Andersson | |
2015-05-06 | epub: Add 'auto' as a special number value. | Tor Andersson | |
2015-05-06 | epub: Rejig CSS parser -- whitespace is significant! | Tor Andersson | |
The selectors ".foo.bar" and ".foo .bar" are not equivalent! They should parse as "*.foo.bar" and "*.foo *.bar" but we parsed both as "*.foo.bar" due to us ignoring significant whitespace. | |||
2015-05-05 | epub: Ignore missing stylesheet files. | Tor Andersson | |
2015-05-05 | epub: Bail if rights.xml or encryption.xml are present (not DRM-free EPUB). | Tor Andersson | |
2015-05-05 | Ignore ENTITY declarations in XML. | Tor Andersson | |
2015-05-05 | epub: Parse (and ignore) display: inline-block. | Tor Andersson | |
2015-05-05 | epub: Fix signedness bug when testing character ranges. | Tor Andersson | |
2015-05-05 | epub: Decode URL escapes in epub paths. | Tor Andersson | |
2015-05-05 | epub: Ignore syntax errors in HTML tag style attributes. | Tor Andersson | |
2015-05-05 | epub: Fix list mark horizontal placement calculation. | Tor Andersson | |
2015-05-05 | epub: Parse negative decimal numbers that start with the decimal point. | Tor Andersson | |
2015-05-05 | epub: Use the correct word order in border style names. | Tor Andersson | |
2015-05-05 | Fix typo in fz_pack_path that caused us to malloc much more than needed. | Tor Andersson | |
2015-05-04 | epub: Parse rgb(x,y,z) type colors. | Tor Andersson | |
2015-05-04 | epub: Fix 695971: Don't confuse id selectors (#name) with colors in CSS. | Tor Andersson | |
2015-05-04 | epub: Anchor list mark to first flow node in list item. | Tor Andersson | |
2015-04-28 | epub: Only apply border widths when the border is visible. | Tor Andersson | |
The border_style field was changed from an enum to an array of enums, but one place where it was used was not updated. | |||
2015-04-27 | epub: Ugly hack so that table rows end up on their own lines at least. | Tor Andersson | |
We don't support tables yet, so this is a stop gap measure. | |||
2015-04-27 | epub: Support individual T,B,L,R border styles and colors. | Tor Andersson | |
2015-04-27 | epub: Fix (incorrectly) recursively multiplied relative font sizes. | Tor Andersson | |
2015-04-23 | epub: Support roman and alphabetic numbering in ordered lists. | Tor Andersson | |
2015-04-20 | epub: list items with bullets and counters | Tor Andersson | |
2015-04-20 | epub: Also accept ".htm" file extension. | Tor Andersson | |
2015-04-16 | mutool clean -z option to compress streams. | Tor Andersson | |
2015-04-16 | ASCIIHexEncode inline images during sanitization if do_ascii is set. | Tor Andersson | |
2015-04-16 | Fix typo in html-layout.c | Robin Watts | |
The find_accumulated_margins function should be a void return type. | |||
2015-04-15 | epub: Take margins into account when scaling images to fit the page. | Tor Andersson | |
2015-04-15 | epub: Tighten the comparison for when an image is on the current page. | Tor Andersson | |
This solves the issue with slivers of images appearing in the margin at the bottom of the previous page. | |||
2015-04-15 | epub: Be resilient in the face of broken CSS. | Tor Andersson | |
Try to recover from syntax errors in CSS rules by skipping to the end of the declaration block. Don't abort HTML parsing on CSS errors. | |||
2015-04-15 | epub: Check version number and warn if it's not an EPUB 2.0 file. | Tor Andersson | |
2015-04-14 | epub: Ignore CSS3 ::before pseudo-element syntax. | Tor Andersson | |
2015-04-14 | Fix 695918: "mudraw -sm" format string on win32. | Tor Andersson | |
2015-04-14 | Split fz_meta into separate querying functions. | Tor Andersson | |
Add fz_has_permission function to fz_document. Add fz_lookup_metadata function to fz_document. Remove fz_meta function from fz_document. | |||
2015-04-14 | epub: Parse url() tokens. | Tor Andersson | |
Fix bug 695922. | |||
2015-04-09 | Add -v option to mutool and mudraw to print MuPDF version number. | Tor Andersson | |
2015-04-09 | Remove the _no_run functions. | Tor Andersson | |
The new pdfclean sanitize functionality mean that mutool now needs the data files, so maintaining the split that was designed to keep data files out of mutool is no longer viable. | |||
2015-04-08 | Fix windows builds of epub-doc.c | Robin Watts | |
Variables need to be defined at the top of blocks. | |||
2015-04-07 | Fix whitespace. | Tor Andersson | |
2015-04-07 | Add some basic page margins to EPUB layout. | Tor Andersson | |
Add margins of 1 em at the top and bottom of every page at the top level. TODO: This should be set from the CSS using the @page selector, and be collapsed with the body margins at the start and end of each chapter, as well as the left and right body margins. | |||
2015-04-07 | Fix some warnings. | Tor Andersson | |
2015-04-07 | Add EPUB layout options to mupdf-x11 and mudraw. | Tor Andersson | |
2015-04-07 | Trigger default layout in fz_document layer. | Tor Andersson | |
Trigger the default layout when needed, but only if no manual layout has been done. This avoids doing a pointless double layout (once with default when loading the document, then with the manual layout call with the desired layout options). | |||
2015-04-07 | Rename mutool show 'pages' to 'pagetree' to reduce possible confusion. | Tor Andersson | |
Fixes bug 695909. | |||
2015-04-07 | Fix structured text extraction in vertical mode. | Robin Watts | |
When advancing a glyph in vertical mode, it should advance down the page. The origin of the glyph as supplied is bottom left, not top right - allow for this in calculations. Previously glyphs were not being collated into spans because of this. | |||
2015-04-07 | Structured text extraction; improve glyph bounding box calculations. | Robin Watts | |
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. | |||
2015-04-07 | Use fz_advance_glyph rather than direct FT calls during PDF layout. | Robin Watts | |
2015-04-06 | Add some simple debug code to dump fz_gels. | Robin Watts | |
Just for internal use, no external interface. |