summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-06Bump to 1.1.0fonttosfnt-1.1.0Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-12-25Accept a BDF font on stdinJouke Witteveen
This makes it easier to transition from bdftopcf. Although an OTB file could include fonts from multiple BDF sources, that functionality is not currently implemented for fonts read from stdin. Signed-off-by: Jouke Witteveen <j.witteveen@gmail.com>
2019-12-25Mention .otb as an extensionJouke Witteveen
The OTB (OpenType Bitmap) extension has found some traction, so suggest that. Signed-off-by: Jouke Witteveen <j.witteveen@gmail.com>
2019-12-25Correct a string literalJouke Witteveen
Signed-off-by: Jouke Witteveen <j.witteveen@gmail.com>
2019-12-05Round font size to integer value when reading bitmap fontPeng Wu
Some fonts have a ppem value like 11.9, this patch adds integer rounding to convert those ppem value to 12 instead of 11.
2019-12-04allow ISO-646.1991-IRV as well, adobe standard for bdfRyan Farley
Allow for BDF file with no specified encoding to be read as Adobe Standard (per freetype's BDF driver), and handle any Unicode-equivalent encoding without changing the encoding name.
2019-12-04let freetype handle ISO-8859-1 mappingRyan Farley
https://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#ft_encoding indicates that ISO-8859-1 is automatically mapped to Unicode for BDF and PCF fonts -- trying to use FT_Select_Charmap() with FT_ENCODING_NONE leads to an error for such fonts.
2019-08-30check for freetype NULL atomsRyan Farley
Freetype uses NULL to represent an empty string when retrieving a BDF property -- check for this in addition to an actual error
2019-01-10Avoid undefined behaviourMaya Rashish
Left shifting a negative is undefined. For consistency, use the equivalent form of multiplication for the positive numbers as well.
2018-11-21Update configure.ac bug URL for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-16Update README for gitlab migrationAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-11-02Mark vsprintf_alloc as printf-like functionPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Eric Anholt <eric@anholt.net>
2018-08-01Bump to 1.0.5fonttosfnt-1.0.5Peter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-08-01Replace _BSD_SOURCE with _DEFAULT_SOURCEPeter Hutterer
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-08-01Fix shadowing i variable complaintPeter Hutterer
C99 is a magical thing! Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-08-01Remove shadowing rc variablePeter Hutterer
All code paths assign rc and heck it immedately after. We can re-use the one from the outer loop. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2018-08-01README: update repository URL to gitlabPeter Hutterer
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Adam Jackson <ajax@redhat.com>
2018-07-31Constify a few string argumentsPeter Hutterer
Cuts down on compiler warning by at least 64%, what a bargain! Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-01-26autogen: add default patch prefixMihail Konev
Signed-off-by: Mihail Konev <k.mvc@ya.ru>
2017-01-26autogen.sh: use quoted string variablesEmil Velikov
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>
2017-01-26autogen.sh: use exec instead of waiting for configure to finishPeter Hutterer
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>
2014-06-01autogen.sh: Honor NOCONFIGURE=1Alan Coopersmith
See http://people.gnome.org/~walters/docs/build-api.txt Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-01configure: Drop AM_MAINTAINER_MODEAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2014-06-01config: Add missing AC_CONFIG_SRCDIRAlan Coopersmith
Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-19config: move man pages into their own directoryGaetan Nadon
Use services provided by XORG_MANPAGE_SECTIONS. Use standard Makefile for man pages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: replace hard coded man page section with substitution stringsGaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-13man: remove trailing spaces and tabsGaetan Nadon
Using s/[ \t]*$// Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSGaetan Nadon
This silences an Autoconf warning
2011-01-12config: remove unrequired AC_SUBST([*_LIBS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove unrequired AC_SUBST([*_CFLAGS])Gaetan Nadon
This macro is called by PKG_CHECK_MODULES Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: remove AC_PROG_CC as it overrides AC_PROG_C_C99Gaetan Nadon
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it resets CC to gcc. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: use AC_PROG_INSTALL now supplied by XORG_DEFAULT_OPTIONSGaetan Nadon
It depends on util-macros 1.8 or later The existing statement can now be removed from the configuration file. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: upgrade to util-macros 1.8 for additional man page supportGaetan Nadon
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2011-01-12config: update AC_PREREQ statement to 2.60Gaetan Nadon
Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules in one pass is 2.60 dated June 2006. A version later than 2.60 can be used, but no new features from such a later version can be used in configure.ac. Although the code in this module can be configured with a version earlier than 2.60, most of code is now contained in macros from util-macros which use features of version 2.60, at the present or in the future. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-11config: move CWARNFLAGS from configure.ac to Makefile.amGaetan Nadon
Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-11-26Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILESGaetan Nadon
Now that the INSTALL file is generated. Allows running make maintainer-clean.
2009-10-28INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball README may have been updated Remove AUTHORS file as it is empty and no content available yet. Remove NEWS file as it is empty and no content available yet.
2009-10-27Deploy the new XORG_DEFAULT_OPTIONS #24242Gaetan Nadon
This macro aggregate a number of existing macros that sets commmon X.Org components configuration options. It shields the configuration file from future changes.
2009-10-26Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432Gaetan Nadon
ChangeLog filename is known to Automake and requires no further coding in the makefile.
2009-10-22.gitignore: use common defaults with custom section # 24239Gaetan Nadon
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults.
2009-10-01Add README with pointers to mailing lists, bugzilla, & gitAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-12Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings.
2008-05-11Bump to 1.0.4fonttosfnt-1.0.4Julien Cristau
2008-05-11Use va_copy in vsprintf_alloc.Juliusz Chroboczek
This avoids a crash on arches with an interesting implementation of va_list (such as AMD64) but no vasprintf in their libc.
2008-05-11Add autoconf test for va_copy.Julien Cristau
2008-05-11Use autoconf test instead of #ifdef GLIBC for vasprintf.Julien Cristau
2008-05-11Rename *_reliable to *_alloc.Juliusz Chroboczek
2008-05-11Update copyright date.Juliusz Chroboczek
2008-05-02Use asprintf on GNU platforms.Juliusz Chroboczek
This fixes fonttosfnt on AMD64 with glibc. It will still break on non-GNU RISC platforms, because I'm incompetent and cannot use va_copy.
2008-05-02Fix handling for non-square pixels.George Williams