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.
(Where AppNameRes is some path variable.) If I click on this link, NetSurf
presents the file as a download (with type "data") rather than rendering
the file in the browser window. Is this a bug - or am I just missing
I use WinSnap and have nticed that while dragging NetSurf windows around
works as expected, if re-sizing the window does not snap to the top of the
icon bar - is it possible to make this work?
Adam Richardson Carpe Diem
leads to a 1.51MB file which NetSurf does not display correctly.
The first ~15% of the file is ok, but the remaining ~85% is
displayed as white space. Click-dragging in the white space
highlights the text which, otherwise, cannot be seen.
Netsurf (22 Aug 2005 23:01), RISC OS 4.39
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
Any idea why I get the French webpage if I go to the download page ?
If I use Oregano2 I get the English webpage.
There was one line from sourceforge in the cookies file and I deleted
this line. But I still get the French webpage.
Stefaan Claes, Hove, Antwerpen, Belgium, Europe, <sclaes(a)riscosusers.be>
It would be useful to be able to import a copy of the hotlist into another copy of Netsurf. Even more useful would be the ability to import such data from other browsers.
Please reply to the list, not me direct, thanks.
On Fri, 23 Sep 2005, cbonsall wrote:
> John-Mark Bell wrote:
> > On Fri, 23 Sep 2005, M.I. Abdullah wrote:
> >>Trying to get to WebMail (run by the university) using NetSurf it is
> >>possible to login due to the lack (?) of secure http (https, SSL, shttp ! ).
> >>Can manage with Oregano and ANT (after loading the SSL module).
> >>Is there any "secure" http for NetSurf?
> > The full build has had https support for ages. What exactly is the error
> > message (if any) that you get? > John.
> I have a similar problem with the NetSurf on an Iyonix. Trying to access
> the University of Edinburgh's staff webmail service results in:
> Page error
> Sorry, NetSurf was unable to display this page
> SSL certificate problem, verify that the CA cert is OK. Details:
> error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
> verify failed
> Yet I get access via O2 and FireFox.
NetSurf is very strict about verifying the authenticity of SSL
certificates. If this check fails, it will give an error such as the one
above. You can disable certificate verification by changing the
ssl_verify_certificates option in the Choices file from 1 to 0. (Note that
this really, really, isn't advisable).
I've been trying to update Netsurf via RiscPkg. The data rate is terrible,
and I rarely get more than 100-200k before the transfer closes after 1-3
minutes. Not a pressing issue, but I do wonder if others are seeing the same
O, varium et mutabile semper alpha.
I'd like to request a feature change: local files not to be cached.
I was updating some webpages held locally on my RPC and was puzzled to
see the changes weren't reflected in Netsurf until I eventually twigged
and pressed reload.
On Mon, 26 Sep 2005, M.I. Abdullah wrote:
> Attached are the login page, the page showing the error and the stderr file
> as you asked. (Sorry I deleted you reply accidentall, hope you have the
> thread of the problem.)
Ok. The issue here is that NetSurf is not sending any cookies for objects
embedded in web pages (this includes frames). Therefore, the left and
right frames of the webmail application are unable to determine that
you're logged in (SquirrelMail makes use of PHP session cookies), hence
the error message you see.
The decision to not send cookies for embedded objects was taken for
privacy reasons. Clearly this has the potential to break web applications
which rely on cookies for state information and also use frames. I'm not
entirely sure what the best solution is in this case so the current
(broken) behaviour will remain until I've had a chance to discuss it with
the other developers.
I have asked this question before but received no response.
If I log on to ebay using netsurf it works ok sometimes but at any
critical moment it clears the screen and shuts down netsurf.
Being an inveterate experimenter with thing new I have been downloading,
trying out and using netsurf from the very beginning, long before most of
those who write in now.
I am not a clever person in respect of computers, wholly self taught since
the days of the BBC Micro but I usually manage to sort things out by trial
What I want to know is: (a) Is this a known problem and should I forget
using netsurf for now on ebay. (b) Does ebay on netsurf work ok for others.
Donald, Isle of South Uist