?? symb12.c
字號:
/*** $Id: symb12.c,v 1.5 2003/09/04 02:40:23 weiym Exp $** ** symb12.c: Symbol VBF font data.**** Copyright (C) 2003 Feynman Software** Copyright (C) 2000 ~ 2002 Wei Yongming.*//*** 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*/#include <stdio.h>#include <stdlib.h>#include "common.h"#include "minigui.h"#include "gdi.h"#include "varbitmap.h"/* symb12 Font */static const unsigned char bits [] = {/* Character (0x20): bbw=1, bbh=1, bbx=0, bby=0, width=3 +--------+ | | | | | | | | | | | | | | | | | | | | | | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/* Character ! (0x21): bbw=1, bbh=9, bbx=1, bby=0, width=4 +--------+ | | | | | * | | * | | * | | * | | * | | * | | * | | | | * | | | | | | | +--------+ */0x00,0x00,0x40,0x40,0x40,0x40,0x40,0x40,0x40,0x00,0x40,0x00,0x00,0x00,/* Character " (0x22): bbw=9, bbh=9, bbx=0, bby=0, width=9 +----------------+ | | | | |* * | | * * | | * * | | ***** | | * * | | * * | | * * | | * | | * | | | | | | | +----------------+ */0x00,0x00,0x00,0x00,0x80,0x80,0x41,0x00,0x41,0x00,0x3e,0x00,0x22,0x00,0x14,0x00,0x14,0x00,0x08,0x00,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/* Character # (0x23): bbw=6, bbh=9, bbx=0, bby=0, width=7 +--------+ | | | | | * * | | * * | | * * | |****** | | * * | |***** | | * * | | * * | | * * | | | | | | | +--------+ */0x00,0x00,0x28,0x28,0x28,0xfc,0x50,0xf8,0x50,0x50,0x50,0x00,0x00,0x00,/* Character $ (0x24): bbw=5, bbh=9, bbx=1, bby=0, width=7 +--------+ | | | | | ***** | | * | | * | | * | | ***** | | * | | * | | * | | ***** | | | | | | | +--------+ */0x00,0x00,0x7c,0x04,0x04,0x04,0x7c,0x04,0x04,0x04,0x7c,0x00,0x00,0x00,/* Character % (0x25): bbw=9, bbh=9, bbx=0, bby=0, width=10 +----------------+ | | | | | **** * | |* * *** | |* * * | | ** * | | * | | * ** | | * * * | | * * * | | ** ** | | | | | | | +----------------+ */0x00,0x00,0x00,0x00,0x79,0x00,0x97,0x00,0x92,0x00,0x64,0x00,0x08,0x00,0x13,0x00,0x14,0x80,0x24,0x80,0x63,0x00,0x00,0x00,0x00,0x00,0x00,0x00,/* Character & (0x26): bbw=9, bbh=9, bbx=1, bby=0, width=10 +----------------+ | | | | | ** | | * * | | * * | | ** *** | | *** * | | * ** * | | * ** | | * ** * | | *** ** | | | | | | | +----------------+ */0x00,0x00,0x00,0x00,0x18,0x00,0x24,0x00,0x24,0x00,0x1b,0x80,0x39,0x00,0x4d,0x00,0x46,0x00,0x46,0x40,0x39,0x80,0x00,0x00,0x00,0x00,0x00,0x00,/* Character ' (0x27): bbw=4, bbh=6, bbx=1, bby=0, width=6 +--------+ | | | | | | | | | | | *** | | * | | **** | | * | | * | | *** | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x70,0x08,0x78,0x08,0x08,0x70,0x00,0x00,0x00,/* Character ( (0x28): bbw=3, bbh=12, bbx=1, bby=-3, width=5 +--------+ | | | | | * | | * | | * | | * | | * | | * | | * | | * | | * | | * | | * | | * | +--------+ */0x00,0x00,0x10,0x20,0x20,0x40,0x40,0x40,0x40,0x40,0x40,0x20,0x20,0x10,/* Character ) (0x29): bbw=3, bbh=12, bbx=0, bby=-3, width=5 +--------+ | | | | |* | | * | | * | | * | | * | | * | | * | | * | | * | | * | | * | |* | +--------+ */0x00,0x00,0x80,0x40,0x40,0x20,0x20,0x20,0x20,0x20,0x20,0x40,0x40,0x80,/* Character * (0x2a): bbw=5, bbh=5, bbx=0, bby=2, width=6 +--------+ | | | | | | | | | * | |* * * | | *** | |* * * | | * | | | | | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x20,0xa8,0x70,0xa8,0x20,0x00,0x00,0x00,0x00,0x00,/* Character + (0x2b): bbw=5, bbh=5, bbx=1, bby=1, width=7 +--------+ | | | | | | | | | | | * | | * | | ***** | | * | | * | | | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x10,0x10,0x7c,0x10,0x10,0x00,0x00,0x00,0x00,/* Character , (0x2c): bbw=2, bbh=3, bbx=0, bby=-2, width=3 +--------+ | | | | | | | | | | | | | | | | | | | | | * | | * | |* | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x80,0x00,/* Character - (0x2d): bbw=5, bbh=1, bbx=1, bby=3, width=7 +--------+ | | | | | | | | | | | | | | | ***** | | | | | | | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7c,0x00,0x00,0x00,0x00,0x00,0x00,/* Character . (0x2e): bbw=1, bbh=1, bbx=1, bby=0, width=3 +--------+ | | | | | | | | | | | | | | | | | | | | | * | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,/* Character / (0x2f): bbw=3, bbh=9, bbx=0, bby=0, width=3 +--------+ | | | | | * | | * | | * | | * | | * | | * | |* | |* | |* | | | | | | | +--------+ */0x00,0x00,0x20,0x20,0x20,0x40,0x40,0x40,0x80,0x80,0x80,0x00,0x00,0x00,/* Character 0 (0x30): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | *** | |* * | |* * | |* * | |* * | |* * | |* * | |* * | | *** | | | | | | | +--------+ */0x00,0x00,0x70,0x88,0x88,0x88,0x88,0x88,0x88,0x88,0x70,0x00,0x00,0x00,/* Character 1 (0x31): bbw=3, bbh=9, bbx=1, bby=0, width=6 +--------+ | | | | | * | | ** | | * | | * | | * | | * | | * | | * | | *** | | | | | | | +--------+ */0x00,0x00,0x20,0x60,0x20,0x20,0x20,0x20,0x20,0x20,0x70,0x00,0x00,0x00,/* Character 2 (0x32): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | *** | |* * | |* * | | * | | * | | * | | * | |* * | |***** | | | | | | | +--------+ */0x00,0x00,0x70,0x88,0x88,0x08,0x10,0x20,0x40,0x88,0xf8,0x00,0x00,0x00,/* Character 3 (0x33): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | *** | |* * | |* * | | * | | ** | | * | | * | |* * | | *** | | | | | | | +--------+ */0x00,0x00,0x70,0x88,0x88,0x08,0x30,0x08,0x08,0x88,0x70,0x00,0x00,0x00,/* Character 4 (0x34): bbw=6, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | ** | | * * | | * * | | * * | | * * | |* * | |****** | | * | | * | | | | | | | +--------+ */0x00,0x00,0x18,0x28,0x28,0x48,0x48,0x88,0xfc,0x08,0x08,0x00,0x00,0x00,/* Character 5 (0x35): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | **** | | * | |* | |**** | | ** | | * | | * | |* * | |**** | | | | | | | +--------+ */0x00,0x00,0x78,0x40,0x80,0xf0,0x18,0x08,0x08,0x88,0xf0,0x00,0x00,0x00,/* Character 6 (0x36): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | *** | | * | |* | |* ** | |** * | |* * | |* * | |* * | | *** | | | | | | | +--------+ */0x00,0x00,0x38,0x40,0x80,0xb0,0xc8,0x88,0x88,0x88,0x70,0x00,0x00,0x00,/* Character 7 (0x37): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | |***** | |* * | | * | | * | | * | | * | | * | | * | | * | | | | | | | +--------+ */0x00,0x00,0xf8,0x88,0x10,0x10,0x20,0x20,0x40,0x40,0x40,0x00,0x00,0x00,/* Character 8 (0x38): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | *** | |* * | |* * | |** * | | *** | |* ** | |* * | |* * | | *** | | | | | | | +--------+ */0x00,0x00,0x70,0x88,0x88,0xc8,0x70,0x98,0x88,0x88,0x70,0x00,0x00,0x00,/* Character 9 (0x39): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | *** | |* * | |* * | |* * | | **** | | * | | * | | * | | * | | | | | | | +--------+ */0x00,0x00,0x70,0x88,0x88,0x88,0x78,0x10,0x10,0x20,0x40,0x00,0x00,0x00,/* Character : (0x3a): bbw=1, bbh=6, bbx=2, bby=0, width=3 +--------+ | | | | | | | | | | | * | | | | | | | | | | * | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,0x00,0x20,0x00,0x00,0x00,/* Character ; (0x3b): bbw=2, bbh=8, bbx=0, bby=-2, width=3 +--------+ | | | | | | | | | | | * | | | | | | | | | | * | | * | |* | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x40,0x00,0x00,0x00,0x00,0x40,0x40,0x80,0x00,/* Character < (0x3c): bbw=6, bbh=5, bbx=0, bby=1, width=7 +--------+ | | | | | | | | | | | ** | | ** | |** | | ** | | ** | | | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x0c,0x30,0xc0,0x30,0x0c,0x00,0x00,0x00,0x00,/* Character = (0x3d): bbw=5, bbh=3, bbx=1, bby=2, width=7 +--------+ | | | | | | | | | | | | | ***** | | | | ***** | | | | | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0x00,0x7c,0x00,0x7c,0x00,0x00,0x00,0x00,0x00,/* Character > (0x3e): bbw=6, bbh=5, bbx=0, bby=1, width=7 +--------+ | | | | | | | | | | |** | | ** | | ** | | ** | |** | | | | | | | | | +--------+ */0x00,0x00,0x00,0x00,0x00,0xc0,0x30,0x0c,0x30,0xc0,0x00,0x00,0x00,0x00,/* Character ? (0x3f): bbw=5, bbh=9, bbx=0, bby=0, width=6 +--------+ | | | | | *** | |* * | |* * | | * | | * | | * | | * | | | | * | | | | | | | +--------+ */0x00,0x00,0x70,0x88,0x88,0x08,0x10,0x20,0x20,0x00,0x20,0x00,0x00,0x00,/* Character @ (0x40): bbw=5, bbh=6, bbx=1, bby=0, width=7 +--------+ | | | | | | | | | | | ** * | | * ** | | | | ***** | | | | ***** | | | | | | | +--------+ */0x00,0x00,0x00,0x00,
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -