diff options
author | James Bursa <james@netsurf-browser.org> | 2005-02-20 13:19:19 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2005-02-20 13:19:19 +0000 |
commit | 65b5ae0f8fe15d3ad659817cd72febf16cccdfe2 (patch) | |
tree | d51966245d3dd96a0422ba9b4adec9cc001f9515 /riscos/ufont.h | |
parent | 1a52a32e5d5ccf78639c268cc660d8d8b0d98092 (diff) | |
download | netsurf-65b5ae0f8fe15d3ad659817cd72febf16cccdfe2.tar.gz netsurf-65b5ae0f8fe15d3ad659817cd72febf16cccdfe2.tar.bz2 |
[project @ 2005-02-20 13:19:19 by bursa]
Font rewrite, part 3. Note that Draw export and printing are broken by these changes.
svn path=/import/netsurf/; revision=1519
Diffstat (limited to 'riscos/ufont.h')
-rw-r--r-- | riscos/ufont.h | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/riscos/ufont.h b/riscos/ufont.h deleted file mode 100644 index 620c3db89..000000000 --- a/riscos/ufont.h +++ /dev/null @@ -1,70 +0,0 @@ -/* ufont.h - * Licensed under the GNU General Public License, - * http://www.opensource.org/licenses/gpl-license - * Copyright 2000 James Bursa <bursa@users.sourceforge.net> - * Copyright 2004 John Tytgat <John.Tytgat@aaug.net> - */ - -#ifndef UFONT_HEADER_INCLUDED -#define UFONT_HEADER_INCLUDED - -#include <stddef.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - -#include "oslib/font.h" -#include "oslib/os.h" - -typedef struct ufont_font *ufont_f; - -extern os_error *xufont_find_font(char const *font_name, - int xsize, - int ysize, - int xres, - int yres, - ufont_f *font, - int *xresOutP, - int *yresOutP); - -extern os_error *xufont_lose_font(ufont_f font); - -extern os_error *xufont_paint(ufont_f font, - unsigned char const *string, - font_string_flags flags, - int xpos, - int ypos, - font_paint_block const *block, - os_trfm const *trfm, - int length); - -extern os_error *xufont_scan_string(ufont_f font, - unsigned char const *string, - font_string_flags flags, - int x, - int y, - font_scan_block const *block, - os_trfm const *trfm, - int length, - unsigned char const **split_point, - int *x_out, - int *y_out, - int *length_out); - -extern os_error *xufont_txtenum(ufont_f font, - unsigned char const *string, - font_string_flags flags, - size_t length, - int *width, - unsigned char const **rofontname, - unsigned char const **rotext, - size_t *rolength, - size_t *consumed); - -extern os_error *xufont_convert(ufont_f font, - unsigned char const *string, - size_t length, - char **presult, - size_t **ptable); - -#endif |