Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/fonttosfnt/dist initial import of fonttosfnt-...



details:   https://anonhg.NetBSD.org/xsrc/rev/fcbdec2ac969
branches:  trunk
changeset: 10593:fcbdec2ac969
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Nov 01 10:23:18 2020 +0000

description:
initial import of fonttosfnt-1.2.0

diffstat:

 external/mit/fonttosfnt/dist/ChangeLog       |  132 ++++++++++++++
 external/mit/fonttosfnt/dist/Makefile.in     |   16 +-
 external/mit/fonttosfnt/dist/aclocal.m4      |   48 ++--
 external/mit/fonttosfnt/dist/compile         |    6 +-
 external/mit/fonttosfnt/dist/configure       |   24 +-
 external/mit/fonttosfnt/dist/configure.ac    |    2 +-
 external/mit/fonttosfnt/dist/depcomp         |    2 +-
 external/mit/fonttosfnt/dist/fonttosfnt.c    |    6 +
 external/mit/fonttosfnt/dist/fonttosfnt.h    |   37 +++-
 external/mit/fonttosfnt/dist/install-sh      |   13 +-
 external/mit/fonttosfnt/dist/man/Makefile.in |    4 +-
 external/mit/fonttosfnt/dist/missing         |    2 +-
 external/mit/fonttosfnt/dist/read.c          |   50 ++--
 external/mit/fonttosfnt/dist/util.c          |   30 ++-
 external/mit/fonttosfnt/dist/write.c         |  243 ++++++++++++++++++++------
 15 files changed, 465 insertions(+), 150 deletions(-)

diffs (truncated from 1217 to 300 lines):

diff -r 3fa03b01fddc -r fcbdec2ac969 external/mit/fonttosfnt/dist/ChangeLog
--- a/external/mit/fonttosfnt/dist/ChangeLog    Sun Nov 01 10:23:17 2020 +0000
+++ b/external/mit/fonttosfnt/dist/ChangeLog    Sun Nov 01 10:23:18 2020 +0000
@@ -1,3 +1,135 @@
+commit 91af80a0aa18c969cd90668eed80bcbfc1e40661
+Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
+Date:   Wed Oct 21 16:36:30 2020 +1000
+
+    Bump to 1.2.0
+
+commit ca9ad454496bebbc37125959d049cf2173c07c2a
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Sun Aug 16 21:56:15 2020 +0200
+
+    use PIXEL_SIZE to calculate lineGap
+
+commit 0447b81053d4ccaa1e1b0087bf6076abae431cae
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Fri Jul 31 00:07:26 2020 +0200
+
+    fix sign of sTypoDescender
+
+commit 747c58aa17b9adc016aed0caab049417a20f0b22
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Thu Jul 30 22:46:50 2020 +0200
+
+    calculate capHeight and xHeight as recommended
+
+commit 64e7f386baf69fa6857047fc8ad9b4cd9a8185f1
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Thu Jul 30 21:34:59 2020 +0200
+
+    move metrics calculation to write.c
+
+commit 19412d9ac3fb7f00346273cfe914601c844f5872
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Sat Jul 18 08:39:01 2020 +0200
+
+    Add warnings when wrapping multiple fonts and on PCF fonts
+
+commit 1fa97fdc6dc900728be8523be89096b4cb117d4d
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Sun Jul 12 15:36:18 2020 +0200
+
+    provide version 5 OS/2 table
+    
+    this was an attempt to fix linespacing, which did not help, but
+    would still keep it around to avoid double efforts.
+
+commit facf71184163d50adf0b8fccffcaffa18b7bd277
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Sun Jul 12 15:12:59 2020 +0200
+
+    use design metrics in eblc instead of calculated metrics
+    
+    This will probably not work for a font providing multiple strikes.
+    But .bdf fonts don't provide multiple strikes (or do they?!?)
+    I don't know about .pcf fonts, but I would recommend against running fonttosfnt
+    on .pcf fonts because bdf2pcf seems to loose some attributes during conversion.
+
+commit 9fb05de7d6c57d045b4a88516f3c28cf3cf98722
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Tue Jul 7 21:02:56 2020 +0200
+
+    use more properties according to XLFD
+
+commit 58cbf737557f34744b950668e3354ec2f2dae766
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Mon Jul 6 22:50:23 2020 +0200
+
+    use standard C rounding functions
+
+commit f8fa7919397659fb0ac5dade75152343d57f20ce
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Tue Jun 16 18:43:12 2020 +0200
+
+    correctly set OS2 fsSelection for italic and bold fonts
+
+commit 1df352c9e862686692ac053b838d76a36d721805
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Mon Jun 15 14:08:49 2020 +0200
+
+    truncate foundry if there is no known abbreviation.
+    
+    Honestly I have no idea why the foundry needs to fit in four bytes.
+    But anyway truncation might indeed be better then "UNKN" ?
+    
+    Anyone more knowledgeable than me out there?
+
+commit 8532812f1eddfadc0bcfad220b283bf5990bba10
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Sun May 31 08:02:24 2020 +0200
+
+    use zero lineGap, sTypoDescender should be negative
+    
+    According to
+    https://simoncozens.github.io/fonts-and-layout/opentype.html#vertical-metrics-hhea-and-os2
+    sTypoDescender should be negative and lineGap should be zero.
+
+commit de8068f9c4251fb6cb9407c07bf245e1937270bc
+Author: Christopher Zimmermann <madroach%gmerlin.de@localhost>
+Date:   Sun May 31 07:58:10 2020 +0200
+
+    don't add arbitrary number to the glypth metrics
+    
+    This caused pango to calculate wrong, too large font extents and in
+    consequence gvim used too large character cells.
+
+commit 7096c58f3fe3b6c79508cb16daac5c5bb2f042e7
+Author: Peng Wu <pwu%redhat.com@localhost>
+Date:   Thu Jun 11 14:09:35 2020 +0800
+
+    Guess Regular style for Medium Weight
+    
+    X Logical Font Description recognize "Medium" as "Regular".
+    Update the faceWeight function to change style from "Medium" to "Regular".
+
+commit 81a61c049e6de80120531f0770b22e7637c9acb9
+Author: rnhmjoj <rnhmjoj%inventati.org@localhost>
+Date:   Fri Feb 7 17:47:52 2020 +0100
+
+    Fix uninitialised memory write
+    
+    If macTime() fails write zeros instead of unitialized memory to
+    the date fields.
+
+commit 51e8117654fb092ae5412d7aa184bfc6b498c954
+Author: rnhmjoj <rnhmjoj%inventati.org@localhost>
+Date:   Fri Feb 7 17:46:54 2020 +0100
+
+    Fix incorrect error handling in macTime()
+    
+    mktime() and time() return (time_t -1) to signal an error.
+    Checking for negative values will incorrectly assume an error
+    happened for any calendar date before the unix epoch.
+
 commit 1d757ff6fa30079790fc44b141f6d0e4d5411f13
 Author: Peter Hutterer <peter.hutterer%who-t.net@localhost>
 Date:   Mon Jan 6 12:55:31 2020 +1000
diff -r 3fa03b01fddc -r fcbdec2ac969 external/mit/fonttosfnt/dist/Makefile.in
--- a/external/mit/fonttosfnt/dist/Makefile.in  Sun Nov 01 10:23:17 2020 +0000
+++ b/external/mit/fonttosfnt/dist/Makefile.in  Sun Nov 01 10:23:18 2020 +0000
@@ -1,7 +1,7 @@
-# Makefile.in generated by automake 1.16.1 from Makefile.am.
+# Makefile.in generated by automake 1.16.2 from Makefile.am.
 # @configure_input@
 
-# Copyright (C) 1994-2018 Free Software Foundation, Inc.
+# Copyright (C) 1994-2020 Free Software Foundation, Inc.
 
 # This Makefile.in is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -190,8 +190,8 @@
   $(am__extra_recursive_targets)
 AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
        cscope distdir distdir-am dist dist-all distcheck
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
-       $(LISP)config.h.in
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) \
+       config.h.in
 # Read a list of newline-separated strings from the standard input,
 # and print each of them once, without duplicates.  Input order is
 # *not* preserved.
@@ -710,6 +710,10 @@
        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
        $(am__post_remove_distdir)
 
+dist-zstd: distdir
+       tardir=$(distdir) && $(am__tar) | zstd -c $${ZSTD_CLEVEL-$${ZSTD_OPT--19}} >$(distdir).tar.zst
+       $(am__post_remove_distdir)
+
 dist-tarZ: distdir
        @echo WARNING: "Support for distribution archives compressed with" \
                       "legacy program 'compress' is deprecated." >&2
@@ -752,6 +756,8 @@
          eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
        *.zip*) \
          unzip $(distdir).zip ;;\
+       *.tar.zst*) \
+         zstd -dc $(distdir).tar.zst | $(am__untar) ;;\
        esac
        chmod -R a-w $(distdir)
        chmod u+w $(distdir)
@@ -946,7 +952,7 @@
        clean-binPROGRAMS clean-cscope clean-generic cscope \
        cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
        dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
-       dist-zip distcheck distclean distclean-compile \
+       dist-zip dist-zstd distcheck distclean distclean-compile \
        distclean-generic distclean-hdr distclean-tags distcleancheck \
        distdir distuninstallcheck dvi dvi-am html html-am info \
        info-am install install-am install-binPROGRAMS install-data \
diff -r 3fa03b01fddc -r fcbdec2ac969 external/mit/fonttosfnt/dist/aclocal.m4
--- a/external/mit/fonttosfnt/dist/aclocal.m4   Sun Nov 01 10:23:17 2020 +0000
+++ b/external/mit/fonttosfnt/dist/aclocal.m4   Sun Nov 01 10:23:18 2020 +0000
@@ -1,6 +1,6 @@
-# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
+# generated automatically by aclocal 1.16.2 -*- Autoconf -*-
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2283,7 +2283,7 @@
 AC_SUBST([CHANGELOG_CMD])
 ]) # XORG_CHANGELOG
 
-# Copyright (C) 2002-2018 Free Software Foundation, Inc.
+# Copyright (C) 2002-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2298,7 +2298,7 @@
 [am__api_version='1.16'
 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
 dnl require some minimum version.  Point them to the right macro.
-m4_if([$1], [1.16.1], [],
+m4_if([$1], [1.16.2], [],
       [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
 ])
 
@@ -2314,14 +2314,14 @@
 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.16.1])dnl
+[AM_AUTOMAKE_VERSION([1.16.2])dnl
 m4_ifndef([AC_AUTOCONF_VERSION],
   [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
 
 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2373,7 +2373,7 @@
 
 # AM_CONDITIONAL                                            -*- Autoconf -*-
 
-# Copyright (C) 1997-2018 Free Software Foundation, Inc.
+# Copyright (C) 1997-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2404,7 +2404,7 @@
 Usually this means the macro was only invoked conditionally.]])
 fi])])
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2595,7 +2595,7 @@
 
 # Generate code to set up dependency tracking.              -*- Autoconf -*-
 
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2634,7 +2634,9 @@
   done
   if test $am_rc -ne 0; then
     AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
-    for automatic dependency tracking.  Try re-running configure with the
+    for automatic dependency tracking.  If GNU make was not used, consider
+    re-running the configure script with MAKE="gmake" (or whatever is
+    necessary).  You can also try re-running configure with the
     '--disable-dependency-tracking' option to at least be able to build
     the package (albeit without support for automatic dependency tracking).])
   fi
@@ -2661,7 +2663,7 @@
 
 # Do all the work for Automake.                             -*- Autoconf -*-
 
-# Copyright (C) 1996-2018 Free Software Foundation, Inc.
+# Copyright (C) 1996-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2858,7 +2860,7 @@
 done
 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
 
-# Copyright (C) 2001-2018 Free Software Foundation, Inc.
+# Copyright (C) 2001-2020 Free Software Foundation, Inc.
 #
 # This file is free software; the Free Software Foundation
 # gives unlimited permission to copy and/or distribute it,
@@ -2879,7 +2881,7 @@
 fi
 AC_SUBST([install_sh])])
 
-# Copyright (C) 2003-2018 Free Software Foundation, Inc.



Home | Main Index | Thread Index | Old Index