From 0526f044c302308f0580e360bc258483267cab69 Mon Sep 17 00:00:00 2001 From: amiconn Date: Mon, 17 Jan 2005 21:43:10 +0000 Subject: [PATCH] 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 --- firmware/drivers/lcd-h100.c | 4 ---- firmware/drivers/lcd-recorder.c | 4 ---- 2 files changed, 8 deletions(-) diff --git a/firmware/drivers/lcd-h100.c b/firmware/drivers/lcd-h100.c index 075ba394b..4330a5d8c 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 8f8e9f933..880717d27 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); -- 2.11.4.GIT