CVS commit: [netbsd-6] src/sys/dev/wsfont

2012-07-04 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Wed Jul  4 21:02:49 UTC 2012

Modified Files:
src/sys/dev/wsfont [netbsd-6]: DejaVu_Sans_Mono_12x22.h
Droid_Sans_Mono_12x22.h Droid_Sans_Mono_9x18.h

Log Message:
Pull up revisions:
  src/sys/dev/wsfont/Droid_Sans_Mono_12x22.h revision 1.2
  src/sys/dev/wsfont/Droid_Sans_Mono_9x18.h revision 1.2
  src/sys/dev/wsfont/DejaVu_Sans_Mono_12x22.h revision 1.2
(requested by macallan in ticket #389).

add license headers
I need to find a way to extract at least the copyright notice from
the .ttf
file so ttf2wsfont can do this mostly automatically.

add license header


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.1.2.1 src/sys/dev/wsfont/DejaVu_Sans_Mono_12x22.h \
src/sys/dev/wsfont/Droid_Sans_Mono_12x22.h \
src/sys/dev/wsfont/Droid_Sans_Mono_9x18.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/wsfont/DejaVu_Sans_Mono_12x22.h
diff -u src/sys/dev/wsfont/DejaVu_Sans_Mono_12x22.h:1.1 src/sys/dev/wsfont/DejaVu_Sans_Mono_12x22.h:1.1.2.1
--- src/sys/dev/wsfont/DejaVu_Sans_Mono_12x22.h:1.1	Thu Dec 22 05:01:15 2011
+++ src/sys/dev/wsfont/DejaVu_Sans_Mono_12x22.h	Wed Jul  4 21:02:47 2012
@@ -1,3 +1,88 @@
+/*
+ * Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved.
+ * Bitstream Vera is a trademark of Bitstream, Inc. 
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of the fonts accompanying this license (Fonts) and associated
+ * documentation files (the Font Software), to reproduce and distribute the
+ * Font Software, including without limitation the rights to use, copy, merge,
+ * publish, distribute, and/or sell copies of the Font Software, and to permit
+ * persons to whom the Font Software is furnished to do so, subject to the
+ * following conditions: 
+ *
+ * - The above copyright and trademark notices and this permission notice shall
+ *   be included in all copies of one or more of the Font Software typefaces. 
+ *
+ * - The Font Software may be modified, altered, or added to, and in particular
+ *   the designs of glyphs or characters in the Fonts may be modified and
+ *   additional glyphs or characters may be added to the Fonts, only if the
+ *   fonts are renamed to names not containing either the words Bitstream or
+ *   the word Vera.
+ *
+ * This License becomes null and void to the extent applicable to Fonts or Font
+ * Software that has been modified and is distributed under the Bitstream
+ * Vera names. 
+ *
+ * The Font Software may be sold as part of a larger software package but no
+ * copy of one or more of the Font Software typefaces may be sold by itself. 
+ *
+ * THE FONT SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
+ * TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
+ * FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
+ * ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
+ * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
+ * THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
+ * FONT SOFTWARE. 
+ *
+ * Except as contained in this notice, the names of Gnome, the Gnome
+ * Foundation, and Bitstream Inc., shall not be used in advertising or
+ * otherwise to promote the sale, use or other dealings in this Font Software
+ * without prior written authorization from the Gnome Foundation or
+ * Bitstream Inc., respectively. For further information, contact:
+ * fonts at gnome dot org.
+ *
+ * Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of the fonts accompanying this license (Fonts) and associated
+ * documentation files (the Font Software), to reproduce and distribute the
+ * modifications to the Bitstream Vera Font Software, including without
+ * limitation the rights to use, copy, merge, publish, distribute, and/or sell
+ * copies of the Font Software, and to permit persons to whom the Font Software
+ * is furnished to do so, subject to the following conditions: 
+ *
+ * - The above copyright and trademark notices and this permission notice shall
+ *   be included in all copies of one or more of the Font Software typefaces. 
+ * - The Font Software may be modified, altered, or added to, and in particular
+ *   the designs of glyphs or characters in the Fonts may be modified and
+ *   additional glyphs or characters may be added to the Fonts, only if the
+ *   fonts are renamed to names not containing either the words Tavmjong Bah
+ *   or the word Arev. 
+ *
+ * This License becomes null and void to the extent applicable to Fonts or Font
+ * Software that has been 

CVS commit: [netbsd-6] src/sys/dev/wsfont

2012-04-09 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon Apr  9 18:03:50 UTC 2012

Modified Files:
src/sys/dev/wsfont [netbsd-6]: files.wsfont wsfont.c
Removed Files:
src/sys/dev/wsfont [netbsd-6]: FreeMono_12x22.h

Log Message:
Pull up following revision(s) (requested by macallan in ticket #169):
sys/dev/wsfont/FreeMono_12x22.h: file removal
sys/dev/wsfont/wsfont.c: revision 1.55
sys/dev/wsfont/files.wsfont: revision 1.19
remove the FreeMono font for licensing reasons


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/sys/dev/wsfont/FreeMono_12x22.h
cvs rdiff -u -r1.18 -r1.18.2.1 src/sys/dev/wsfont/files.wsfont
cvs rdiff -u -r1.54 -r1.54.2.1 src/sys/dev/wsfont/wsfont.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/wsfont/files.wsfont
diff -u src/sys/dev/wsfont/files.wsfont:1.18 src/sys/dev/wsfont/files.wsfont:1.18.2.1
--- src/sys/dev/wsfont/files.wsfont:1.18	Wed Dec 28 18:29:48 2011
+++ src/sys/dev/wsfont/files.wsfont	Mon Apr  9 18:03:50 2012
@@ -1,4 +1,4 @@
-# 	$NetBSD: files.wsfont,v 1.18 2011/12/28 18:29:48 macallan Exp $
+# 	$NetBSD: files.wsfont,v 1.18.2.1 2012/04/09 18:03:50 riz Exp $
 
 defpseudo wsfont
 
@@ -24,6 +24,5 @@ defflag	opt_wsfont.h		FONT_BOLD8x16
 FONT_DEJAVU_SANS_MONO12x22
 FONT_DROID_SANS_MONO12x22
 FONT_DROID_SANS_MONO9x18
-FONT_FREEMONO12x22
 
 file	dev/wsfont/wsfontdev.c	wsfont needs-flag

Index: src/sys/dev/wsfont/wsfont.c
diff -u src/sys/dev/wsfont/wsfont.c:1.54 src/sys/dev/wsfont/wsfont.c:1.54.2.1
--- src/sys/dev/wsfont/wsfont.c:1.54	Fri Jan 13 16:08:02 2012
+++ src/sys/dev/wsfont/wsfont.c	Mon Apr  9 18:03:50 2012
@@ -1,4 +1,4 @@
-/* 	$NetBSD: wsfont.c,v 1.54 2012/01/13 16:08:02 macallan Exp $	*/
+/* 	$NetBSD: wsfont.c,v 1.54.2.1 2012/04/09 18:03:50 riz Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include sys/cdefs.h
-__KERNEL_RCSID(0, $NetBSD: wsfont.c,v 1.54 2012/01/13 16:08:02 macallan Exp $);
+__KERNEL_RCSID(0, $NetBSD: wsfont.c,v 1.54.2.1 2012/04/09 18:03:50 riz Exp $);
 
 #include opt_wsfont.h
 
@@ -127,10 +127,6 @@ __KERNEL_RCSID(0, $NetBSD: wsfont.c,v 1
 #include dev/wsfont/Droid_Sans_Mono_9x18.h
 #endif
 
-#ifdef FONT_FREEMONO12x22
-#include dev/wsfont/FreeMono_12x22.h
-#endif
-
 /* Make sure we always have at least one bitmap font. */
 #ifndef HAVE_FONT
 #define HAVE_FONT 1
@@ -220,9 +216,6 @@ static struct font builtin_fonts[] = {
 #ifdef FONT_DROID_SANS_MONO9x18
 	{ { NULL, NULL }, Droid_Sans_Mono_9x18, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
 #endif
-#ifdef FONT_FREEMONO12x22
-	{ { NULL, NULL }, FreeMono_12x22, 0, 0, WSFONT_STATIC | WSFONT_BUILTIN },
-#endif
 	{ { NULL, NULL }, NULL, 0, 0, 0 },
 };