In an attempt to answer the questions that have appeared recently,
I've written a guide to fonts and Unicode support in NetSurf.
Fonts in NetSurf
NetSurf has support for displaying pages containing Unicode characters
that aren't normally available on RISC OS, for example accented Latin
letters, Greek, Cyrillic, Japanese, and various symbols.
The font choices let you pick a font for each of the five standard
families available to web authors (in CSS). The choices specify the
preferred font to use. If a character is not available in the chosen
font, but it's present in some other font that you have installed,
then NetSurf will automatically use it. There's no need to change the
font choices to view pages with characters that are not available in
the chosen font.
Note that you can only choose a font family. NetSurf will
automatically use weights from the family for bold and slanted text,
Installing more fonts
The fonts that come with RISC OS cover Latin (Homerton, Trinity,
Corpus), Greek (Sidney), and various symbols (Selwyn, Sidney). (On
RISC OS 3-4, only the "Latin 1" characters from the standard fonts,
which cover Western European languages, can be used by NetSurf).
If you want to display pages with other characters correctly, you'll
need to install fonts containing them. When a character is not present
in any available font, the Unicode character code will be displayed.¹
Any font supplied with a correctly designed "Encoding" file should
work. In practice, native fonts covering anything other than Latin 1
are rare. The solution is to convert TrueType fonts using TTF2f (this
currently produces fonts suitable for RISC OS 5 only).
After installing new fonts, NetSurf will need restarting so that it
Problems and unimplemented features
* The default font is always the sans-serif one.
* Printing on RISC OS 5 doesn't work, due to lack of support in the
Font Manager and printer drivers. Printing to Postscript printers on
RISC OS 3-4 is not correctly implemented in NetSurf.
* Substituted characters are taken from the first font that contains
them, even if a character which matches the weight or slant better
* Only two weights (regular and bold) are supported, even if a family
contains other weights. The algorithm that finds weights needs
improving, for example using the heuristics given in CSS 2.1 15.6.
* Drawfile export is broken.
* Right-to-left text (Hebrew, Arabic) is not implemented.
¹ If you see the codes 0091, 0092, 0096, or others starting 009, that
indicates that the page is not specifying the character set that it
is using correctly. Installing fonts won't help. We haven't yet
decided what the best way to work around this problem is.
There is a problem with utf-8 webpages
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
Could this be fixed ?
Stefaan Claes, Hove, Antwerpen, Belgium, Europe, <sclaes(a)aaug.net>
Recent CVS Activity, 2005-07-19 03:56, adrianl:
So much easier to use. Many thanks.
Clicking on the search button should open the search dialogue
box at the _centre_ of the NetSurf window (as does f4). At
present, since it opens at the top of the window, the dialogue
box obscures the found-text, displayed on the top line, and it
is necessary to move the dialogue box before typing into it.
The found-text should be displayed two or three lines down from
the top of the window, so that its context can be seen, without
having to scroll the window.
Double-clicking on the search button, or pressing f4 twice,
should reinstate any previous search-text in the writable icon.
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
I'd just like to congratulate the NetSurf developers at it seems to be the
only browser at the moment that can upload to smartgroups file archives.
None of the Oregano series or FireFox manage it on any of the three options,
single file, zip file or five files. Either faulting the RISC OS filename or
claiming that the file was zero bytes long.
upload works (haven't tested the other two yet). The only issues is after the
file is sent a blank page is displayed, so you have to hit 'back' to go to
the file listing page and refresh it to see if the uploaded file.
David J. Ruck Phone: +44- (0)7974 108301 Email: druck(a)druck.org.uk
With Test Build (27 Jun 2005 02:00), I notice that accented characters
have disappeared in the status window (shows up with fr ressources).
They display OK in the main page (HTML). It might be something to do
with the recent UnixLib because now a comma is used instead of the
On 27 Jul, <netsurf-develop-request(a)lists.sourceforge.net> wrote:
Apologies for half written previous reply, which was too soon sended
> Message: 2
> From: Adrian Lees <adrian(a)aemulor.com>
> To: <netsurf-develop(a)lists.sourceforge.net>
> Subject: Re: [Netsurf-develop] netsurf 27072005 disappearing from iconbar
> Date: Wed, 27 Jul 2005 11:37:46 +0100
> On Wed, 27 Jul 2005 you wrote:
> > In message <Marcel-1.53-0727105750-b49tRkF(a)ekels.nl>
> > Wim Ekels <wim(a)ekels.nl> wrote:
> > >
> > >After downloading the newest version of Netsurf, this refuses to stay
> > >on my icon bar.
> > >
> > >the startup is OK, but afterwards clicking on a link (from hotlist or
> > >what) just flickers by and netsurf leaves iconnar without warning.
> > >
> > The problem would seem to be with opening the main window. It does not
> > seem to matter how.
> For the benefit of anybody who has made the mistake of replacing their
> previous version of NetSurf, I think that adding the following line
> to your MimeMap file (RO5: !Boot.Resources.!Internet.files.MimeMap,
> RO Select: Choices:Internet.Files.MimeMap)
> text/css CSS f79 .css
> at the end of the text/ section will get you up and running again
> in this case. There may be other types that are needed too; I'm
> not the expert, so if you are, please correct me ;)
Same problem as Wim Ekels here: solution in MimeMap doesn't work
Running Testbuild 27 jul 2005 23.00 on Iyonix / RO 5.09
Using Test Build (27 Jul 2005 01:45) Netsurf exits after a URL is
opened using the iconbar menu Open, Open URL. It also exits on clicking
select on the icon bar icon.
This is extracted from sdterr :-
content/content.c content_convert 542: content file:/<NetSurf$Dir>/Docs/netsurf
"css/css.c", line 509: css_set_origin: Assertion failed: c->type == CONTENT_CSS
Fatal signal received: Aborted
( 292c98) pc: 9fe8c lr: 13a904 sp: 292c9c __write_backtrace()
Test Build (29 Jun 2005 00:00) is OK
Castle Iyonix, RISC OS 5.09.
Any idea why the Independent www.independent.co.uk looks such a mess in
Netsurf? I suppose it may be partly the font specification, but the
overlay at the top seems to cover up the beginning of the stories as
well which is rather annoying.
On Wed, 27 Jul 2005 you wrote:
> Two queries:
> Presumably those spaces should be tabs?
Yes, TapirMail converts tab to spaces. Align the fields
with those of the other entries in the file.
> The last line in the text section of my unmodified MimeMap file is:
> text/* Text fff
> Presumably the text/css line should go before this rather than at the
> end of the text section, or have I misunderstood totally? (Quite
It doesn't seem to matter, but logically - or for consistency with
the other entries - you could make an argument for putting the /*
line last, certainly.