In IntersectLines, cache data to be placed in inter until return time so as to avoid inconsistent behavior when somebody calls it with the same address as an input and an output.
Add comments.
Merge pull request #1470 from fontforge/intersect_lines_fix

Fix IntersectLines NaN problems.
comment FONTFORGE_ARG_WITH_LIBPNG() macro
Fix FONTFORGE_ARG_WITH_LIBJPEG() to hard-stop if "--with" but not there

FONTFORGE_ARG_WITH_LIBJPEG complains of no pkg but doesn't test for it.
Fixed so that ./configure will hard-stop if user requires --with-libjpeg
instead of previous wantings. Added more info in configure.ac and
fixed typos in libpng and libreadline checks.
Fix FONTFORGE_ARG_WITH_LIBTIFF() to hard-stop if "--with" but not there

Ensure libtiff is >= version4.0 by checking for a function removed in 4.0
Check for header and library. Do hardstop if user wants --with but libtiff
doesn't exist, or lower than 4.0, or no developer tiff*.h header files.
Merge pull request #1471 from JoesCat/check_headers_and_libraries_2

hard-stops for with-libjpeg and/or with-libtiff
Need to free() GIOGetMimeType() results before returning. See issue #1433

Converted GIOGetMimeType() to use basic malloc/free instead of possibly
more complex (unknown?) g_free() before returning results. GImageRead()
converted to free() mime results before continuing on with next step.
Free "mime" memory in GFileChooserDefFilter(). see issue #1433
Merge remote-tracking branch 'upstream/master'
Avoid Python references in ufo.c when compiling without Python.
Add strtok_r compatibility for Windows.
Fix a missing declaration.
Really fix that missing declaration.
Merge pull request #1473 from JoesCat/master

Free memory in GFileChooserDefFilter, GImageRead, and GIOGetMimeType.
Merge pull request #1475 from fontforge/ufo_libxml2_1

Fix ufo.c compilation on Windows and in Python-free environments.
Unconditional expansion to TrueType GDEF table can cause problems.

Code was put in tottfgpos.c in routine otf_dumpgdef() to allow
addition of a newly documented fifth subtable type in TrueType
GDEF tables.  Unfortunately, while actually creating the new
subtable data is conditional on whether needed or not, the newer
fifth offset is always unconditionally inserted into the GDEF
header.  This (small) incompatibility can trouble some programs
reading the unconditionally expanded GDEF header.

When warranted, FF will produce a "mark set definitions" subtable.
When it does so it will change the GDEF table version from
0x00010000 to 0x00010002 to signal that this newer subtable has
been added (and as the newer TTF documentation requests).

However, the code always adds the fifth offset word to the table
header, no matter what header version value was used.

The example failure is Microsoft's utility ttfdump dying when
dumping a TTF file's GDEF table, saying
  ; 'GDEF' Table - Glyph Definition
  ;-------------------------------------
  Error: Table "T000c" not referenced. Data Misalignment?

(The mysterious "T000c" is because of the unsignaled fifth offset
word value of null at offset 0x000C from start of GDEF header.)

This result for ttfdump program version
  ; TrueType v1.0 Dump Program - v1.8, Oct 29 2002, rrt, dra, gch, ddb, lcp, pml

With this fix ttfdump now can completely dump the GDEF table,
and can also now dump the following 4 or more tables missing
from previous ttfdump listings.

This new subtable is documented here
    http://www.microsoft.com/typography/otspec/gdef.htm
and which mentions both "four GDEF tables" and "five GDEF tables"
which gives an indication of how hurried the new addition was.
Add new development package reqd to install instructions

Recently the need for library package uthash was added.
The list of packages for the suggested "sudo apt-get install ..."
command needs to have "uthash-dev" added to it.
Move gnu licensed GIOGetMimeType() code out of BSD giomime.c

This code should have been put in a fresh new file under the correct
license in the first place, instead of having intermingled BSD and
GNU code in same file. Intermingled code already caused enough spats
and fits for anyone looking hard enough at past docs, issues, and forks.
Add GIOguessMimeType() for operating systems that have weak mime returns

Many operating systems make use of the dot3 extension on filenames to
differentiate file types. This routine reads a list of known file ext
types and generates a corresponding mime code to be passed back to code.