diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-12 22:40:46 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2015-01-12 22:40:46 +0000 |
commit | 1bee34e1648ec3f68421fe06753daf08aa085f00 (patch) | |
tree | c70e07139c2a0694c4486682fb64955e7a19df0c /amiga/font_scan.c | |
parent | f8264189eb4a4ee02a64602e8e2441b442c5c8f1 (diff) | |
download | netsurf-1bee34e1648ec3f68421fe06753daf08aa085f00.tar.gz netsurf-1bee34e1648ec3f68421fe06753daf08aa085f00.tar.bz2 |
Stub out font.c and font_scan.c for OS3 for now
A more involved fix required for later.
Diffstat (limited to 'amiga/font_scan.c')
-rw-r--r-- | amiga/font_scan.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/amiga/font_scan.c b/amiga/font_scan.c index f39fcac2f..8304c601e 100644 --- a/amiga/font_scan.c +++ b/amiga/font_scan.c @@ -20,6 +20,8 @@ * Font glyph scanner for Unicode substitutions. */ +#include "amiga/os3support.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -66,6 +68,8 @@ struct ami_font_scan_window { char *glyphtext; }; +#ifdef __amigaos4__ + /** * Lookup a font that contains a UTF-16 codepoint * @@ -502,5 +506,24 @@ void ami_font_scan_init(const char *filename, bool force_scan, bool save, LOG(("Initialised with %ld glyphs", found)); } +#else +#warning FIXME: font_scan.c needs fixing for OS3 +void ami_font_scan_init(const char *filename, bool force_scan, bool save, + lwc_string **glypharray) +{ +} + +void ami_font_scan_fini(lwc_string **glypharray) +{ +} + +void ami_font_scan_save(const char *filename, lwc_string **glypharray) +{ +} + +const char *ami_font_scan_lookup(const uint16 *code, lwc_string **glypharray) +{ +} +#endif |