Jonathan Gordon
f5be029854
Fix one of the warnings which the ubuntu 8.10 servers are throwing..
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19576 a1c6a512-1295-4272-9138-f99709370657
2008-12-24 04:44:28 +00:00
Daniel Stenberg
10080b8420
decrease the risk of an overflow due to typecase from unsigned to signed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17065 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:49:40 +00:00
Daniel Stenberg
59875c33bf
and fix yet another picky warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17063 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:41:29 +00:00
Daniel Stenberg
5d62f2ce8e
oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17062 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:25:54 +00:00
Daniel Stenberg
afecfe46f3
cleanup code for picky compiler warning options
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17060 a1c6a512-1295-4272-9138-f99709370657
2008-04-10 21:16:00 +00:00
Michael Giacomelli
24dacb6f58
Remove old debug statement when building fonts.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16143 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 15:55:21 +00:00
Daniel Stenberg
44a8713bfe
FS#4955 - convbdf segfaults on very large fonts was simply due to a too small
...
destination buffer and no bounds check in the code. I've now enlarged the
buffer and added a bounds check. Case closed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14093 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 09:42:50 +00:00
Barry Wardell
8d991e7601
Fix build warnings and errors.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12044 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:53:23 +00:00
Barry Wardell
f4709d0c7c
Make the build system create a sysfont.h which includes font information for the system font. Available #defines are: SYSFONT_NAME, SYSFONT_FACENAME, SYSFONT_WIDTH, SYSFONT_HEIGHT, SYSFONT_SIZE, SYSFONT_ASCENT, SYSFONT_DESCENT, SYSFONT_FIRST_CHAR, SYSFONT_LAST_CHAR, SYSFONT_DEFAULT_CHAR, SYSFONT_PROPORTIONAL, SYSFONT_COPYRIGHT, SYSFONT_BITS_SIZE.
...
Also fix a small bug in the iPod bootloader printf() code and use printf() for PortalPlayer bootloaders too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12041 a1c6a512-1295-4272-9138-f99709370657
2007-01-17 12:20:38 +00:00
Frank Dischner
359189efe3
Fix bug with fonts containing missing glyphs before default glyph. Also, allow fonts with trailing space on BITMAP line.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9719 a1c6a512-1295-4272-9138-f99709370657
2006-04-18 17:24:14 +00:00
Daniel Stenberg
dcc9a8a3d8
Use 'int' for 32 bit variables in host tools to better run on 64bit archs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8626 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 13:05:37 +00:00
Magnus Holmgren
d8dcc25fdf
Fix crash when converting the font 00-Starmap_r400-8.bdf.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8203 a1c6a512-1295-4272-9138-f99709370657
2005-12-08 19:25:15 +00:00
Marcoen Hirschberg
b0fee17d6e
waiting is over: initial unicode commit
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8169 a1c6a512-1295-4272-9138-f99709370657
2005-12-06 13:27:15 +00:00
Magnus Holmgren
a199aef53a
Applied patch 1342470: Support fonts wider than 16 pixels in convbdf.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7874 a1c6a512-1295-4272-9138-f99709370657
2005-11-14 19:52:04 +00:00
Linus Nielsen Feltzing
985ae73758
Moved the declaration of the ofr variable
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7435 a1c6a512-1295-4272-9138-f99709370657
2005-08-31 17:26:22 +00:00
Daniel Stenberg
2d2b1e7cd5
patch #1267220 by Frank - phaedrus961
...
Currently convbdf will sort the bits order in the order of the encoding when
creating the .c or .fnt file, but it doesn't update the offsets. This patch
makes sure the offsets are updated along with the bits, so that fonts with out
of order glyphs display properly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7392 a1c6a512-1295-4272-9138-f99709370657
2005-08-23 21:38:26 +00:00
Linus Nielsen Feltzing
5aeaed8aff
convbdf: fixed a problem with 16 pixel wide characters. It now also refuses to convert fonts with >16 pixel characters, since it can't yet convert them correctly (bitmap_t is 16 bits wide).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7295 a1c6a512-1295-4272-9138-f99709370657
2005-08-09 23:05:35 +00:00
Daniel Stenberg
fc1e925c16
Rearranged makefiles again to move platform-specific stuff from the Makefiles
...
to either the configure script or to be ifdefed in the sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5103 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 08:58:50 +00:00
Jens Arnold
b4920271ba
Fixed new font format: necessity of offset table generation, output of fonts without one
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5018 a1c6a512-1295-4272-9138-f99709370657
2004-08-27 00:34:15 +00:00
Jörg Hohensohn
ac84357fa5
removed the now broken out-of-sequence check for rotated operation
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5017 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 22:29:16 +00:00
Jörg Hohensohn
5d36aaf249
New font format (already rotated) saves code, space and time. On the downside this new format is incompatible, so get the new fonts, too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5015 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 21:15:07 +00:00
Linus Nielsen Feltzing
7480ff900a
Reverted my brainless const'ing of the font data
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4492 a1c6a512-1295-4272-9138-f99709370657
2004-04-13 11:17:42 +00:00
Hardeep Sidhu
716fd7419d
Structures should not be const for simulator builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4486 a1c6a512-1295-4272-9138-f99709370657
2004-04-11 22:50:30 +00:00
Linus Nielsen Feltzing
4760a546cc
Killed a few warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4483 a1c6a512-1295-4272-9138-f99709370657
2004-04-09 21:23:02 +00:00
Linus Nielsen Feltzing
eba242b4cc
Moved the system font from .data to .rodata
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4476 a1c6a512-1295-4272-9138-f99709370657
2004-04-06 23:21:45 +00:00
Mats Lidell
74cc9e41fa
Remove use of rockbox-mode.el in local variables list.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2003-01-24 10:56:06 +00:00
Björn Stenberg
55e25b1551
Fixed EOF problem
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2349 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 10:20:13 +00:00
Björn Stenberg
bed3d3f7e0
New full ISO-8859-1 system font.
...
Added font loading from dir browser.
Changed default font location to /.rockbox/default.fnt.
Code-policed font code.
Removed old font tools.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2347 a1c6a512-1295-4272-9138-f99709370657
2002-09-20 08:07:51 +00:00
Daniel Stenberg
8dda668d10
Greg's new C version of the font conversion tool.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2329 a1c6a512-1295-4272-9138-f99709370657
2002-09-18 15:38:49 +00:00