diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 22:48:12 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-10 22:48:12 -0800 |
commit | 468b19fd8729690dc4c2d1a1f20294991949ac35 (patch) | |
tree | 5c0fa425e2b13efc0aa2d4078a40546498811ec6 | |
parent | a15d4d640732edf31f462c606d358e6ff7ddb60f (diff) |
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | COPYING | 4 | ||||
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | chars.c | 24 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | fstobdf.c | 6 | ||||
-rw-r--r-- | fstobdf.h | 10 | ||||
-rw-r--r-- | header.c | 32 | ||||
-rw-r--r-- | props.c | 12 |
8 files changed, 49 insertions, 49 deletions
@@ -22,7 +22,7 @@ in this Software without prior written authorization from The Open Group. Copyright 1990, 1991 Network Computing Devices; -Portions Copyright 1987 by Digital Equipment Corporation +Portions Copyright 1987 by Digital Equipment Corporation Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided @@ -69,7 +69,7 @@ XFree86 Project. Copyright 2005 Red Hat, Inc. - + Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that diff --git a/Makefile.am b/Makefile.am index 882f0a0..c4391ac 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ -# +# # Copyright 2005 Red Hat, Inc. -# +# # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ # specific, written prior permission. Red Hat makes no # representations about the suitability of this software for any purpose. It # is provided "as is" without express or implied warranty. -# +# # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR @@ -1,5 +1,5 @@ /* - + Copyright 1990, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its @@ -23,7 +23,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. * Copyright 1990 Network Computing Devices; - * Portions Copyright 1987 by Digital Equipment Corporation + * Portions Copyright 1987 by Digital Equipment Corporation * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided @@ -69,11 +69,11 @@ in this Software without prior written authorization from The Open Group. static void -EmitBitmap(FILE *outFile, - FSXFontInfoHeader *fontHeader, - FSXCharInfo *charInfo, - unsigned int encoding, - int bpr, +EmitBitmap(FILE *outFile, + FSXFontInfoHeader *fontHeader, + FSXCharInfo *charInfo, + unsigned int encoding, + int bpr, unsigned char *data) { char *glyphName; @@ -148,9 +148,9 @@ EmitBitmap(FILE *outFile, Bool -EmitCharacters(FILE *outFile, - FSServer *fontServer, - FSXFontInfoHeader *fontHeader, +EmitCharacters(FILE *outFile, + FSServer *fontServer, + FSXFontInfoHeader *fontHeader, Font fontID) { FSXCharInfo *extents; @@ -172,8 +172,8 @@ EmitCharacters(FILE *outFile, format = BYTE_ORDER | BIT_ORDER | SCANLINE_UNIT | SCANLINE_PAD | EXTENTS; - firstCharLow = fontHeader->char_range.min_char.low; - firstCharHigh = fontHeader->char_range.min_char.high; + firstCharLow = fontHeader->char_range.min_char.low; + firstCharHigh = fontHeader->char_range.min_char.high; lastCharLow = fontHeader->char_range.max_char.low; lastCharHigh = fontHeader->char_range.max_char.high; diff --git a/configure.ac b/configure.ac index 54a6ad8..a937b33 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Copyright 2005 Red Hat, Inc. -dnl +dnl dnl Permission to use, copy, modify, distribute, and sell this software and its dnl documentation for any purpose is hereby granted without fee, provided that dnl the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ dnl advertising or publicity pertaining to distribution of the software without dnl specific, written prior permission. Red Hat makes no dnl representations about the suitability of this software for any purpose. It dnl is provided "as is" without express or implied warranty. -dnl +dnl dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO dnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR @@ -1,5 +1,5 @@ /* - + Copyright 1990, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its @@ -23,7 +23,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. * Copyright 1990 Network Computing Devices; - * Portions Copyright 1987 by Digital Equipment Corporation + * Portions Copyright 1987 by Digital Equipment Corporation * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided @@ -55,7 +55,7 @@ usage(char *progName) exit(0); } -static void +static void Fail(char *progName) { fprintf(stderr, "%s: unable to dump font\n", progName); @@ -26,13 +26,13 @@ #include <X11/fonts/FSlib.h> -extern Bool EmitHeader ( FILE *outFile, FSXFontInfoHeader *fontHeader, - FSPropInfo *propInfo, FSPropOffset *propOffsets, +extern Bool EmitHeader ( FILE *outFile, FSXFontInfoHeader *fontHeader, + FSPropInfo *propInfo, FSPropOffset *propOffsets, unsigned char *propData ); -extern Bool EmitProperties ( FILE *outFile, FSXFontInfoHeader *fontHeader, - FSPropInfo *propInfo, FSPropOffset *propOffsets, +extern Bool EmitProperties ( FILE *outFile, FSXFontInfoHeader *fontHeader, + FSPropInfo *propInfo, FSPropOffset *propOffsets, unsigned char *propData ); -extern Bool EmitCharacters ( FILE *outFile, FSServer *fontServer, +extern Bool EmitCharacters ( FILE *outFile, FSServer *fontServer, FSXFontInfoHeader *fontHeader, Font fontID ); extern unsigned long yResolution; /* intended vertical resoultion for font */ @@ -1,5 +1,5 @@ /* - + Copyright 1990, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its @@ -23,7 +23,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. * Copyright 1990 Network Computing Devices; - * Portions Copyright 1987 by Digital Equipment Corporation + * Portions Copyright 1987 by Digital Equipment Corporation * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided @@ -66,9 +66,9 @@ static const char *warning[] = static char * FindStringProperty(const char *propName, - int *propLength, - FSPropInfo *propInfo, - FSPropOffset *propOffsets, + int *propLength, + FSPropInfo *propInfo, + FSPropOffset *propOffsets, unsigned char *propData) { FSPropOffset *propOffset; @@ -83,7 +83,7 @@ FindStringProperty(const char *propName, #ifdef DEBUG char pname[256]; - memmove( pname, propData + propOffset->name.position, + memmove( pname, propData + propOffset->name.position, propOffset->name.length); pname[propOffset->name.length] = '\0'; fprintf(stderr, "prop name: %s (len %d)\n", @@ -103,9 +103,9 @@ FindStringProperty(const char *propName, static int FindNumberProperty(const char *propName, - unsigned long *propValue, - FSPropInfo *propInfo, - FSPropOffset *propOffsets, + unsigned long *propValue, + FSPropInfo *propInfo, + FSPropOffset *propOffsets, unsigned char *propData) { FSPropOffset *propOffset; @@ -132,10 +132,10 @@ FindNumberProperty(const char *propName, * FONTBOUNDINGBOX lines */ Bool -EmitHeader(FILE *outFile, - FSXFontInfoHeader *fontHeader, - FSPropInfo *propInfo, - FSPropOffset *propOffsets, +EmitHeader(FILE *outFile, + FSXFontInfoHeader *fontHeader, + FSPropInfo *propInfo, + FSPropOffset *propOffsets, unsigned char *propData) { int len; @@ -174,7 +174,7 @@ EmitHeader(FILE *outFile, /* * SIZE point xres yres - * + * * Get XLFD values if possible, else fake it */ type = FindNumberProperty("RESOLUTION_X", &xResolution, propInfo, @@ -195,12 +195,12 @@ EmitHeader(FILE *outFile, pointSize = ((fontHeader->font_ascent + fontHeader->font_descent) * 72) / yResolution; - fprintf(outFile, "SIZE %lu %lu %lu\n", pointSize, xResolution, + fprintf(outFile, "SIZE %lu %lu %lu\n", pointSize, xResolution, yResolution); /* * FONTBOUNDINGBOX width height xoff yoff - * + * */ fprintf(outFile, "FONTBOUNDINGBOX %d %d %d %d\n", fontHeader->max_bounds.right - fontHeader->min_bounds.left, @@ -1,5 +1,5 @@ /* - + Copyright 1990, 1991, 1998 The Open Group Permission to use, copy, modify, distribute, and sell this software and its @@ -23,7 +23,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. * Copyright 1990, 1991 Network Computing Devices; - * Portions Copyright 1987 by Digital Equipment Corporation + * Portions Copyright 1987 by Digital Equipment Corporation * * Permission to use, copy, modify, distribute, and sell this software and * its documentation for any purpose is hereby granted without fee, provided @@ -66,10 +66,10 @@ AddQuotes(unsigned char *string, int length) } Bool -EmitProperties(FILE *outFile, - FSXFontInfoHeader *fontHeader, - FSPropInfo *propInfo, - FSPropOffset *propOffsets, +EmitProperties(FILE *outFile, + FSXFontInfoHeader *fontHeader, + FSPropInfo *propInfo, + FSPropOffset *propOffsets, unsigned char *propData) { int nProperties; |