[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19470] branches/blender2.5/blender/source /blender/blenfont/intern: Add back helv 12 font, the old BMF_MINIMAL is now BLF_INTERNAL_MINIMAL, but

Diego Borghetti bdiego at gmail.com
Mon Mar 30 18:49:23 CEST 2009


Revision: 19470
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19470
Author:   bdiego
Date:     2009-03-30 18:49:21 +0200 (Mon, 30 Mar 2009)

Log Message:
-----------
Add back helv 12 font, the old BMF_MINIMAL is now BLF_INTERNAL_MINIMAL, but
don't found any place that really use it.

Modified Paths:
--------------
    branches/blender2.5/blender/source/blender/blenfont/intern/blf_internal.c

Added Paths:
-----------
    branches/blender2.5/blender/source/blender/blenfont/intern/blf_font_helv12.h

Added: branches/blender2.5/blender/source/blender/blenfont/intern/blf_font_helv12.h
===================================================================
--- branches/blender2.5/blender/source/blender/blenfont/intern/blf_font_helv12.h	                        (rev 0)
+++ branches/blender2.5/blender/source/blender/blenfont/intern/blf_font_helv12.h	2009-03-30 16:49:21 UTC (rev 19470)
@@ -0,0 +1,519 @@
+/**
+ * $Id:
+ *
+ * ***** BEGIN GPL LICENSE BLOCK *****
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version. 
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+ *
+ * The Original Code is Copyright (C) 2009 Blender Foundation.
+ * All rights reserved.
+ *
+ * 
+ * Contributor(s): Blender Foundation
+ *
+ * ***** END GPL LICENSE BLOCK *****
+ */
+
+#ifndef BLF_FONT_HELV12_H
+#define BLF_FONT_HELV12_H
+
+static unsigned char helv12_bitmap_data[]= {
+	0x80,0x00,0x80,0x80,0x80,0x80,0x80,0x80,
+	0x80,0xa0,0xa0,0xa0,0x50,0x50,0x50,0xfc,
+	0x28,0xfc,0x28,0x28,0x20,0x70,0xa8,0xa8,
+	0x28,0x70,0xa0,0xa8,0x70,0x20,0x23,0x00,
+	0x14,0x80,0x14,0x80,0x13,0x00,0x08,0x00,
+	0x68,0x00,0x94,0x00,0x94,0x00,0x62,0x00,
+	0x72,0x8c,0x84,0x8a,0x50,0x30,0x48,0x48,
+	0x30,0x80,0x40,0xc0,0x20,0x40,0x40,0x80,
+	0x80,0x80,0x80,0x80,0x80,0x40,0x40,0x20,
+	0x80,0x40,0x40,0x20,0x20,0x20,0x20,0x20,
+	0x20,0x40,0x40,0x80,0xa0,0x40,0xa0,0x20,
+	0x20,0xf8,0x20,0x20,0x80,0x40,0x40,0xf8,
+	0x80,0x80,0x80,0x40,0x40,0x40,0x20,0x20,
+	0x10,0x10,0x70,0x88,0x88,0x88,0x88,0x88,
+	0x88,0x88,0x70,0x20,0x20,0x20,0x20,0x20,
+	0x20,0x20,0xe0,0x20,0xf8,0x80,0x80,0x40,
+	0x20,0x10,0x08,0x88,0x70,0x70,0x88,0x88,
+	0x08,0x08,0x30,0x08,0x88,0x70,0x08,0x08,
+	0xfc,0x88,0x48,0x28,0x28,0x18,0x08,0x70,
+	0x88,0x88,0x08,0x08,0xf0,0x80,0x80,0xf8,
+	0x70,0x88,0x88,0x88,0xc8,0xb0,0x80,0x88,
+	0x70,0x40,0x40,0x20,0x20,0x20,0x10,0x10,
+	0x08,0xf8,0x70,0x88,0x88,0x88,0x88,0x70,
+	0x88,0x88,0x70,0x70,0x88,0x08,0x08,0x78,
+	0x88,0x88,0x88,0x70,0x80,0x00,0x00,0x00,
+	0x00,0x80,0x80,0x40,0x40,0x00,0x00,0x00,
+	0x00,0x40,0x0c,0x30,0xc0,0x30,0x0c,0xf8,
+	0x00,0xf8,0xc0,0x30,0x0c,0x30,0xc0,0x20,
+	0x00,0x20,0x20,0x10,0x10,0x88,0x88,0x70,
+	0x3e,0x00,0x40,0x00,0x9b,0x00,0xa6,0x80,
+	0xa2,0x40,0xa2,0x40,0x92,0x40,0x4d,0x40,
+	0x60,0x80,0x1f,0x00,0x82,0x82,0x82,0x7c,
+	0x44,0x44,0x28,0x28,0x10,0xf8,0x84,0x84,
+	0x84,0xf8,0x84,0x84,0x84,0xf8,0x3c,0x42,
+	0x80,0x80,0x80,0x80,0x80,0x42,0x3c,0xf8,
+	0x84,0x82,0x82,0x82,0x82,0x82,0x84,0xf8,
+	0xfc,0x80,0x80,0x80,0xfc,0x80,0x80,0x80,
+	0xfc,0x80,0x80,0x80,0x80,0xf8,0x80,0x80,
+	0x80,0xfc,0x3a,0x46,0x82,0x82,0x8e,0x80,
+	0x80,0x42,0x3c,0x82,0x82,0x82,0x82,0xfe,
+	0x82,0x82,0x82,0x82,0x80,0x80,0x80,0x80,
+	0x80,0x80,0x80,0x80,0x80,0x70,0x88,0x88,
+	0x08,0x08,0x08,0x08,0x08,0x08,0x82,0x84,
+	0x88,0x90,0xe0,0xa0,0x90,0x88,0x84,0xf8,
+	0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
+	0x88,0x80,0x88,0x80,0x94,0x80,0x94,0x80,
+	0xa2,0x80,0xa2,0x80,0xc1,0x80,0xc1,0x80,
+	0x80,0x80,0x82,0x86,0x8a,0x8a,0x92,0xa2,
+	0xa2,0xc2,0x82,0x3c,0x42,0x81,0x81,0x81,
+	0x81,0x81,0x42,0x3c,0x80,0x80,0x80,0x80,
+	0xf8,0x84,0x84,0x84,0xf8,0x3d,0x42,0x85,
+	0x89,0x81,0x81,0x81,0x42,0x3c,0x84,0x84,
+	0x84,0x88,0xf8,0x84,0x84,0x84,0xf8,0x78,
+	0x84,0x84,0x04,0x18,0x60,0x80,0x84,0x78,
+	0x10,0x10,0x10,0x10,0x10,0x10,0x10,0x10,
+	0xfe,0x78,0x84,0x84,0x84,0x84,0x84,0x84,
+	0x84,0x84,0x10,0x10,0x28,0x28,0x44,0x44,
+	0x44,0x82,0x82,0x22,0x00,0x22,0x00,0x22,
+	0x00,0x55,0x00,0x55,0x00,0x49,0x00,0x88,
+	0x80,0x88,0x80,0x88,0x80,0x82,0x44,0x44,
+	0x28,0x10,0x28,0x44,0x44,0x82,0x10,0x10,
+	0x10,0x10,0x28,0x44,0x44,0x82,0x82,0xfe,
+	0x80,0x40,0x20,0x10,0x08,0x04,0x02,0xfe,
+	0xc0,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
+	0x80,0x80,0x80,0xc0,0x10,0x10,0x20,0x20,
+	0x20,0x40,0x40,0x80,0x80,0xc0,0x40,0x40,
+	0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,
+	0xc0,0x88,0x50,0x20,0xfe,0xc0,0x80,0x40,
+	0x74,0x88,0x88,0x78,0x08,0x88,0x70,0xb0,
+	0xc8,0x88,0x88,0x88,0xc8,0xb0,0x80,0x80,
+	0x70,0x88,0x80,0x80,0x80,0x88,0x70,0x68,
+	0x98,0x88,0x88,0x88,0x98,0x68,0x08,0x08,
+	0x70,0x88,0x80,0xf8,0x88,0x88,0x70,0x40,
+	0x40,0x40,0x40,0x40,0x40,0xe0,0x40,0x30,
+	0x70,0x88,0x08,0x68,0x98,0x88,0x88,0x88,
+	0x98,0x68,0x88,0x88,0x88,0x88,0x88,0xc8,
+	0xb0,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
+	0x80,0x80,0x00,0x80,0x80,0x40,0x40,0x40,
+	0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x40,
+	0x88,0x90,0xa0,0xc0,0xc0,0xa0,0x90,0x80,
+	0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
+	0x80,0x80,0x92,0x92,0x92,0x92,0x92,0xda,
+	0xa4,0x88,0x88,0x88,0x88,0x88,0xc8,0xb0,
+	0x70,0x88,0x88,0x88,0x88,0x88,0x70,0x80,
+	0x80,0x80,0xb0,0xc8,0x88,0x88,0x88,0xc8,
+	0xb0,0x08,0x08,0x08,0x68,0x98,0x88,0x88,
+	0x88,0x98,0x68,0x80,0x80,0x80,0x80,0x80,
+	0xc0,0xa0,0x60,0x90,0x10,0x60,0x80,0x90,
+	0x60,0x60,0x40,0x40,0x40,0x40,0x40,0xe0,
+	0x40,0x40,0x68,0x98,0x88,0x88,0x88,0x88,
+	0x88,0x20,0x20,0x50,0x50,0x88,0x88,0x88,
+	0x22,0x00,0x22,0x00,0x55,0x00,0x49,0x00,
+	0x49,0x00,0x88,0x80,0x88,0x80,0x84,0x84,
+	0x48,0x30,0x30,0x48,0x84,0x80,0x40,0x20,
+	0x20,0x50,0x50,0x90,0x88,0x88,0x88,0xf0,
+	0x80,0x40,0x40,0x20,0x10,0xf0,0x30,0x40,
+	0x40,0x40,0x40,0x40,0x80,0x40,0x40,0x40,
+	0x40,0x30,0x80,0x80,0x80,0x80,0x80,0x80,
+	0x80,0x80,0x80,0x80,0x80,0x80,0xc0,0x20,
+	0x20,0x20,0x20,0x20,0x10,0x20,0x20,0x20,
+	0x20,0xc0,0x98,0x64,0x80,0x80,0x80,0x80,
+	0x80,0x80,0x80,0x80,0x00,0x80,0x40,0x70,
+	0xc8,0xa0,0xa0,0xa0,0xa8,0x70,0x10,0xb0,
+	0x48,0x20,0x20,0xf0,0x40,0x40,0x48,0x30,
+	0x84,0x78,0x48,0x48,0x78,0x84,0x20,0x20,
+	0xf8,0x20,0xf8,0x20,0x50,0x88,0x88,0x80,
+	0x80,0x80,0x80,0x00,0x00,0x00,0x80,0x80,
+	0x80,0x80,0x70,0x88,0x08,0x30,0x48,0x88,
+	0x88,0x90,0x60,0x80,0x88,0x70,0xa0,0x3e,
+	0x00,0x41,0x00,0x9c,0x80,0xa2,0x80,0xa0,
+	0x80,0xa2,0x80,0x9c,0x80,0x41,0x00,0x3e,
+	0x00,0xe0,0x00,0xa0,0x20,0xe0,0x28,0x50,
+	0xa0,0x50,0x28,0x04,0x04,0x04,0xfc,0xf0,
+	0x3e,0x00,0x41,0x00,0x94,0x80,0x94,0x80,
+	0x98,0x80,0x94,0x80,0x9c,0x80,0x41,0x00,
+	0x3e,0x00,0xf0,0x60,0x90,0x90,0x60,0xf8,
+	0x00,0x20,0x20,0xf8,0x20,0x20,0xf0,0x40,
+	0x20,0x90,0x60,0xc0,0x20,0x40,0x20,0xe0,
+	0x80,0x40,0x80,0x80,0x80,0xe8,0x98,0x88,
+	0x88,0x88,0x88,0x88,0x28,0x28,0x28,0x28,
+	0x28,0x28,0x68,0xe8,0xe8,0xe8,0x68,0x3c,
+	0x80,0xc0,0x20,0x20,0x40,0x40,0x40,0x40,
+	0xc0,0x40,0xe0,0x00,0xe0,0xa0,0xe0,0xa0,
+	0x50,0x28,0x50,0xa0,0x41,0x00,0x27,0x80,
+	0x15,0x00,0x13,0x00,0x49,0x00,0x44,0x00,
+	0x44,0x00,0xc2,0x00,0x41,0x00,0x47,0x80,
+	0x22,0x00,0x11,0x00,0x14,0x80,0x4b,0x00,
+	0x48,0x00,0x44,0x00,0xc2,0x00,0x41,0x00,
+	0x21,0x00,0x17,0x80,0x15,0x00,0x0b,0x00,
+	0xc9,0x00,0x24,0x00,0x44,0x00,0x22,0x00,
+	0xe1,0x00,0x70,0x88,0x88,0x40,0x40,0x20,
+	0x20,0x00,0x20,0x82,0x82,0x82,0x7c,0x44,
+	0x44,0x28,0x10,0x10,0x00,0x10,0x20,0x82,
+	0x82,0x82,0x7c,0x44,0x44,0x28,0x10,0x10,
+	0x00,0x10,0x08,0x82,0x82,0x82,0x7c,0x44,
+	0x44,0x28,0x10,0x10,0x00,0x28,0x10,0x82,
+	0x82,0x82,0x7c,0x44,0x44,0x28,0x10,0x10,
+	0x00,0x28,0x14,0x82,0x82,0x82,0x7c,0x44,
+	0x44,0x28,0x10,0x10,0x00,0x28,0x82,0x82,
+	0x82,0x7c,0x44,0x44,0x28,0x10,0x10,0x10,
+	0x28,0x10,0x8f,0x80,0x88,0x00,0x88,0x00,
+	0x78,0x00,0x4f,0x80,0x48,0x00,0x28,0x00,
+	0x28,0x00,0x1f,0x80,0x30,0x08,0x08,0x3c,
+	0x42,0x80,0x80,0x80,0x80,0x80,0x42,0x3c,
+	0xfc,0x80,0x80,0x80,0xfc,0x80,0x80,0x80,
+	0xfc,0x00,0x10,0x20,0xfc,0x80,0x80,0x80,
+	0xfc,0x80,0x80,0x80,0xfc,0x00,0x10,0x08,
+	0xfc,0x80,0x80,0x80,0xfc,0x80,0x80,0x80,
+	0xfc,0x00,0x28,0x10,0xfc,0x80,0x80,0x80,
+	0xfc,0x80,0x80,0x80,0xfc,0x00,0x28,0x40,
+	0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,
+	0x00,0x40,0x80,0x80,0x80,0x80,0x80,0x80,
+	0x80,0x80,0x80,0x80,0x00,0x80,0x40,0x40,
+	0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x40,
+	0x00,0xa0,0x40,0x40,0x40,0x40,0x40,0x40,
+	0x40,0x40,0x40,0x40,0x00,0xa0,0x7c,0x42,
+	0x41,0x41,0xf1,0x41,0x41,0x42,0x7c,0x82,
+	0x86,0x8a,0x8a,0x92,0xa2,0xa2,0xc2,0x82,
+	0x00,0x28,0x14,0x3c,0x42,0x81,0x81,0x81,
+	0x81,0x81,0x42,0x3c,0x00,0x08,0x10,0x3c,
+	0x42,0x81,0x81,0x81,0x81,0x81,0x42,0x3c,
+	0x00,0x08,0x04,0x3c,0x42,0x81,0x81,0x81,
+	0x81,0x81,0x42,0x3c,0x00,0x14,0x08,0x3c,
+	0x42,0x81,0x81,0x81,0x81,0x81,0x42,0x3c,
+	0x00,0x28,0x14,0x3c,0x42,0x81,0x81,0x81,
+	0x81,0x81,0x42,0x3c,0x00,0x24,0x88,0x50,
+	0x20,0x50,0x88,0x80,0x00,0x5e,0x00,0x21,
+	0x00,0x50,0x80,0x48,0x80,0x44,0x80,0x44,
+	0x80,0x42,0x80,0x21,0x00,0x1e,0x80,0x00,
+	0x40,0x78,0x84,0x84,0x84,0x84,0x84,0x84,
+	0x84,0x84,0x00,0x10,0x20,0x78,0x84,0x84,
+	0x84,0x84,0x84,0x84,0x84,0x84,0x00,0x10,
+	0x08,0x78,0x84,0x84,0x84,0x84,0x84,0x84,
+	0x84,0x84,0x00,0x28,0x10,0x78,0x84,0x84,
+	0x84,0x84,0x84,0x84,0x84,0x84,0x00,0x48,
+	0x10,0x10,0x10,0x10,0x28,0x44,0x44,0x82,
+	0x82,0x00,0x10,0x08,0x80,0x80,0xf8,0x84,
+	0x84,0x84,0xf8,0x80,0x80,0xb0,0x88,0x88,
+	0x88,0xb0,0x88,0x88,0x88,0x70,0x74,0x88,
+	0x88,0x78,0x08,0x88,0x70,0x00,0x10,0x20,
+	0x74,0x88,0x88,0x78,0x08,0x88,0x70,0x00,
+	0x20,0x10,0x74,0x88,0x88,0x78,0x08,0x88,
+	0x70,0x00,0x50,0x20,0x74,0x88,0x88,0x78,
+	0x08,0x88,0x70,0x00,0x50,0x28,0x74,0x88,
+	0x88,0x78,0x08,0x88,0x70,0x00,0x50,0x74,
+	0x88,0x88,0x78,0x08,0x88,0x70,0x30,0x48,
+	0x30,0x77,0x00,0x88,0x80,0x88,0x00,0x7f,
+	0x80,0x08,0x80,0x88,0x80,0x77,0x00,0x60,
+	0x10,0x20,0x70,0x88,0x80,0x80,0x80,0x88,
+	0x70,0x70,0x88,0x80,0xf8,0x88,0x88,0x70,
+	0x00,0x20,0x40,0x70,0x88,0x80,0xf8,0x88,
+	0x88,0x70,0x00,0x20,0x10,0x70,0x88,0x80,
+	0xf8,0x88,0x88,0x70,0x00,0x50,0x20,0x70,
+	0x88,0x80,0xf8,0x88,0x88,0x70,0x00,0x50,
+	0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,
+	0x40,0x80,0x80,0x80,0x80,0x80,0x80,0x80,
+	0x80,0x00,0x80,0x40,0x40,0x40,0x40,0x40,
+	0x40,0x40,0x40,0x00,0xa0,0x40,0x40,0x40,
+	0x40,0x40,0x40,0x40,0x40,0x00,0xa0,0x70,
+	0x88,0x88,0x88,0x88,0x78,0x08,0x50,0x30,
+	0x68,0x88,0x88,0x88,0x88,0x88,0xc8,0xb0,
+	0x00,0x50,0x28,0x70,0x88,0x88,0x88,0x88,
+	0x88,0x70,0x00,0x20,0x40,0x70,0x88,0x88,
+	0x88,0x88,0x88,0x70,0x00,0x20,0x10,0x70,
+	0x88,0x88,0x88,0x88,0x88,0x70,0x00,0x50,
+	0x20,0x70,0x88,0x88,0x88,0x88,0x88,0x70,
+	0x00,0x50,0x28,0x70,0x88,0x88,0x88,0x88,
+	0x88,0x70,0x00,0x50,0x20,0x00,0xf8,0x00,
+	0x20,0xb8,0x44,0x64,0x54,0x4c,0x44,0x3a,

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list