summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-06-29mkfontscale 1.0.9mkfontscale-1.0.9Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-05-25Add _X_ATTRIBUTE_PRINTF to functions taking printf format argumentsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-05-08Dead code removalJeremy Huddleston
have_face is initialized to 0 at the beginning of the loop, so no need to set it to 0 just before it goes out of scope at the end of the loop. mkfontscale.c:945:13: warning: Value stored to 'have_face' is never read have_face = 0; ^ ~ Found-by: clang static analyzer Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-03-01makeList: free partially allocated list on failureAlan Coopersmith
Error: Memory leak (CWE 401) Memory leak of pointer 'first' allocated with malloc(8) at line 192 of list.c in function 'makeList'. 'first' allocated at line 181 with malloc(8). first leaks when next == 0 at line 191. [ This bug was found by the Parfait 0.3.6 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2011-03-01Leave room for null terminator in file & font name arraysAlan Coopersmith
fscanf %s arguments don't include the trailing \0 byte in their counts. Error: Buffer overrun Buffer overflow (CWE 120): Use of fscanf(%1024[), with buffer 'font' Array size is 1024 bytes at line 707 of mkfontscale.c in function 'readFontScale'. Buffer overflow (CWE 120): Use of fscanf(%1024s), with buffer 'file' Array size is 1024 bytes at line 707 of mkfontscale.c in function 'readFontScale'. [ This bug was found by the Parfait 0.3.6 bug checking tool. For more information see http://labs.oracle.com/projects/parfait/ ] Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Julien Cristau <jcristau@debian.org>
2011-02-14Sort contents of encodings.dirAlan Coopersmith
Allows easier comparison between builds to detect changes. Helps reduce deltas in packaging systems that compare old & new versions. 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-13Remove unused NEED_SNPRINTF code to #include non-existent snprintf.cAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-13Make fscanf format string constant so it can be checked at compile timeAlan Coopersmith
Clears gcc warning of: mkfontscale.c:714: warning: format not a string literal, argument types not checked Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-01-13config: 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-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
2010-10-29mkfontscale 1.0.8mkfontscale-1.0.8Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-29Remove unnecessary calls from configure.acAlan Coopersmith
XORG_DEFAULT_OPTIONS calls AC_PROG_CC and AC_PROG_INSTALL PKG_CHECK_MODULES calls AC_SUBST on LIBS & CFLAGS variables Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-29config: upgrade to util-macros 1.8 for additional man page supportAlan Coopersmith
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS Enables use of platform appropriate version of sed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-29config: 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 is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-10-29Sun's copyrights now belong to OracleAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2010-10-06Purge cvs tags.Jesse Adkins
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
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-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-10mkfontscale 1.0.7mkfontscale-1.0.7Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-10Add link to SubmittingPatches wiki page to READMEAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-10-10Migrate to xorg macros 1.3 & XORG_DEFAULT_OPTIONSAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-01-16Silence sparse warnings and update .gitignore.Paulo Cesar Pereira de Andrade
2008-12-18Version 1.0.6mkfontscale-1.0.6Alan Coopersmith
2008-12-18man page typo fixAlan Coopersmith
2008-12-17Add hooks for checking sources with lint/sparse/etc.Alan Coopersmith
2008-12-17Add basic README with URL's of git, bugzilla & mailing listAlan Coopersmith
2008-12-17Use XORG_CWARNFLAGS & XORG_CHANGELOG from xorg-macros 1.2Alan Coopersmith
2008-11-05Add support for bzip2 compressed fonts if configured --with-bzip2Alan Coopersmith
2008-05-11Bump to 1.0.5mkfontscale-1.0.5Julien Cristau
2008-05-10Update copyright date.Juliusz Chroboczek
2008-05-10Fix handling of OpenType/CFF fonts with embedded bitmaps.Juliusz Chroboczek
The old workaround would trigger with CFF fonts with embedded bitmaps. We now explicitly check for the font format being TrueType. Reported by Andrey V. Panov.
2008-05-10Remove doubly included header.Juliusz Chroboczek
2008-04-28Add bdf and pcf to font priority table.Juliusz Chroboczek
This mirrors the behaviour of the old mkfontdir, which prefers pcf to bdf fonts.
2008-04-28Fix typo in mkfontscale.c.Juliusz Chroboczek
This spurious break statement disabled checking for Apple and ISO Unicode CMaps in SFNT fonts. Thanks to Alan Coopersmith and Stefan Dirsch.
2008-04-24Compile warning fixes.Paulo Cesar Pereira de Andrade
Include headers for proper prototypes and "ansify" makeHashTable. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2008-03-06mkfontscale 1.0.4mkfontscale-1.0.4Adam Jackson
2008-02-24Bug #11337: Use strcasecmp() instead of broken open-coded version.Adam Jackson
Also, use tolower() instead of broken open-coded version.
2008-01-07Fix typo in man pageAlan Coopersmith
2008-01-07Convert (1) to (__appmansuffix__) in man pageAlan Coopersmith
2007-12-06Replace static ChangeLog with dist-hook to generate from git logJames Cloos
2007-09-03Add *~ to .gitignore to skip patch/emacs droppingsJames Cloos
2007-08-23Rename .cvsignore to .gitignoreJames Cloos
2006-11-08bump to 1.0.3mkfontscale-1.0.3Daniel Stone
2006-10-31Allow SemiBold weight for Type 1 fonts.Juliusz Chroboczek
Thanks to Andrey Panov.
2006-10-31Fix typos in manual page, update author's address, update COPYING.Juliusz Chroboczek
2006-10-13Bump to 1.0.2mkfontscale-1.0.2Adam Jackson