forked from len0rd/rockbox
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
This commit is contained in:
parent
57c129f34d
commit
cced503712
2 changed files with 0 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue