Age | Commit message (Collapse) | Author |
|
|
|
Take on a (slightly tweaked) version of Simon Reinhardt's
patch.
The actual logic is left entirely unchanged; minor changes
have been made to the names of functions/types to avoid
clashing in the cmapdump.c repeated inclusion.
Currently this should really only affect xps files, as strtof
is only used as fz_atof, and that's (effectively) all xps for
now.
I will look at updating lex_number to call this in future.
|
|
|
|
Because of a shortcoming in harfbuzz, we can't easily force
all its allocations through our allocators.
We fudge it, with the addition of some macros to change
malloc/free/calloc into hb_malloc/hb_free/hb_calloc. To
prevent thread safety issues, we use our freetype lock
around calls to harfbuzz.
We stash the current context in a static var.
|
|
|
|
Look up fallback fonts by unicode script, with a flag to select the serif or
sans-serif font style where such variants exist.
Move all builtin fonts into fitz namespace.
|
|
|
|
|
|
|
|
|
|
Makes valgrind somewhat usable (glfw and xlib still leak plenty of
global objects at exit).
|
|
|
|
|
|
|
|
Keep the extra thirdparty libraries (curl and glfw) separate.
This matches the build process for android and win32.
Also purge some unused makefile sections.
|
|
|
|
In particular this takes on the Memento fixes for bug 696183.
|
|
MuPrintPageRenderer.h:2:9: error: 'MuDocRef.h' file not found with <angled> include; use "quotes" instead
MuPrintPageRenderer.m:35:16: warning: if statement has empty body [-Wempty-body]
MuPrintPageRenderer.m:35:16: note: put the semicolon on a separate line to silence this warning
|
|
In preparation of adding pdf_write_document that writes a document
to a fz_output stream.
|
|
- added four zlib files to Makethird that contain functions needed
by the new version.
- added -Wno-implicit-function-declaration so these new files, which
contain some implicit declarations, would build for iOS
- added a section to Info.plist that holds the new API key, with an
invalid value that the release build script will fill in.
- changes to MuAppDelegate for the new version.
<log></log>
|
|
A new TestFlight build could not be uploaded without making sure that
the default launch screen image was getting placed in the app package.
<log></log>
|
|
Starting with Xcode 7, bit code is enabled by default. This change enables it
in the static libraries that are linked, by adding the appropriate compiler
switch.
Also added UIRequiresFullScreen to the plist; this seems to have no ill
effect when uing XCode 6.
<log></log>
|
|
Separate naming of functions that save complete files to disk
from functions that write data to streams.
|
|
Push the pointer->long and long->pointer casting through 2
static inline functions.
|
|
Less risk of confusion with the text type used in the device interface.
|
|
Otherwise we can't run file generation tools with a 64-bit target
on a 32-bit host.
|
|
|
|
|
|
|
|
|
|
|
|
Slow, but at least it won't crash.
Fix for bug 695742.
|
|
|
|
|
|
arrays
The list box and combo box can have values that are 2-element arrays. The first element
is the "export" value and the second element is the value that should be shown
in the list box UI. This fix ensures that we get the proper value to show in the UI.
Also, it adds the option to get the export values. These are needed if you wish to
update the field dictionary's V (value) entry, which is the currently selected values(s).
This fix works well with gsview. The other viewers will now display the proper content
in their UI, (unlike before this fix) but may need a bit more work to ensure that the
proper V (value) is updated with changes in the selections. In addition, we add
selection rectangles to the selected list box items.
|
|
Always build with the 'windows' subsystem and use WinMain.
Turn on USE_OUTPUT_DEBUG_STRING to capture fz_warn and fz_throw error messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|