diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-01-17 21:43:10 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-01-17 21:43:10 +0000 |
commit | cced503712e73dc8b0bc9377cab271dc110200ff (patch) | |
tree | 346d6c999e4ce1aa51999a9f5686dde744315199 | |
parent | 57c129f34d06367fe1b1088a321a7f65332db382 (diff) |
The current lcd_bitmap() implementation is safe for enabling partial font height drawing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5590 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/drivers/lcd-h100.c | 4 | ||||
-rw-r--r-- | firmware/drivers/lcd-recorder.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 075ba394b6..4330a5d8ca 100644 --- a/firmware/drivers/lcd-h100.c +++ b/firmware/drivers/lcd-h100.c @@ -362,10 +362,6 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str) ch = pf->defaultchar; ch -= pf->firstchar; - /* no partial-height drawing for now... */ - if (y + pf->height > LCD_HEIGHT) - break; - /* get proportional width and glyph bits */ gwidth = pf->width ? pf->width[ch] : pf->maxwidth; width = MIN (gwidth, LCD_WIDTH - x); diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c index 8f8e9f9332..880717d277 100644 --- a/firmware/drivers/lcd-recorder.c +++ b/firmware/drivers/lcd-recorder.c @@ -389,10 +389,6 @@ static void lcd_putsxyofs(int x, int y, int ofs, const unsigned char *str) ch = pf->defaultchar; ch -= pf->firstchar; - /* no partial-height drawing for now... */ - if (y + pf->height > LCD_HEIGHT) - break; - /* get proportional width and glyph bits */ gwidth = pf->width ? pf->width[ch] : pf->maxwidth; width = MIN (gwidth, LCD_WIDTH - x); |