Support text (aka sticky note) annotations
Take on JBIG2Dec fixes from ghostscript
Delete unused variable
Bug 694851: pass more information to fz_load_system_font

The following changes allow font providers to make better choices WRT
what font to provide and under what circumstances:

* bold and italic flags are passed in so that implementors can decide
  themselves whether to ask for simulated boldening/italicising
  if a font claims not to be bold/italic
* is_substitute is replaced with needs_exact_metrics to make the
  meaning of this argument hopefully clearer (that argument is set only
  for PDF fonts without a FontDescriptor)
* the font name is always passed as requested by the document instead
  of the cleaned name for the standard 14 fonts which allows
  distinguishing e.g. Symbol and Symbol,Bold
Bug 695040: prevent integer overflow in pdf_xref_size_from_old_trailer
Bug 695040: prevent hang in path flattening

If the expansion of a transformation matrix is huge, the path flatness
becomes so small that even simple paths consist of millions of edges
which easily causes MuPDF to hang quite long for simple documents. One
solution for this is to limit the allowed flatness.
load StandardEncoding for non-embedded non-symbolic encoding-less fonts

See https://code.google.com/p/sumatrapdf/issues/detail?id=2526 for a
file which renders wrongly if no encoding is loaded.
make pdf_new_obj_from_str throw on error

Currently, pdf_new_obj_from_str returns NULL if the object can't be
parsed. This isn't consistent with how all other pdf_new_* methods
behave which is to throw on errors.
Pull in latest OpenJPEG fixes from gs.