view src/gnu.h @ 90906:f8694254fa1d

(w32font_info): Remove subranges. (QCsubranges, Qmodern, Qswiss, Qroman): Remove. (QCfamily, Qmonospace, Qsans_serif, Qmono, Qsans, Qsans__serif) (Qraster, Qoutline, Qlatin, Qgreek, Qcoptic, Qcyrillic, Qarmenian) (Qhebrew, Qarabic, Qsyriac, Qnko, Qthaana, Qdevanagari, Qbengali) (Qgurmukhi, Qgujarati, Qoriya, Qtamil, Qtelugu, Qkannada) (Qmalayalam, Qsinhala, Qthai, Qlao, Qtibetan, Qmyanmar, Qgeorgian) (Qhangul, Qethiopic, Qcherokee, Qcanadian_aboriginal, Qogham) (Qrunic, Qkhmer, Qmongolian, Qsymbol, Qbraille, Qhan) (Qideographic_description, Qcjk_misc, Qkana, Qbopomofo, Qkanbun) (Qyi, Qbyzantine_musical_symbol, Qmusical_symbol, Qmathematical): New symbols. (font_callback_data): New struct. (w32font_list, w32font_match): Use it. (w32font_open): Don't populate subranges. (w32font_has_char): Use script Lisp symbols, not subrange bitmask. (w32font_encode_char): Always return unicode code-point as-is. (w32font_text_extents): Supply a tranformation matrix to GetGlyphOutline. Never look up by glyph index. Avoid looping twice. Use unicode version of GetTexExtentPoint32 instead of glyph index version. (set_fonts_frame): Remove (w32_enumfont_pattern_entity): Add frame parameter, use it to set frame parameter. Use backward compatible fake foundries. Save generic family in extra slot under QCfamily. Make width slot constant. Save QCspacing value. Save list of scripts instead of binary subranges. (w32_generic_family, logfonts_match, font_matches_spec): New functions. (add_font_entity_to_list): Use font_callback_data struct. Filter unwanted fonts. (add_one_font_entity_to_list): Use font_callback_data struct. (w32_registry): Default to iso10646_1; (fill_in_logfont): Use dpi from extra slot. Don't bother with string font registries. Don't fill in font name if it is a generic family name, fill family instead. Use spacing, family and script extra info to fill pitch, family and charset fields. (list_all_matching_fonts): Use font_callback_data struct. (unicode_range_for_char): Remove. (font_supported_scripts): New function. (w32font_initialize): Remove. (syms_of_w32font): Update which symbols are defined.
author Jason Rumney <jasonr@gnu.org>
date Sat, 02 Jun 2007 23:42:23 +0000
parents dd7c098af727
children f55f9811f5d7
line wrap: on
line source

/* XPM */
/* Emacs "E" icon

Copyright (C) 2005, 2006, 2007  Free Software Foundation, Inc.

Author: Andrew Zhilin <andrew_zhilin@yahoo.com>

This file is part of GNU Emacs.

GNU Emacs 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, or (at your option)
any later version.

GNU Emacs 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 GNU Emacs; see the file COPYING.  If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.

Commentary:

This is a version of one of the GNU Emacs icon set posted to
emacs-devel in October 2005 by Andrew Zhilin.
*/
#if defined (HAVE_XPM) && defined (HAVE_X_WINDOWS)
static char * gnu_xpm_bits[] = {
"32 32 173 2",
"  	c None",
". 	c #67627D",
"+ 	c #5F5A76",
"@ 	c #78748C",
"# 	c #DCDBE1",
"$ 	c #CFCED7",
"% 	c #B8B5C7",
"& 	c #ADA9C1",
"* 	c #A6A3B9",
"= 	c #9995A9",
"- 	c #878398",
"; 	c #C2C0CD",
"> 	c #9591AE",
", 	c #9B97B3",
"' 	c #BDBACC",
") 	c #9C98B3",
"! 	c #A9A6B9",
"~ 	c #8D89A0",
"{ 	c #A9A5BC",
"] 	c #938FAB",
"^ 	c #B4B2C5",
"/ 	c #F8F8FA",
"( 	c #E4E3EA",
"_ 	c #BCB9CB",
": 	c #9390A5",
"< 	c #5E5A75",
"[ 	c #8B87A1",
"} 	c #918DA9",
"| 	c #BAB7C9",
"1 	c #FFFFFF",
"2 	c #F1F1F4",
"3 	c #B4B1C4",
"4 	c #9D99AF",
"5 	c #5D5974",
"6 	c #8E8AA5",
"7 	c #A3A0B6",
"8 	c #F8F8F9",
"9 	c #9F9CB3",
"0 	c #8C88A3",
"a 	c #938FA9",
"b 	c #C6C4D1",
"c 	c #B7B4C5",
"d 	c #9D99B1",
"e 	c #5C5873",
"f 	c #8985A0",
"g 	c #B5B3C4",
"h 	c #F0F0F3",
"i 	c #A6A3B7",
"j 	c #9B98AE",
"k 	c #5C5872",
"l 	c #88849D",
"m 	c #A6A3B6",
"n 	c #F8F7F9",
"o 	c #C3C1CE",
"p 	c #9996AB",
"q 	c #5B5772",
"r 	c #85819A",
"s 	c #9491A7",
"t 	c #E0DFE6",
"u 	c #C2C0CC",
"v 	c #8C88A0",
"w 	c #9894A9",
"x 	c #5A5671",
"y 	c #838097",
"z 	c #B2B0BE",
"A 	c #F7F7F8",
"B 	c #D8D7DE",
"C 	c #928FA4",
"D 	c #9491A5",
"E 	c #5A5670",
"F 	c #817D95",
"G 	c #A9A6B6",
"H 	c #A8A5B6",
"I 	c #928FA3",
"J 	c #59556F",
"K 	c #7E7B91",
"L 	c #BEBDC8",
"M 	c #AEACBA",
"N 	c #908DA0",
"O 	c #5B5771",
"P 	c #58546D",
"Q 	c #65617A",
"R 	c #E0DFE4",
"S 	c #8E8B9E",
"T 	c #7A778D",
"U 	c #5A566F",
"V 	c #57536C",
"W 	c #58546F",
"X 	c #A19EAE",
"Y 	c #EAEAED",
"Z 	c #F5F4F6",
"` 	c #A19FAE",
" .	c #625F78",
"..	c #77748A",
"+.	c #59556E",
"@.	c #56526B",
"#.	c #807D90",
"$.	c #D5D4DA",
"%.	c #9693A3",
"&.	c #767387",
"*.	c #55516A",
"=.	c #534F68",
"-.	c #9491A1",
";.	c #F4F4F6",
">.	c #9E9CAA",
",.	c #5D5971",
"'.	c #737084",
").	c #545068",
"!.	c #504D64",
"~.	c #F4F4F5",
"{.	c #DEDDE2",
"].	c #5A576D",
"^.	c #716F81",
"/.	c #56526A",
"(.	c #524F67",
"_.	c #4D4A61",
":.	c #9A99A6",
"<.	c #848292",
"[.	c #6F6C7F",
"}.	c #545169",
"|.	c #514E65",
"1.	c #4A475D",
"2.	c #6B697B",
"3.	c #D2D1D6",
"4.	c #F4F3F5",
"5.	c #9998A4",
"6.	c #6C6A7B",
"7.	c #535067",
"8.	c #504C64",
"9.	c #474459",
"0.	c #747282",
"a.	c #D1D0D5",
"b.	c #E8E8EA",
"c.	c #8C8A97",
"d.	c #676576",
"e.	c #4E4B62",
"f.	c #444156",
"g.	c #727080",
"h.	c #E8E7EA",
"i.	c #8A8996",
"j.	c #656374",
"k.	c #524F66",
"l.	c #423F53",
"m.	c #B8B7BE",
"n.	c #D0CFD4",
"o.	c #4E4B5E",
"p.	c #636171",
"q.	c #4C485E",
"r.	c #434054",
"s.	c #3F3C4F",
"t.	c #575465",
"u.	c #CFCED3",
"v.	c #646272",
"w.	c #504C62",
"x.	c #4B475D",
"y.	c #3D3A4C",
"z.	c #494657",
"A.	c #7A7884",
"B.	c #B7B6BC",
"C.	c #DADADD",
"D.	c #4F4B61",
"E.	c #49455B",
"F.	c #3A3748",
"G.	c #5E5C6A",
"H.	c #908E98",
"I.	c #C1C0C6",
"J.	c #F3F2F4",
"K.	c #777581",
"L.	c #474458",
"M.	c #434053",
"N.	c #3C3A4A",
"O.	c #373544",
"P.	c #454256",
"                                                                ",
"                                                                ",
"        . + + + + + + + + + + + + + + + + + + + + + + +         ",
"      @ # $ % & & & & & & & & & & & & & & & & & & * = @ +       ",
"    @ - ; > > > > > > > > > > , ' ' ) > > > > > > > > ! . +     ",
"    @ ~ { ] ] ] ] ] ] ] ] ] ] ] ] ^ / ( _ ] ] ] ] ] ] ] : <     ",
"    . [ } } } } } } } } } } } } } } | 1 1 2 3 } } } } } 4 <     ",
"    5 6 6 6 6 6 6 6 6 6 6 6 6 6 6 7 8 1 1 1 8 6 6 6 6 6 9 5     ",
"    5 0 0 0 0 0 0 0 0 0 0 0 0 a b 8 1 1 1 1 c 0 0 0 0 0 d 5     ",
"    e f f f f f f f f f f f g h 1 1 1 1 h i f f f f f f j e     ",
"    k l l l l l l l l l m h 1 1 1 1 n o l l l l l l l l p k     ",
"    q r r r r r r r s t 1 1 1 1 1 u v r r r r r r r r r w q     ",
"    x y y y y y y z A 1 1 1 1 B C y y y y y y y y y y y D e     ",
"    E F F F F F G 1 1 1 1 A H F F F F F F F F F F F F F I k     ",
"    J K K K K K L 1 1 1 1 M K K K K K K K K K K K K K K N O     ",
"    P q q q q q Q R 1 1 1 S q q q q q q q q q q q q q q T U     ",
"    V W W W W W W W X Y 1 Z `  .W W W W W W W W W W W W ..+.    ",
"    @.@.@.@.@.@.@.#.$.1 1 1 1 1 %.@.@.@.@.@.@.@.@.@.@.@.&.P     ",
"    *.=.=.=.=.=.-.1 1 1 1 ;.>.,.=.=.=.=.=.=.=.=.=.=.=.=.'.V     ",
"    ).!.!.!.!.!.~.1 1 1 {.].!.!.!.!.!.!.!.!.!.!.!.!.!.!.^./.    ",
"    (._._._._._.:.1 1 1 <._._._._._._._._._._._._._._._.[.}.    ",
"    |.1.1.1.1.1.1.2.3.1 4.5.1.1.1.1.1.1.1.1.1.1.1.1.1.1.6.7.    ",
"    8.9.9.9.9.9.9.9.9.0.a.1 b.c.9.9.9.9.9.9.9.9.9.9.9.9.d.).    ",
"    e.f.f.f.f.f.f.f.f.f.f.g.h.1 h.i.f.f.f.f.f.f.f.f.f.f.j.k.    ",
"    _.l.l.l.l.l.l.l.l.l.l.l.l.m.1 1 n.o.l.l.l.l.l.l.l.l.p.|.    ",
"    q.r.s.s.s.s.s.s.s.s.s.s.s.t.1 1 1 u.s.s.s.s.s.s.s.s.v.w.    ",
"    x.9.y.y.y.y.y.y.y.y.z.A.B.1 1 1 1 C.y.y.y.y.y.y.y.y.d.D.    ",
"    E.E.r.F.F.F.F.F.F.F.F.G.H.I.J.I.K.F.F.F.F.F.F.F.F.r.E.E.    ",
"      L.L.M.N.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.O.N.M.L.L.      ",
"        P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.P.        ",
"                                                                ",
"                                                                "};
#endif /* defined (HAVE_XPM) && defined (HAVE_X_WINDOWS) */

#define gnu_xbm_width 50
#define gnu_xbm_height 50
static unsigned char gnu_xbm_bits[] = {
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x01, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x80, 0x03, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x0e,
   0x00, 0x00, 0x0c, 0x00, 0x70, 0x00, 0x1e, 0x00, 0x00, 0x06, 0xc0, 0xdd,
   0x01, 0x34, 0x00, 0x00, 0x07, 0x3c, 0x07, 0x03, 0x34, 0x00, 0x80, 0x03,
   0x1f, 0x06, 0x06, 0x24, 0x00, 0x80, 0x03, 0x0f, 0x04, 0x0c, 0x26, 0x00,
   0xc0, 0x81, 0x07, 0x00, 0x08, 0x33, 0x00, 0x60, 0xc1, 0xe3, 0x80, 0xbb,
   0x31, 0x00, 0x30, 0xe1, 0x33, 0xfe, 0xff, 0x18, 0x00, 0x10, 0xf1, 0x31,
   0xc7, 0xe3, 0x1f, 0x00, 0x10, 0xf1, 0xd8, 0x01, 0x05, 0x3c, 0x00, 0x10,
   0x83, 0x6c, 0x00, 0x1a, 0x40, 0x00, 0x10, 0x66, 0x36, 0x54, 0xd5, 0xff,
   0x00, 0x30, 0x3c, 0xdb, 0xab, 0x3a, 0x2a, 0x00, 0x60, 0x80, 0xe9, 0x54,
   0x35, 0x00, 0x00, 0xe0, 0xe0, 0x6c, 0xb9, 0x6a, 0x00, 0x00, 0x80, 0x37,
   0xb6, 0x66, 0x75, 0x00, 0x00, 0x00, 0x0f, 0xb6, 0xb4, 0x6a, 0x00, 0x00,
   0x00, 0x06, 0xb3, 0x77, 0x75, 0x00, 0x00, 0x00, 0xe1, 0x19, 0xa7, 0x6a,
   0x00, 0x00, 0xc0, 0xff, 0x19, 0x48, 0xf5, 0x00, 0x00, 0x40, 0x75, 0x15,
   0xaf, 0xea, 0x00, 0x00, 0x00, 0x70, 0x35, 0x66, 0xd5, 0x00, 0x00, 0x00,
   0x58, 0x6a, 0x80, 0xea, 0x00, 0x00, 0x00, 0xdc, 0xaa, 0x80, 0xd5, 0x01,
   0x00, 0x00, 0x9c, 0x27, 0x03, 0xeb, 0x01, 0x00, 0x00, 0xbc, 0x65, 0x04,
   0xd4, 0x01, 0x00, 0x00, 0x3c, 0x55, 0xed, 0x6b, 0x03, 0x00, 0x00, 0x3e,
   0xcd, 0x2a, 0x3e, 0x02, 0x00, 0x00, 0x7e, 0xb9, 0x2a, 0xb8, 0x03, 0x00,
   0x00, 0x7c, 0x93, 0x3d, 0x91, 0x03, 0x00, 0x00, 0x7c, 0x76, 0x77, 0x96,
   0x01, 0x00, 0x00, 0xf8, 0x6d, 0xf6, 0xc4, 0x01, 0x00, 0x00, 0xf8, 0xdd,
   0xfe, 0xc3, 0x01, 0x00, 0x00, 0xf0, 0xb1, 0xfd, 0xfc, 0x01, 0x00, 0x00,
   0xd0, 0x2f, 0xe7, 0xc1, 0x00, 0x00, 0x00, 0xc0, 0x4f, 0xe6, 0x61, 0x00,
   0x00, 0x00, 0x80, 0xff, 0xf6, 0x7f, 0x00, 0x00, 0x00, 0x80, 0xfe, 0x1c,
   0x3e, 0x00, 0x00, 0x00, 0x00, 0xfa, 0x1f, 0x00, 0x00, 0x00, 0x00, 0x00,
   0xf8, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0, 0x02, 0x00, 0x00, 0x00,
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
   0x00, 0x00};

/* arch-tag: b57020c7-c937-4d77-8ca6-3875178d9828
   (do not change this comment) */