commit 2c2e44c94ef17ecd5003a173237b57b315e28d93
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Aug 1 15:53:10 2024 -0700

    libXfont2 2.0.7
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit dbc2fbc5823e2a9fb6dc9536a1716674840da24c
Author: Enrico Weigelt, metux IT consult <info@metux.net>
Date:   Fri Jul 19 13:33:21 2024 +0200

    include: libxfont2: fix missing includes of fontproto.h
    
    * needs types from X11/fonts/fontproto.h (eg. NameCheckFunc) from this header,
    but forgot to include it.
    * needs NULL, which is defined in stddef.h
    
    Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxfont/-/merge_requests/28>

commit 0006737243ee3599775e41b59c42028e07a68f0a
Author: José Expósito <jexposit@redhat.com>
Date:   Mon Jul 1 16:28:04 2024 +0200

    stubs/atom.c: Fix memory leak in __libxfont_internal__MakeAtom
    
    Reported by a static analysis tool:
    
         9. libXfont2-2.0.6/src/stubs/atom.c:179:5:
            alloc_fn: Storage is returned from allocation function "malloc".
        10. libXfont2-2.0.6/src/stubs/atom.c:179:5:
            var_assign: Assigning: "a" = storage returned from
            "malloc(24UL + len + 1UL)".
        16. libXfont2-2.0.6/src/stubs/atom.c:194:6:
            leaked_storage: Variable "a" going out of scope leaks the
            storage it points to.
        #   192|  if ((ResizeHashTable() == FALSE) &&
        #   193|     ((hashTable == NULL) || (hashUsed == hashSize)))
        #   194|->   return None;
        #   195|  h = hash & hashMask;
        #   196|  if (hashTable[h]) {
    
    Fixes: 78085e6b683b ("stubs/atom.c: check for ResizeHashTable failure")
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxfont/-/merge_requests/27>

commit c47d610ae27e89911539773f15bd7940fc00d35d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 17 12:56:52 2024 -0800

    Use autoconf to check for float.h instead of platform-specific ifdefs
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3d41257544d7903935e6a1407f3da6624bbc3914
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 17 12:25:15 2024 -0800

    unifdef NCD
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit bac7adac9a9865ef736589863ad144d4172585e1
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 17 12:22:09 2024 -0800

    unifdef Lynx
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 1f7b4edf09faa5ca8088745c0ad94a01c63043cd
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 17 12:21:15 2024 -0800

    unifdef ISC
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit e38d1d27a1867b79eb86309f9d757133216cb32c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 17 12:20:37 2024 -0800

    unifdef __OSF1__
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 24951703b738407e172343f7721bd8217ee8430e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 17 12:19:18 2024 -0800

    unifdef sony
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c908d2773aea21692edcd1ea8aa9e11e9f5828b7
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jan 27 11:20:21 2024 -0800

    bitscale.c: remove unused MAX() macro
    
    Code that used it was removed in commit 632a2e90a4b209facc
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0be12a9f7c8cbc710660d29ec54328916cc41beb
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jan 27 11:19:36 2024 -0800

    bitscale.c: ensure SCORE macro expands properly
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 42d2b5add560ad9a14f36c5f628e83a39ac89f47
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Jan 27 11:12:09 2024 -0800

    bitscale.c: ensure SCORE2 macro expands properly
    
    Handles warning from Oracle Parfait 11.2 static analyzer:
    
    Error: Misleading macro
       Misleading macro [misleading-macro]:
          misleading evaluation of '/' operator in expansion of macro SCORE2 due to missing parentheses
            at line 299 of src/bitmap/bitscale.c.
            '/' operator has lower precedence than '/' operator inside macro body at line 438
            low precedence '/' operator is hidden by expansion of macro argument m at line 299
       Misleading macro [misleading-macro]:
          misleading evaluation of '/' operator in expansion of macro SCORE2 due to missing parentheses
            at line 299 of src/bitmap/bitscale.c.
            binary '*' operator has lower precedence than '/' operator inside macro body at line 440
            low precedence binary '*' operator is hidden by expansion of macro argument m at line 299
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 87b05995a861f75e38b889659a56b13485e58ce2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jan 24 17:44:38 2024 -0800

    configure: Use AC_SYS_LARGEFILE to enable large file support
    
    While font files should never be more than 2gb in size, they may be
    stored on filesystems with large inodes or timestamps outside of the
    32-bit range.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b4b35189d54bef2c5d6062518076505167c3dd9b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Jan 24 17:42:19 2024 -0800

    Modernize lseek() calls
    
    Position should be stored in an off_t, not an int, and the
    "whence" arg should use symbolic constants instead of raw numbers.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c0ab2a2c42af6d2f34a987c7b9903e9737e27a87
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 25 10:40:19 2023 -0700

    Set close-on-exec when opening fonts.dir & fonts.alias files
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a5ee0e9ab968d795fdb9983457a9b7d16ed249ef
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 4 10:44:45 2023 -0800

    configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
    
    AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008,
    so it's time to rely on it.
    
    Clears autoconf warnings:
    
    configure.ac:38: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
    configure.ac:38: You should run autoupdate.
    aclocal.m4:3640: AC_PROG_LIBTOOL is expanded from...
    configure.ac:38: the top level
    
    libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
    libtoolize: and rerunning libtoolize and aclocal.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a3a85df9a65a5185bdbd47823f336c4cb3fa14c3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 25 09:26:20 2023 -0800

    Remove "All rights reserved" from Oracle copyright notices
    
    Oracle no longer includes this term in our copyright & license notices.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 0bee036267c8e44a3109002965d18c9224296c08
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Thu Feb 16 19:02:29 2023 -0800

    configure: raise minimum autoconf requirement to 2.70
    
    Needed for builds on NetBSD to work correctly, since it depends on
    AC_USE_SYSTEM_EXTENSIONS defining _OPENBSD_SOURCE to expose the
    prototype for reallocarray() in the system headers.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 572d9d52f408f23905d3af22a02108991944ab2d
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Sat Nov 26 21:55:16 2022 -0800

    atom: Update Hash() to be unsigned
    
    This avoids undefined behavior (left shift overflow in signed integer type)
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit 5ca90ec8665294cb8499a54c303b8275eeeaaf4d
Author: Peter Harris <pharris@opentext.com>
Date:   Wed Nov 2 15:38:19 2022 -0400

    Fix font server reconnection timeout
    
    The great libxfont2 rewrite 135fb032e940ce226c9feb13e6e903f3ecbc5eb0 split
    fs_wakeup into fs_wakeup and fs_fd_handler. The fs_fd_handler side is
    called when there is new data on the socket. The fs_wakeup side is called
    on a timeout.
    
    If there's a connection timeout, the block handler will set the timeout
    to zero, expecting fs_wakeup to handle the timeout. Therefore, we need to
    call _fs_check_reconnect in fs_wakeup to handle the connection timeout.
    If we don't, the X server will go to 100% CPU (and the font server
    connection will not be retried).
    
    Signed-off-by: Peter Harris <pharris@opentext.com>

commit 644bea5c481365343e709d0f2ddbc553a6d8fc30
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Nov 5 09:16:14 2022 -0700

    Only link with libbsd if needed for reallocarray() or strlcat()
    
    Avoid unnecessary library dependency when using a libc with these
    functions included
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f476c0a09c0d0dd22d22f447cae9fa02eb560506
Author: Guillem Jover <guillem@hadrons.org>
Date:   Thu Oct 6 00:38:36 2022 +0000

    Switch from libbsd to libbsd-overlay
    
    This is the preferred usage form for libbsd, as it makes the code more
    portable and requires no special includes for libbsd, by transparently
    injects the needed standard headers that would be used on a BSD.
    
    Signed-off-by: Guillem Jover <guillem@hadrons.org>

commit d54aaf2483df6a1f98fadc09004157e657b7f73e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Aug 26 16:22:15 2022 -0700

    libXfont2 2.0.6
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit efb287223612e9225e5089bed76e348c236b15f0
Author: Peter Harris <pharris@opentext.com>
Date:   Thu Mar 25 15:56:31 2021 -0400

    Fix buffer overrun in FontFileMakeDir on WIN32
    
    When dirName is "" (eg. when called by BuiltinReadDirectory),
    FontFileMakeDir would read after the string when WIN32 is defined.
    
    Fix the overrun issue by checking the location of the found :
    before adding two.
    
    Signed-off-by: Peter Harris <pharris@opentext.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3c8fdf6e35bed077a5614b4094770e668c96b9e9
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Jun 21 17:37:32 2022 -0700

    Fix comments to reflect removal of OS/2 support
    
    Commit 6c29007756301 removed OS/2 support from the code,
    but missed updating the comments to match.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 8e3d94c867741319bf75b47266176cf677218641
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Mon Jun 20 23:32:52 2022 -0700

    Correct fsCreateACReq length
    
    Regressed-in: 6972ea08ee5b2ef1cfbdc2fcaf14f06bbd391561
    Fixes: https://gitlab.freedesktop.org/xorg/lib/libxfont/-/issues/13
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit 5cb3b8809b9f141a2cf8a4e00a8387c75dc6bc10
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Jun 20 12:30:41 2022 -0700

    configure: Use pkg-config to handle zlib dependency if possible
    
    Preserves fallback for systems like darwin without zlib.pc
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 12bed78985af1da2d1f4954a3491ee497a878b23
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Apr 6 14:37:42 2022 -0700

    Fix spelling/wording issues
    
    Found by using:
        codespell --builtin clear,rare,usage,informal,code,names
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f83ea5e953c6904578a458e2c2bc2e1d5ae3cb47
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Apr 6 14:14:21 2022 -0700

    Build xz tarballs instead of bzip2
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit a6aee4c9a41a95a0509f654beca27009671731b3
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Wed Apr 6 14:10:16 2022 -0700

    gitlab CI: add a basic build test
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3a4f68284c5aeea77789af1fe395cac35efc8562
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 1 17:36:43 2021 -0700

    libXfont2 2.0.5
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit daff8876379c64c7bee126319af804896f83b5da
Author: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Date:   Wed Jul 14 17:23:48 2021 +0100

    Fix out-of-bounds read in FontFileMakeDir()
    
    BuiltinReadDirectory() calls FontFileMakeDir ("", builtin_dir_count); and
    this causes the `dirName[dirlen - 1]` access to read before the start of
    the string. I found this while porting Xvnc to CHERI-RISC-V (which has
    bounds and permissions on all pointers).

commit ce7a3265019e4d66198c1581d9e8c859c34e8ef1
Author: Bernd Kuhls <bernd.kuhls@t-online.de>
Date:   Sat Oct 19 09:32:41 2019 +0200

    configure: define HAVE_LIBBSD when libbsd was found

commit 9529d2351fe52ffaaf9342343865073d5c5b6802
Author: Peter Harris <pharris@opentext.com>
Date:   Tue Mar 2 14:39:45 2021 -0500

    Fix use after free when font server connection lost
    
    If there are multiple blocks waiting for the same font, only one of them
    will have ->freeFont set. The rest will be in a state of FS_DEPENDING.
    
    If the font server dies before the font finishes opening, the block with
    ->freeFont set will call ->unload_font, invalidating the pfont pointers
    in the remaining FS_DEPENDING blocks.
    
    Avoid a use after free (and potential crash) by passing conn to
    fs_cleanup_font instead of dereferencing pfont to find the conn.
    
    Signed-off-by: Peter Harris <pharris@opentext.com>

commit e7b2cae1ad9f07c188bcad27767a2f4fa6e0c2a4
Author: Peter Harris <pharris@opentext.com>
Date:   Fri Mar 6 10:42:03 2020 -0500

    Fix crash when font server connection lost
    
    Always initialize the return value of fs_new_block_rec. Even if the
    conn->blockState is FS_BROKEN_CONNECTION | FS_RECONNECTING, we must not
    return with an uninitialized blockrec on the block list. When the
    blockrec times out, _fs_clean_aborted_blockrec calls fs_cleanup_bfont,
    which will try to follow pointers in the blockrec (which has not been
    initialized).
    
    Signed-off-by: Peter Harris <pharris@opentext.com>

commit 608640b87dc47233940664632e3ab8f13972be2b
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Thu Oct 17 19:11:52 2019 +0100

    Fix Win32 build since c4ed2e06 "Add some unit testing utilities"
    
    Provide Win32 replacements for realpath() and err.h

commit 13ebb8f32f767c596b1b8bd16b90703a8135f20b
Author: Adam Jackson <ajax@redhat.com>
Date:   Mon Sep 16 10:47:27 2019 -0400

    README: Remove mention of libXfont 1.5
    
    xfs was ported to libXfont2 in release 1.2, and bdftopcf 1.1 includes a
    copy of enough of the old libXfont1 code to not need an external
    libXfont at all.

commit ed8b8e9fe544ec51ab1b1dfaea6fced35470ad6c
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Sep 14 11:34:03 2019 -0700

    libXfont2 2.0.4
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit b46cd2fef2bfe192579930f29a830051670d4d00
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Sep 14 11:32:02 2019 -0700

    Add src/util/replace.h to noinst_HEADERS so it gets included in tarballs
    
    Found when "make distcheck" failed.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 5561a9dc835a249e58cfdb3c384547f6f401a15d
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 17 14:31:24 2019 -0700

    fs_read_glyphs: check if rep is null before dereferencing
    
    Resolves coverity warning def16 from the list in
    https://gitlab.freedesktop.org/xorg/lib/libxfont/issues/6
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c84ce6be6a7e2e70c9ab20b60bc7198699690d50
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 17 14:19:04 2019 -0700

    CatalogueRescan: if opendir() fails, unref fpes, but don't free the cat
    
    None of the callers of CatalogueRescan check for failure before accessing
    the cat pointer so don't free it (especially without clearing the pointer
    to it in fpe->private), just unref the contents.
    
    Can only be triggered if somehow stat() succeeds on the directory, but
    opendir fails anyway (removed between the calls?  permission problem?).
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c1c5c9aa4cacb9138d6a2e5d37619f7960b54536
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 17 13:56:03 2019 -0700

    ComputeScaledProperties: check for valid pointers before making atoms
    
    Resolves coverity warning def23 from the list in
    https://gitlab.freedesktop.org/xorg/lib/libxfont/issues/6
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 78085e6b683b4e5a13b38508597a0c93ac2ed9ea
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 17 13:41:02 2019 -0700

    stubs/atom.c: check for ResizeHashTable failure
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 3e0e36e4a9fee32105aa7c5cb6e089c495b92b10
Author: Maya Rashish <maya@NetBSD.org>
Date:   Fri Aug 9 12:53:48 2019 +0300

    Fix whitespace

commit 194cb45ceb510c3e580460919cd7e5dd31a285c8
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sun Aug 4 11:14:39 2019 -0700

    fontxlfd.c: tell gcc that switch fallthrough is intentional
    
    Quiets:
    src/util/fontxlfd.c: In function ‘FontParseXLFDName’:
    src/util/fontxlfd.c:450:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
      replaceChar = '*';
      ~~~~~~~~~~~~^~~~~
    src/util/fontxlfd.c:451:5: note: here
         case FONT_XLFD_REPLACE_ZERO:
         ^~~~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit ddbee30d3525cdd66b84056affc407601680cc29
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 3 19:29:05 2019 -0700

    Convert multiplying malloc calls to use mallocarray instead
    
    Introduces mallocarray as a macro calling reallocarray with a NULL
    pointer for the old allocation.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit f54470dab5b392380df61a22b4b4bef685b6cee2
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 3 19:09:19 2019 -0700

    Convert multiplying realloc calls to use reallocarray instead
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 27207d35d4b4bbd5d2b2c5f7e13a61ea43d04a4a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 3 16:13:21 2019 -0700

    Add reallocarray fallback if not provided by libc nor libbsd
    
    Implementation copied from the Xserver
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2178c7445a3464bd69637ad91a2dd0320a60e0df
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 3 18:19:11 2019 -0700

    Use bounds checking string functions everywhere
    
    Replace strcpy, strcat, sprintf with strlcpy, strlcat, snprintf
    everywhere, even where there were already bounds checks in place,
    to reduce time spent checking static analysis results.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit d4c941ea8b1dc07a14efce656bff58d31a14c985
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 3 16:05:21 2019 -0700

    Add strlcat & strlcpy fallbacks if not provided by libc nor libbsd
    
    Implementations copied from the Xserver
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit c4ed2e069dc8aa5b8b7ef2fc926ae8584ff2a67b
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Aug 3 13:45:54 2019 -0700

    Add some unit testing utilities
    
    The test/utils directory contains some standalone test programs for testing
    libXfont funtionality without needing a full X server session.  They could
    be used to generate automated unit testing in the future, but that work has
    not yet been done.
    
    [v2: updated original work from libXfont 1.5 to 2.0 API & makefiles]
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 77ae4048564eff2e96b80cedfac013877e46d506
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Jan 4 12:13:04 2017 -0500

    fontfile: Remove unused 'bc' slot from _FontEntry
    
    Whatever this is, we're not using it. On my machine we allocate about
    1100 of these structs, and this change reduces the struct from 152 to 48
    bytes, so this saves about 100k of memory.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 6624b5e705da8333a3bc63d1ddeea6b11e831e24
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Mar 16 12:40:03 2019 -0700

    Update configure.ac bug URL for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 66a26687b2b86b53c315544483b740deb6f01c1e
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Mon Nov 19 22:05:10 2018 -0800

    Update README for gitlab migration
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 099ed6fa9f293d283163b138830d43bbd47c5df1
Author: Rin Okuyama <rin@NetBSD.org>
Date:   Tue Feb 21 06:18:37 2017 +0000

    avoid -Wformat errors from clang when building with -DDEBUG
    
    https://bugs.freedesktop.org/show_bug.cgi?id=99882
    
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit cdb2f990348c3bd1407022f7e0e5fcba552d539f
Author: Matthieu Herrb <matthieu@herrb.eu>
Date:   Sat Nov 25 12:01:16 2017 +0100

    libXfont2 2.0.3
    
    Signed-off-by: Matthieu Herrb <matthieu@herrb.eu>

commit 7b377456f95d2ec3ead40f4fb74ea620191f88c8
Author: Michal Srb <msrb@suse.com>
Date:   Thu Oct 26 09:48:13 2017 +0200

    Open files with O_NOFOLLOW. (CVE-2017-16611)
    
    A non-privileged X client can instruct X server running under root to open any
    file by creating own directory with "fonts.dir", "fonts.alias" or any font file
    being a symbolic link to any other file in the system. X server will then open
    it. This can be issue with special files such as /dev/watchdog.
    
    Reviewed-by: Matthieu Herrb <matthieu@herrb.eu>

commit d82dfe25491c599f650b2ad868772c3b8e6ba7bc
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Oct 11 11:33:29 2017 -0400

    libXfont 2.0.2
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 672bb944311392e2415b39c0d63b1e1902905bcd
Author: Michal Srb <msrb@suse.com>
Date:   Thu Jul 20 17:05:23 2017 +0200

    pcfGetProperties: Check string boundaries (CVE-2017-13722)
    
    Without the checks a malformed PCF file can cause the library to make
    atom from random heap memory that was behind the `strings` buffer.
    This may crash the process or leak information.
    
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit d1e670a4a8704b8708e493ab6155589bcd570608
Author: Michal Srb <msrb@suse.com>
Date:   Thu Jul 20 13:38:53 2017 +0200

    Check for end of string in PatternMatch (CVE-2017-13720)
    
    If a pattern contains '?' character, any character in the string is skipped,
    even if it is '\0'. The rest of the matching then reads invalid memory.
    
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Julien Cristau <jcristau@debian.org>

commit 9112a6846b9d8ff18f7568c58e06d0a450e25814
Author: Adam Jackson <ajax@redhat.com>
Date:   Thu Apr 13 12:10:05 2017 -0400

    readme: Update for libXfont 2.0 interface change
    
    While xfs can be more or less trivially ported to 2.0, bcftopcf cannot
    because the font file I/O API is no longer externally visible. This is
    intentional, because bdftopcf is literally the only consumer of that
    API, and is itself only used in the build process for the classic core
    fonts themselves. The plan for bdftopcf is to import a copy of libXfont
    1.5 and link against that statically instead.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Acked-by: Peter Hutterer <peter.hutterer@who-t.net>

commit f8ff8d5f7442b3cbac57d5fe343aabd8f54a030f
Author: Emil Velikov <emil.l.velikov@gmail.com>
Date:   Mon Mar 9 12:00:52 2015 +0000

    autogen.sh: use quoted string variables
    
    Place quotes around the $srcdir, $ORIGDIR and $0 variables to prevent
    fall-outs, when they contain space.
    
    Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

commit 75b9a15b51a062941a549fef0dedaee9daef4867
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Jan 24 10:32:07 2017 +1000

    autogen.sh: use exec instead of waiting for configure to finish
    
    Syncs the invocation of configure with the one from the server.
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: Emil Velikov <emil.velikov@collabora.com>

commit 33a98f2b5343da927f29191348e992f505544873
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed Jun 8 14:28:09 2016 -0400

    freetype: Fix a logic error in computing face name
    
    gcc6 chirps an indentation warning here, but really this is bad code.
    Effectively this would ignore en_US or en_UK names for the font, despite
    that those are the English names the font is most likely to have.
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 79084468fb844e386a72d938c67be0728959a2bd
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed May 18 11:49:52 2016 -0400

    autogen: Set a default subject prefix for patches
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>

commit 7557fe152d9948bcb4b805bb7b6b6f8121bd34fb
Author: Adam Jackson <ajax@redhat.com>
Date:   Wed May 18 11:52:27 2016 -0400

    configure: Use -fvisibility=hidden if available
    
    text       data     bss     dec     hex filename
     233732    8168    1616  243516   3b73c .libs/libXfont2.so.2.before
     217113    6816    1616  225545   37109 .libs/libXfont2.so.2.after
    
    Signed-off-by: Adam Jackson <ajax@redhat.com>
    Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>

commit 6972ea08ee5b2ef1cfbdc2fcaf14f06bbd391561
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Mon May 30 00:46:21 2016 -0700

    fserve: Fix a buffer read overrun in _fs_client_access
    
    https://bugs.freedesktop.org/show_bug.cgi?id=83224
    
    Found by clang's Address Sanitizer
    
            crac.num_auths = set_font_authorizations(&authorizations, &authlen,
                                                     client);
            /* Work around bug in xfs versions up through modular release 1.0.8
               which rejects CreateAC packets with num_auths = 0 & authlen < 4 */
            if (crac.num_auths == 0) {
                authorizations = padding;
                authlen = 4;
            } else {
                authlen = (authlen + 3) & ~0x3;
            }
            crac.length = (sizeof (fsCreateACReq) + authlen) >> 2;
            crac.acid = cur->acid;
            _fs_add_req_log(conn, FS_CreateAC);
            _fs_write(conn, (char *) &crac, sizeof (fsCreateACReq));
            _fs_write(conn, authorizations, authlen);
    
    In the case in the report, set_font_authorizations setup authorizations as a
    34 byte buffer (and authlen set to 34 as one would expect). The following
    block changed authlen to 36 to make it 4byte aligned and the final _fs_write()
    caused us to read 36 bytes from this 34 byte buffer.
    
    This changes the incorrect size increase to instead use _fs_write_pad which
    takes care of the padding for us.
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit d967caa988eaabd9e84c82879e2f21bd33b952a7
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Sun May 29 23:39:06 2016 -0700

    fstrans: Remove unused foo() function
    
    The point of it seems to have been to silence an unused function warning, but
    there's no point if we're just transitioning that to another unused function
    warning.
    
    src/fc/fstrans.c:32:20: warning: unused function 'foo' [-Wunused-function]
    static inline void foo(void) { (void) is_numeric("a"); }
                       ^
    1 warning generated.
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
    Reviewed-by: Keith Packard <keithp@keithp.com>

commit e6009adbc89ec3e1f924bcb57b333c1c02f5e66d
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Sun May 29 23:37:13 2016 -0700

    fserve: Silence a -Wformat warning
    
    src/fc/fserve.c:653:32: warning: format specifies type 'int' but the argument has type 'CARD32' (aka 'unsigned long') [-Wformat]
                   " from font server\n", rep->length);
                                          ^~~~~~~~~~~
    1 warning generated.
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit ac559fad20bbae45332c758abb6a790c3fd341a2
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Sun May 29 23:34:35 2016 -0700

    bitmap: Bail out on invalid input to FontFileMakeDir instead of calling calloc for 0 bytes
    
    Found by clang static analysis:
        Call to 'calloc' has an allocation size of 0 bytes
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit d0fff111992fed9d9bfbf0c19e136bda9ba1db55
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Sun May 29 23:29:50 2016 -0700

    FreeType: Correct an allocation size
    
    Found by clang static analysis:
        Result of 'calloc' is converted to a pointer of type 'int', which is
        incompatible with sizeof operand type 'int *'
    
    This is likely benign because the old size was larger on any platform where
    sizeof(int) <= sizeof(void *), which is everywhere.
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit eefc0b0b908eb8533e704d7156ce983ad7891cc5
Author: Keith Packard <keithp@keithp.com>
Date:   Sat Dec 12 14:54:26 2015 -0800

    Revert "Add compiler warning flags". Leave warning fixes.
    
    This reverts commit eb67d10ae82b364a4324e96ce53baaa4e5e75f97, but
    leaves the warning fixes in place; it looks like either I was
    confused, or something has changed so that XORG_DEFAULT_OPTIONS now
    pulls in the appropriate compiler warnings.

commit 14488af0338191356c0177e3d0b5fa473ffbd59c
Author: Keith Packard <keithp@keithp.com>
Date:   Fri Dec 11 07:08:29 2015 -0800

    Bump version to 2.0.1
    
    This release just fixes some build issues with 2.0.0
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 95a40553b8f12cd9479dd4b3c531e2069c53b870
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 9 14:53:26 2015 -0800

    Remove fontconf.h
    
    This file used to advertise which font formats the library
    supports. The X server doesn't care, so let's just remove it so that
    it doesn't conflict with the older version of libXfont
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 903cd14547b445d7f40b52462750fc8b28441581
Author: Matt Turner <mattst88@gmail.com>
Date:   Wed Sep 2 19:15:27 2015 -0700

    Convert to non-recursive build.

commit 9928d71ec04cd630a8ed9c583d144decb4e98c05
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Dec 9 09:07:30 2015 -0800

    Add missing 'attributes.m4' file
    
    Matt Turner noted that this file was missing; 'make distcheck' doesn't
    appear to catch this kind of problem.
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit 135fb032e940ce226c9feb13e6e903f3ecbc5eb0
Author: Keith Packard <keithp@keithp.com>
Date:   Wed Sep 2 00:04:32 2015 -0700

    Eliminate calls back to X server or font server functions by name (v4)
    
    This eliminates the weak symbol adventures and makes all of the calls
    back to the X server or Font server go through a table of functions
    instead, clarifying the required API.
    
    As this is a rather major change to the API for the library, it now
    installs itself as libXfont2 instead of libXfont, and the package
    config file is now xfont2.pc.
    
    All of the installed headers remain the same as the original library;
    there's now a new include file, libxfont2.h, which defines the X
    server and Font server interfaces.
    
    This moves util/atom.c to stubs/atom.c and reformats that file, hence
    the diff being larger than it would otherwise be.
    
    v2: Rename to libXfont2 instead of libXfont_2 as suggested by Emil Velikov
        Fix whitespace in stubs/atom.c, which was moved from util/
    
    v3: Remove select masks from API. Expose single 'font_init' function
        for all library initialization.
    
    v4: Change name of distributed tarballs to libXfont2 as well
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit eb67d10ae82b364a4324e96ce53baaa4e5e75f97
Author: Keith Packard <keithp@keithp.com>
Date:   Mon Dec 7 15:46:13 2015 -0800

    Add compiler warning flags and fix warnings
    
    Mostly signed vs unsigned comparisons
    
    Signed-off-by: Keith Packard <keithp@keithp.com>

commit d6877a7c1c35985f6a75b6cd4e814595e781adc4
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Wed Oct 21 21:03:00 2015 -0700

    Use NO_WEAK_SYMBOLS instead of -flat_namespace
    
    Lesser of two evil hacks, I suppose...
    
    This reverts commit 0386fa77367a305deea3cc27f8a3865cc3c467c0.

commit 2788c6984bc54bfba61b2dbdb5353978199d8a37
Author: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Date:   Wed Oct 21 21:27:26 2015 -0700

    stubs: Add missing externs for declarations in the NO_WEAK_SYMBOLS && PIC stubs resolution
    
    Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>

commit d66f107d6e714a54515f39d94caf46aef9be7416
Author: Thomas Klausner <wiz@NetBSD.org>
Date:   Wed Feb 25 21:45:50 2015 +0100

    Fix is*() usage.
    
    The argument must be an unsigned char or -1; in these cases
    we know it's not -1 so cast it to unsigned char.
    Fixes
    warning: array subscript is of type 'char' [-Wchar-subscripts]
    
    Signed-off-by: Thomas Klausner <wiz@NetBSD.org>

commit 1a73d6828dfa03924f2d68644fb5b99afd9c78e2
Author: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Date:   Mon Jul 13 14:43:06 2015 -0400

    bdfReadCharacters: Allow negative DWIDTH values
    
    The fix for CVE-2015-1804 prevent DWIDTH to be negative.
    However, the spec states that "DWIDTH [...] is a vector indicating the
    position of the next glyph’s origin relative to the origin of this glyph."
    
    So negative values are correct.
    
    Found by trying to compile XTS.
    
    Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
    Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 159bfa4ec094e7d342c9b59c31bfea7dccbac58a
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Sat Feb 7 17:24:48 2015 -0800

    doc: add a couple olinks to fsproto & xfs-design docs
    
    Don't seem to have ability to link to BDF or Xserver internals docs yet
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit da4246c98bc51297daeec47c15181e179df94013
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Tue Mar 17 08:12:19 2015 -0700

    libXfont 1.5.1
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>

commit 2351c83a77a478b49cba6beb2ad386835e264744
Author: Alan Coopersmith <alan.coopersmith@oracle.com>
Date:   Fri Mar 6 22:54:58 2015 -0800

    bdfReadCharacters: ensure metrics fit into xCharInfo struct [CVE-2015-1804]
    
    We use 32-bit ints to read from the bdf file, but then try to stick
    into a 16-bit int in the xCharInfo struct, so make sure they won't
    overflow that range.
    
    Found by afl-1.24b.
    
    v2: Verify that additions won't overflow 32-bit int range either.
    v3: As Julien correctly observes, the previous check for bh & bw not
[--snip--]
