mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-20 11:12:46 +03:00
missing files
This commit is contained in:
parent
8c31752f3a
commit
06b50d9bbd
32
amiga/font_bullet.h
Normal file
32
amiga/font_bullet.h
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2016 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
||||||
|
*
|
||||||
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
||||||
|
*
|
||||||
|
* NetSurf is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; version 2 of the License.
|
||||||
|
*
|
||||||
|
* NetSurf is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef AMIGA_FONT_BULLET_H
|
||||||
|
#define AMIGA_FONT_BULLET_H
|
||||||
|
struct ami_font_cache_node;
|
||||||
|
|
||||||
|
void ami_font_bullet_init(void);
|
||||||
|
void ami_font_bullet_fini(void);
|
||||||
|
void ami_font_bullet_close(void *nso);
|
||||||
|
|
||||||
|
/* Alternate entry points into font_scan */
|
||||||
|
void ami_font_initscanner(bool force, bool save);
|
||||||
|
void ami_font_finiscanner(void);
|
||||||
|
void ami_font_savescanner(void);
|
||||||
|
#endif
|
||||||
|
|
@ -123,7 +123,7 @@ static bool amiga_bm_nsfont_width(const plot_font_style_t *fstyle,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
*width = (int)TextLength(glob->rp, localtext, (UWORD)strlen(localtext));
|
*width = TextLength(glob->rp, localtext, (UWORD)strlen(localtext));
|
||||||
free(localtext);
|
free(localtext);
|
||||||
|
|
||||||
ami_font_bm_close(bmfont);
|
ami_font_bm_close(bmfont);
|
||||||
@ -238,7 +238,7 @@ static bool amiga_bm_nsfont_split(const plot_font_style_t *fstyle,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if((co > 0) && (co < strlen(localtext))) {
|
if((co > 0) && (co < strlen(localtext))) {
|
||||||
*actual_x = (int)TextLength(glob->rp, localtext, co);
|
*actual_x = TextLength(glob->rp, localtext, co);
|
||||||
*char_offset = ami_font_bm_convert_local_to_utf8_offset(string, length, co);
|
*char_offset = ami_font_bm_convert_local_to_utf8_offset(string, length, co);
|
||||||
} else {
|
} else {
|
||||||
*actual_x = x;
|
*actual_x = x;
|
||||||
|
23
amiga/font_diskfont.h
Normal file
23
amiga/font_diskfont.h
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2016 Chris Young <chris@unsatisfactorysoftware.co.uk>
|
||||||
|
*
|
||||||
|
* This file is part of NetSurf, http://www.netsurf-browser.org/
|
||||||
|
*
|
||||||
|
* NetSurf is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation; version 2 of the License.
|
||||||
|
*
|
||||||
|
* NetSurf is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef AMIGA_FONT_DISKFONT_H
|
||||||
|
#define AMIGA_FONT_DISKFONT_H
|
||||||
|
void ami_font_diskfont_init(void);
|
||||||
|
#endif
|
||||||
|
|
@ -63,7 +63,7 @@ NSOPTION_STRING(font_surrogate, NULL)
|
|||||||
NSOPTION_STRING(font_unicode_file, NULL)
|
NSOPTION_STRING(font_unicode_file, NULL)
|
||||||
NSOPTION_BOOL(font_unicode_only, false)
|
NSOPTION_BOOL(font_unicode_only, false)
|
||||||
NSOPTION_BOOL(font_antialiasing, true)
|
NSOPTION_BOOL(font_antialiasing, true)
|
||||||
NSOPTION_BOOL(bitmap_fonts, false)
|
NSOPTION_BOOL(bitmap_fonts, false)
|
||||||
NSOPTION_BOOL(drag_save_icons, true)
|
NSOPTION_BOOL(drag_save_icons, true)
|
||||||
NSOPTION_INTEGER(hotlist_window_xpos, 0)
|
NSOPTION_INTEGER(hotlist_window_xpos, 0)
|
||||||
NSOPTION_INTEGER(hotlist_window_ypos, 0)
|
NSOPTION_INTEGER(hotlist_window_ypos, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user