Eric Linenberg
038df5cdc9
Daniel,
...
The following patch makes loadable fonts actually work (finally!).
It took me quite a while, but I finally figured out why the sim
worked and the target didn't: the SH1 processor won't read
longwords from a shortword alignment... I had to rev the .fnt
file to version 1.1 (requires remaking *.fnt files) in order
to fix this. Please apply the following patch completely.
It's diffed against the latest CVS.
I've also attached rockbox-fonts-1.1.tar.gz which includes
known working *.fnt files, including a courB08 system.fnt,
for demonstration.
Now the real work can begin... Although the new
system.fnt will work fine, if you try going to a really
big font (try copying courB14.fnt to system.fnt), then
you will find that it comes up and works in tree mode,
but will crash the system when going into WPS
mode... I'm sure this is because of the low-level
lcd_bitmap not clipping properly when given a too-large
bitmap, which the characters become. I haven't yet
tried to debug the low-level driver. Of course, it all
works on the sim...
So the apps developers will now have to make sure that
all apps screen sizes may vary according to the loaded font.
The font height can be gotten through the lcd_getfontsize API.
Files patched in fonts-6.patch
1. apps/menu.c - LCD_PROPFONTS error (2nd resubmission on this, please checkin)
2. firmware/font.c - fixes and reformatting. Please check this in as is,
my vi editor requires more reformatting changes since I left tabs in the
file, these are removed now (2nd resubmission on this, please checkin)
3. firmware/fonts.h - doc change on .fnt file format, .fnt version
number incremented.
4. firmware/loadfont.c - fixes to load font properly, typedefs
removed.
5. firmware/system.c - lcd_setfont(FONT_SYSFIXED) before
issuing error, otherwise font may not exist.
6. tools/bdf2c - fixes for correct output when filename starts
with a number, as well as when no DEFAULT_CHAR in .bdf
file. (2nd resubmission on this, please checkin)
7. tools/writerbf.c - fixes for bugfixed fontfile format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2294 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 03:18:49 +00:00
Robert Hak
8e1a00ccb2
added Lee Marlow's get_option() wrap patch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2293 a1c6a512-1295-4272-9138-f99709370657
2002-09-14 06:03:51 +00:00
Björn Stenberg
f269b0cf4d
Exit on_screen on combination key release.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2292 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 15:54:23 +00:00
Björn Stenberg
8b837a83b4
Draw on_screen as soon as any ON+key is pressed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2291 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 15:27:48 +00:00
Björn Stenberg
8ce651efa0
Added pitch setting screen for recorders. Hold ON in wps to see it. Pitch range is 50-200%
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2290 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 13:14:06 +00:00
Linus Nielsen Feltzing
4ede925c8d
mpeg_set_pitch() was backwards
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2289 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 09:26:14 +00:00
Daniel Stenberg
8389b975bb
mention font stuff
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2288 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:56:58 +00:00
Daniel Stenberg
e7ae9943d4
added Greg
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2287 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:54:24 +00:00
Daniel Stenberg
f2f4d794f6
chartables.c is gone
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2286 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:43:28 +00:00
Daniel Stenberg
7414c3acda
bye bye chartables, you have served us well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2285 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:38:50 +00:00
Daniel Stenberg
0a1c22128f
Greg Haerr's font patch 3:
...
Rotates the font bitmaps only once at font_init() time, with some source
cleanup to rockbox standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2284 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:37:49 +00:00
Daniel Stenberg
48c23501e9
moved the 12x16 font from the chartables to the bounce code, as that is
...
now the only code using that font table
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2283 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:32:25 +00:00
Daniel Stenberg
ba39ff62e5
Greg Haerr added -limit <max_encode_hex_value>
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2282 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:31:16 +00:00
Daniel Stenberg
ae0c23847b
Greg Haerr removed the font questions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2281 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:30:47 +00:00
Daniel Stenberg
cc1662420f
undef MAX_PATH before defining it makes it play the simulator game better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2280 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:27:16 +00:00
Daniel Stenberg
c455e7bd53
minor corrections
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2279 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:06:26 +00:00
Robert Hak
11b67af481
Bill Napier's patch
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2278 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 21:33:33 +00:00
Daniel Stenberg
31a48ea1f8
setup the include path better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2277 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:08:42 +00:00
Daniel Stenberg
7b3cea4df3
the script sets ARCHOS_RECORDER instead
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2276 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:03:56 +00:00
Daniel Stenberg
e5cb74003d
define archos so that config works better
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2275 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:01:09 +00:00
Daniel Stenberg
1b5afda12f
Greg's
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2274 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:59:59 +00:00
Daniel Stenberg
d45a1dbe1f
no longer include unicode.h, we've removed that file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2273 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:51:54 +00:00
Daniel Stenberg
4cd138955d
Greg's font scripts
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2272 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:49:57 +00:00
Daniel Stenberg
05e353acfc
bdf2ajf is not needed/used anymore
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2271 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:43:22 +00:00
Daniel Stenberg
47a16e0490
obsolete
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2270 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:35:10 +00:00
Daniel Stenberg
93b231c693
Greg Haerr's new loadable font. No more #ifdef font-style, removed old
...
propfont and loadable font code. New font file format.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2269 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:33:59 +00:00
Linus Nielsen Feltzing
5ed78ea80c
Pitch control for Recorder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2267 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 12:25:44 +00:00
Robert Hak
174f4945f3
adi is stupid improvements
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2266 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 09:20:03 +00:00
Robert Hak
e9d5127eaa
efficiency improvement
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2265 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 09:11:59 +00:00
Linus Nielsen Feltzing
0be1d26674
Only handle # comments in file based playlists
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2264 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 07:51:49 +00:00
Hardeep Sidhu
8a1187e80a
Renamed "Browse Current" to "Follow Playlist"
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2263 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 06:45:47 +00:00
Robert Hak
2625ebb202
added snake ref
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2262 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 21:21:29 +00:00
Robert Hak
c633d42212
snakes reference added
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2261 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 20:56:31 +00:00
Eric Linenberg
5d33b5b68f
classic snake game by Itai Shaked
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2260 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 15:55:37 +00:00
Hardeep Sidhu
62bec9e0d2
Flush and reload preloaded tracks if playlist changes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2259 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:50:40 +00:00
Daniel Stenberg
faf31f0b30
use lcd_update_rect() even on simulators (*crosses fingers*)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2258 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:43:01 +00:00
Daniel Stenberg
359b6954fa
define away lcd_update_rect() too on players
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2257 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 08:42:03 +00:00
Daniel Stenberg
c25e97f161
lcd_update_rect() added. *please* verify this someone who can actually
...
run this code. It can still be improved a bit.
Also, I code-policed the source somewhat, this is crowded with C++ comments
and weirdo indents.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2256 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 07:19:40 +00:00
Daniel Stenberg
cd864070e4
added lcd_update_rect() simulator-style
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2255 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 07:07:44 +00:00
Linus Nielsen Feltzing
331fcf628a
Oooops! Players need the set_chanconf() function too
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2254 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 06:24:46 +00:00
Linus Nielsen Feltzing
75d77155dc
Added function pointer argument to set_option(). This allows for instantaneous response from the AVC and Channels sound options
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2253 a1c6a512-1295-4272-9138-f99709370657
2002-09-10 05:31:12 +00:00
Björn Stenberg
3b97474978
lcd_puts() now clears to end-of-line
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2252 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:57:00 +00:00
Björn Stenberg
dad31ea86b
Added wormlet manual
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2251 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:30:28 +00:00
Björn Stenberg
50053d11a0
Much expanded wormlet (Philipp Pertermann). Read the manual... :-)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2250 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:30:16 +00:00
Björn Stenberg
889197dbf5
Added tracknum and playlist to id3 browser (Magnus Holmgren). Enabled id3 browser on recorder.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2249 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 23:18:44 +00:00
Björn Stenberg
f50b4fc20c
Read tracknum from id3v1.1 tag (Kenneth Kiraly)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2248 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 22:31:11 +00:00
Hardeep Sidhu
ddfa4cb0e5
Go to current song (instead of root) when exiting wps after resume and browse current enabled. Also, if current file is at end of directory listing, show more files on the screen when exiting wps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2247 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 17:32:15 +00:00
Linus Nielsen Feltzing
73f6abebc0
Fixed sim build
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2246 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 16:43:25 +00:00
Linus Nielsen Feltzing
066a547288
Now saves channel config
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2245 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:25:54 +00:00
Linus Nielsen Feltzing
a5e69062ba
Mono right had the wrong level
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2244 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 15:23:12 +00:00