summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-28 23:36:52 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-01-28 23:36:52 +0000
commitbc3cb4070d64e612a2bfebd5b0ef9794c5d913a5 (patch)
treec73a0ea621cf4b1aa0d18032fb35c4f85e0c1185
parent9927232a2d733392b0d8f4ad349cd652bee5ac25 (diff)
downloadnetsurf-bc3cb4070d64e612a2bfebd5b0ef9794c5d913a5.tar.gz
netsurf-bc3cb4070d64e612a2bfebd5b0ef9794c5d913a5.tar.bz2
Remove dead code
-rwxr-xr-xamiga/font.c61
1 files changed, 0 insertions, 61 deletions
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;