Commit Graph

20 Commits

Author SHA1 Message Date
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Chris Young
d9b8809908 Fix memory leak and make a point of ignoring UTF-16 surrogates 2013-04-14 16:03:46 +01:00
Chris Young
22c7c1259b We are opening on a public screen, not a custom screen (even our own screen is a public screen) 2013-03-20 08:22:03 +00:00
Chris Young
e25cb44814 Remove font_unicode_list - font_unicode is a list now. 2012-11-08 23:56:42 +00:00
Chris Young
55c6841eca Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-11-07 22:52:03 +00:00
Chris Young
f37a8ad58b Remove extraneous debug 2012-11-07 20:18:33 +00:00
Chris Young
ecd8364fe1 Fix font_scan crash (credit: Gazelle) 2012-11-07 17:44:38 +00:00
Chris Young
1e4b78af56 noisy debug 2012-11-06 20:43:00 +00:00
Chris Young
f0a568b861 remove standalone code which no longer compiles 2012-10-16 22:12:12 +01:00
Chris Young
ca555e7fd1 remove extraneous linefeeds 2012-10-16 22:10:49 +01:00
Chris Young
b7c9b57064 attempt to avoid a crash during font scanning 2012-10-14 23:01:13 +01:00
Vincent Sanders
5800789df2 trivial docuemntation cleanups to address some of the huge number of docuemntation warnings 2012-10-08 14:52:24 +01:00
Chris Young
560d5d2035 Allow a comma-separated list of fonts to be specified in font_unicode_list
to provide more preferred fonts.  eg. if a user has dedicated Japanese
and Korean fonts available they might want a config like:
font_unicode:Japanese
font_unicode_list:Korean,Code2000
This will scan Japanese and Korean fonts first, then fill in any blanks
with Code2000 (followed by alphabetically all other fonts installed)

svn path=/trunk/netsurf/; revision=13917
2012-05-09 22:23:10 +00:00
Chris Young
727cae9461 Progress display for font scanning
svn path=/trunk/netsurf/; revision=13909
2012-05-07 14:18:22 +00:00
Chris Young
0161b2a33e Rescan fonts if preferred fallback font is changed in the GUI
svn path=/trunk/netsurf/; revision=13908
2012-05-06 17:55:35 +00:00
Chris Young
7003f6932e Use font_unicode option as preferred (first scanned) font. Ideally need to
expand this so multiple fonts can be specified.  Allow disabling of
scanning other fonts. Add stubs for a scanning progress GUI.

svn path=/trunk/netsurf/; revision=13907
2012-05-05 19:09:42 +00:00
Chris Young
d5608581b9 Integrate Unicode font scanner into NetSurf.
NetSurf will now use any available font when trying to print
characters that are missing from the current font.
TODO: Preferred font list.

svn path=/trunk/netsurf/; revision=13905
2012-05-05 15:58:17 +00:00
Chris Young
59f8e00434 Add loading, parse OS fonts into a list (which can optionally already
contain fonts) before scanning

svn path=/trunk/netsurf/; revision=13904
2012-05-05 14:46:18 +00:00
Chris Young
e635d907aa Tidy-up, split into sensible functions for NetSurf integration,
documentation. Cache file loading needs adding and ami_font_scan_fonts
needs to add to a list of fonts, and then send those to the scanner so we
can put some preferred fonts on the top of the list and avoid duplication.

svn path=/trunk/netsurf/; revision=13903
2012-05-05 11:09:19 +00:00
Chris Young
febea7ec4b Font glyph scanner. Currently works as a standalone program which outputs a
file for NetSurf to ignore.

svn path=/trunk/netsurf/; revision=13902
2012-05-04 19:30:30 +00:00