Age | Commit message (Collapse) | Author |
|
Add tables for Windows-1250, Windows-1251, and ISO-8859-1.
Also add unicode_from_encoding tables.
Move encodings from PDF namespace to Fitz.
|
|
|
|
|
|
The core library doesn't know where a document comes from, since we can
open it as a stream, etc. Let the viewer handle relative file URLs.
|
|
|
|
Don't pass the information as a separate argument.
|
|
A positive wParam value maps to button rotated forward, away from the
user, which is equivalent to button 4 in X11.
|
|
Extracting embedded files can be trivially done with 'mutool show'
or a simple mutool run script.
The portfolio creation code is incomplete, and would require a lot of
work and testing with Adobe in order to be useful.
|
|
|
|
This matches the behaviour of mupdf-gl.
|
|
|
|
Fitting the page to the screen needs more precision than an integer DPI.
|
|
Also zoom to fit the window.
|
|
This uses an undocumented Rotate property of annotations, which is also
used by Adobe.
|
|
|
|
|
|
|
|
Behave like Firefox, Gimp, etc.
|
|
This option is exposed as the -D flag to mutool clean.
Allow saving a document without encryption.
The next step is to allow saving a document with new encryption, but this
may require a fair amount of rejigging since the PDF write code to keep
separate doc->crypt objects for decryption and encryption.
|
|
Fix DisplayList.search() to return a Quad[], not a Rect[].
Add a Rect constructor that takes a Quad.
Modify the sample Java viewer accordingly.
This is necessary to (partially) fix SmartOffice bug #700031.
|
|
|
|
|
|
Requires Linux (or possibly MacOS X) and an installed emsdk to build.
|
|
Was set to create an exe rather than a lib. For some reason this
didn't upset VS2005, but did upset VS2008.
|
|
Pull in the latest changes from mainline lcms2, and bugfixes from
gs. This should now be the definitive version.
|
|
|
|
Also save history when glut closes the window or otherwise exits the
main loop.
|
|
|
|
This release includes the auto-generated ragel files, so we don't need
to use the Artifex branch anymore.
|
|
Use MuJS to parse/write JSON object.
|
|
Such as the Windows XP "C:\Documents and Settings\" user directories.
|
|
|
|
When clicking a text/choice/signature field, pop up a dialog to fill in
the value.
Hide widget annotations in annotation editor.
|
|
|
|
Drop the unused 'serif' argument to the CJK lookup functions.
Use the BCP 47 names for CJK scripts and languages:
zh-Hant for traditional Chinese,
zh-Hans for simplified Chinese,
ja for Japanese,
ko for Korean.
The lookup function also allows commonly used language+country codes:
zh-TW and zh-HK for traditional Chinese,
zh-CN for simplified Chinese.
|
|
Don't bother compiling the freetype C files that are #included by ftbase.c
This fixes a harmless "repeated symbol" warning in the windows build.
|
|
Using #ifdef FZ_ENABLE_ means we build code in, even if we have
defined FZ_ENABLE_WHATEVER to be 0 (as we do in config.h).
|
|
|
|
|
|
There is a regression for 2325_-_JPX_image_with_padding_rejected.pdf.
Object 3 in that document is a JPX-encoded image. Its EOC marker is
preceded by two extra bytes of data, 0x80 0x80. This makes the file
broken according to the JPEG 2000 specification.
Acrobat Reader and the Kakadu JPX decoder accepts this file without
issues, so OpenJPEG 2.1.0 added code to fix this (bug 226, commit
005e75bdc). That fix detects exactly two bytes of 0x80 0x80, a rather
brittle fix. Adding more padding or changing the padding byte values
is not accepted. Adding more padding is acceptable to Acrobat Reader
and Kakadu. An unrelated fix for another problem has since broken
OpenJPEG's support for this broken image.
|
|
|
|
|
|
|
|
|
|
This requires subclasses of Device to implement its full interface.
It also makes the compiler complain if there is a difference between
the interface in Device and its subclasses. The drawback is that
all Devices are required to implement all methods, but that is an
easy hurdle to overcome. This change found the discrepancies between
the Device, NativeDevice and TraceDevice interfaces fixed in the
previous commits.
|
|
Several previous updates to the Device interface required updates
to TraceDevice but were forgotten.
|
|
|
|
|
|
|
|
|