From bc3cb4070d64e612a2bfebd5b0ef9794c5d913a5 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Wed, 28 Jan 2015 23:36:52 +0000 Subject: Remove dead code --- amiga/font.c | 61 ------------------------------------------------------------ 1 file changed, 61 deletions(-) (limited to 'amiga') diff --git a/amiga/font.c b/amiga/font.c index 0db94890f..e985ab8be 100755 --- a/amiga/font.c +++ b/amiga/font.c @@ -902,67 +902,6 @@ static void ami_font_cleanup(struct MinList *ami_font_list) ami_schedule(300000, (void *)ami_font_cleanup, ami_font_list); } -#if 0 -#warning FIXME: font.c needs fixing properly for OS3, currently bodged to get it to build -bool nsfont_width(const plot_font_style_t *fstyle, - const char *string, size_t length, - int *width) -{ - *width == length; - return true; -} - -bool nsfont_position_in_string(const plot_font_style_t *fstyle, - const char *string, size_t length, - int x, size_t *char_offset, int *actual_x) -{ - *actual_x = x; - *char_offset = x / 10; - return true; -} - -bool nsfont_split(const plot_font_style_t *fstyle, - const char *string, size_t length, - int x, size_t *char_offset, int *actual_x) -{ - *actual_x = x; - *char_offset = x / 10; - return true; -} - -ULONG ami_unicode_text(struct RastPort *rp, const char *string, - ULONG length, const plot_font_style_t *fstyle, ULONG x, ULONG y, bool aa) -{ - /* So we get some sort of text on screen */ - Move(rp, x, y); - Text(rp, string, length); -} - -void ami_init_fonts(void) -{ -} - -void ami_close_fonts(void) -{ -} - -void ami_font_close(struct ami_font_node *node) -{ -} - -void ami_font_initscanner(bool force, bool save) -{ -} - -void ami_font_finiscanner(void) -{ -} - -void ami_font_savescanner(void) -{ -} -#endif - void ami_font_setdevicedpi(int id) { DisplayInfoHandle dih; -- cgit v1.2.3