1 --- fuse-0.8.0/widget/mkfusefont.pl.orig 1970-01-01 01:00:00.000000000 +0100
2 +++ fuse-0.8.0/widget/mkfusefont.pl 2007-04-18 12:12:30.716148000 +0200
6 +# mkfusefont.pl: generate Fuse-format font from a .sbf file
7 +# (ASCII representation of a .psf (console font) file)
8 +# Copyright (c) 2004 Darren Salt
12 +# This program is free software; you can redistribute it and/or modify it
13 +# under the terms of the GNU General Public Licence as published by the Free
14 +# Software Foundation; either version 2 of the Licence, or (at your option)
17 +# This program is distributed in the hope that it will be useful, but WITHOUT
18 +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licence for
22 +# You should have received a copy of the GNU General Public Licence along
23 +# with this program; if not, write to the Free Software Foundation, Inc., 49
24 +# Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 +# Author contact information:
28 +# E-mail: linux@youmustbejoking.demon.co.uk
33 +die "sorry, I output binary data\n" if isatty( *STDOUT );
37 +MAIN: while( defined( $line = <> ) ) {
39 + next unless $line =~ /^\[U\+([[:xdigit:]]{4})]$/;
41 + my @codes = ( hex $1 );
43 + last MAIN unless defined( $line = <> );
47 + next MAIN if $line eq '' or $line =~ /^[[:space:]]*#/;
48 + last if $line =~ /^[.0]+$/;
49 + die unless $line =~ /^\[U\+([[:xdigit:]]{4})]$/;
51 + push @codes, hex $1;
53 + @codes = grep { $_ < 0xD800 || ($_ >= 0xE000 && $_ < 0xFFFE) } @codes;
55 + my @pixmap = ( '','','','', '','','','', '','','','', '','','' );
58 + for( $i = 0; $i < 8; $i++ ) {
60 + die unless $line =~ /^[.0]+$/;
62 + die "pixmap line too long" if length ($line) > 15;
63 + $line .= '0' x ( 15 - length $line );
64 + for( my $j = 0; $j < 15; $j++ ) { $pixmap[$j] .= substr( $line, $j, 1 ); }
66 + die unless $i == 7 or defined( $line = <> );
70 + pop @pixmap while @pixmap && $pixmap[ -1 ] eq '00000000';
71 + while( @pixmap && $pixmap[0] eq '00000000' ) { $left++; shift @pixmap; }
72 + my @bitmap = map { oct ('0b'.$_) } @pixmap;
74 + print pack( "C*", $_ & 255, $_ >> 8, $left | @bitmap << 4, @bitmap )
77 --- fuse-0.8.0/widget/fuse.font.sbf.orig 1970-01-01 01:00:00.000000000 +0100
78 +++ fuse-0.8.0/widget/fuse.font.sbf 2007-04-18 12:21:41.775551892 +0200
82 +# X = no whitespace on right (end of first line only) (not yet implemented)
84 +# Left-hand whitespace must be preserved for codes U+0000 through U+007E
85 +# (except U+0060) and for U+00A3 and U+00A9; additionally, these characters
86 +# must be no more than 8 pixels wide.
88 +# Other characters do not have left-hand white space, and may be up to 15
2312 --- fuse-0.8.0/ui/fb/fbmouse.h.orig 1970-01-01 01:00:00.000000000 +0100
2313 +++ fuse-0.8.0/ui/fb/fbmouse.h 2007-04-18 13:31:32.962394018 +0200
2315 +/* fbmouse.h: Linux mouse handling code (requires kernel input layer)
2316 + Copyright (c) 2004 Darren Salt
2320 + This program is free software; you can redistribute it and/or modify
2321 + it under the terms of the GNU General Public License as published by
2322 + the Free Software Foundation; either version 2 of the License, or
2323 + (at your option) any later version.
2325 + This program is distributed in the hope that it will be useful,
2326 + but WITHOUT ANY WARRANTY; without even the implied warranty of
2327 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2328 + GNU General Public License for more details.
2330 + You should have received a copy of the GNU General Public License
2331 + along with this program; if not, write to the Free Software
2332 + Foundation, Inc., 49 Temple Place, Suite 330, Boston, MA 02111-1307 USA
2334 + Author contact information:
2336 + E-mail: linux@youmustbejoking.demon.co.uk
2340 +#ifndef FUSE_FBMOUSE_H
2341 +#define FUSE_FBMOUSE_H
2343 +int fbmouse_init(void);
2344 +int fbmouse_end(void);
2345 +void mouse_update(void);
2347 +#endif /* #ifndef FUSE_FBMOUSE_H */