summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-14js: Update docs for annotation functions (WIP).Tor Andersson
2016-11-14Fix return in void function.Tor Andersson
2016-11-14Continued Layer API work.Robin Watts
Hide pdf_is_hidden_ocg from the public interface. Ensure that RBGroups and Order properly fall back to the default entries if they are missing in the OCCDs. Add pdf_set_layer_config_as_default. This sets the default layer config to be current one. This destroys the current default dictionary, but we leave the other configs intact.
2016-11-14More API tweaks.Robin Watts
Move internal functions from public to private headers.
2016-11-14Make fz_buffer structure private to fitz.Robin Watts
Move the definition of the structure contents into new fitz-imp.h file. Make all code outside of fitz access the buffer through the defined API. Add a convenience API for people that want to get buffers as null terminated C strings.
2016-11-14Workaround 0 line-width strokes in svg output.Robin Watts
A line width of 0 has special meaning in PDF files. SVGs don't understand it, so modify our SVG output device to send all line widths smaller than 1 as being 1.
2016-11-14Bug 697336: Be more explicit about where to edit config.hRobin Watts
2016-11-14Add/fix page coordinates to link targets.Tor Andersson
Correctly transformed target coordinates for PDF. Target coordinates for EPUB and HTML.
2016-11-14gl: Add macOS support.Tor Andersson
2016-11-14Add optional 'object' argument to pdf_add_stream.Tor Andersson
2016-11-11API improvements.Robin Watts
Add missing API comments. Move private definitions to implementation headers or C files. Move internal functions to implementation headers.
2016-11-11Update JNI code to compile on Win32 and Win64.Robin Watts
Just some typecasting required.
2016-11-11Add simple layer configuration feature to mutool draw.Robin Watts
This commit adds a new -y flag to mutool draw. -y takes an additional argument - this can either be a single 'l' meaning "list the layer configs available", or a comma separated list of numbers. The first number in the list says which "layer config" to select. Subsequent numbers identify lines in the config to toggle. For instance I might do: mutool draw -y l -o out.png layers.pdf and this will list me the layer configs in the file (as well as rendering normally). From this I might choose layer config 0: mutool draw -y 0 -o out.png layers.pdf This will select layer config 0, and show a table (max 1 layer per numbered line) that shows which layers are on or off. If I then decide that I want layers 3 and 4 to be toggled from their default state, I can run: mutool draw -y 0,3,4 -o out.png layers.pdf Short of implementing an interactive configuration mode, this is the simplest way to demonstrate the layer functionality.
2016-11-11Add pdf_layer configuration API.Robin Watts
Add API to: * allow enumeration of layer configs (OCCDs) within PDF files. * allow selection of layer configs. * allow enumeration of the "UI" (or "Human readable") form of layer configs. * allow selection/toggling of entries in the UI.
2016-11-10Add mutool option (-l) for setting the minimum line width.Robin Watts
2016-11-10Add some more lines to .gitignoreRobin Watts
2016-11-10Add minimum line width configuration option.Robin Watts
2016-11-08Clean up braces and indentation in fz_paint_affine_near/lerp.Tor Andersson
2016-11-08Change access to protected on parts of Image.java to allow AndroidImage to ↵fred ross-perry
build.
2016-11-08fix iOS app issue where deleted annotations don't properly disappear.fred ross-perry
2016-11-08Fix android warnings.Tor Andersson
2016-11-07Move fz_new_draw_device_with_options within file.Robin Watts
Move function definition to the bottom of the file. This keeps the debug/config #definery at the top of the file where it belongs.
2016-11-07Bug 697241: Fix blending through clips.Robin Watts
Non rectangular clips are currently handled by rendering to a 'isolated' background, and then plotting that through a mask. This runs into problems when the rendering needs to use non standard blend modes that need to access the background colors. Instead, copy the background to the new pixmap, render to that then plot that through the mask. This simplifies the painting code, because we now never have mismatched source and destination alphas.
2016-11-07Default background of luminosity masks should be black.Robin Watts
In CMYK groups this is NOT the same as "all components 0". This improves the rendering of Bug689931a.pdf
2016-11-07Fix DUMP_GROUP_BLENDS debugging code.Robin Watts
fz_save_pixmap_as_png has changed signature since this was last used.
2016-11-05Fix Memento bug.Robin Watts
while (i >= 0) { ... i -= 4; } doesn't work well when i is unsigned.
2016-11-04Avoid warning in memento builds.Robin Watts
2016-11-04Avoid warnings in 64bit windows builds of luratech bindings.Robin Watts
2016-11-04Disable 64bit OpenSSL builds as we have no lib.Robin Watts
2016-11-04Squash 64bit warning in Commercial JBIG2 bindings.Robin Watts
2016-11-04MSVS: More solution fixes.Robin Watts
In particular ensure that curl builds properly for 32 and 64bit modes.
2016-11-04MSVS: Remove superfluous configurations from libfonts.vcprojRobin Watts
No point in building libfonts in anything other than release mode. It's just data. This avoids needless rebuilds in batch builds.
2016-11-04MSVS: Remove superfluous configurations from generated.vcprojRobin Watts
No point in building the 'generated' tools in anything other than debug mode. This avoids repeatedly building the same thing in batch builds.
2016-11-04MSVS: Add libluratech to project.Robin Watts
This will only be built in "DebugCommercial" "ReleaseCommercial" and "MementoCommercial" configuration builds. A note on the way MSVS solutions work; libluratech is listed as a dependency of the executables - this applies to ALL configurations. In order to stop normal builds failing when we have no source, we set each non "Commercial" configuration to not build libluratech. The linker still looks for the output from the libluratech stage to link in though, so for all non "Commercial" configurations, we have the libluratech stage set to produce output named " ". This is copied into the linker command line, and all is happy. The sole downside to this is that if we try to build libluratech in "Debug" (say) rather than "DebugCommercial", the build will fail at the library making step. This will never happen unless we manually try to build that project in that configuration though.
2016-11-03GProof: Silence warning seen in MSVC x64 builds.Robin Watts
2016-11-03Fix MSVC build of JNI native code.Robin Watts
2016-11-03Memento: Silence MSVC warningsRobin Watts
For security and x64 builds.
2016-11-03Fix Luratech builds on MSVC.Robin Watts
ulong is not defined on windows.
2016-11-03Fix signed/unsigned and size_t/int/fz_off_t warnings.Robin Watts
All seen in MSVC, mostly in 64bit builds.
2016-11-03Fix DebugGProof builds on windows.Robin Watts
GSDLLCALL was not being set.
2016-11-03Update JPEG lib with fix for Bug 697186Robin Watts
2016-11-02iOS app: adapt to the latest API changes, and fix display issue introduced ↵fred ross-perry
in 1dec53c.
2016-11-02Use pdf_annot_border to get the border width of an annotation.fred ross-perry
2016-11-03jni: Make it easy to use stext without options.Sebastian Rasmussen
2016-11-03jni: Only release stext options when present.Sebastian Rasmussen
2016-11-02Fix 697284: The origin was incorrectly calculated for rotated pages.Tor Andersson
2016-11-02android: Don't bound twice in update_changed_rects.Tor Andersson
2016-11-02android: Fix spelling error.Tor Andersson
2016-11-02android: Fix screen updates when deleting annotations.Tor Andersson
2016-11-02Don't check for NULL before calls to fz_free.Sebastian Rasmussen