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.
Try this (but remember to save your Hotlist first!):
- Open the Hotlist window (which should contain a number of directories
- Open a directory and select or launch an item.
- Close the Hotlist window.
- Reopen the Hotlist window (this will not show anything selected).
- Select an item (not the same as the one mentioned above and not from
the same directory either).
- Delete the selected item.
The item disappears of course, but so does the item selected/launched
This is perfectly repeatable with the 29 Apr 2005 11:00 and 28 Apr 2005
16:01 builds, but it was in earlier builds as well (I know because I was
inexplicably losing Hotlist items - didn't recognize the pattern until
The first item doesn't disappear if the directory containing it is
opened before the second item is deleted, by the way (possibly because
doing that clears a selection which - though invisible - is still
Build (30 April 2005 17:15)
Just been looking at my web stats pages with Netsurf.
All the bar charts are upside down. It looks as IMG
plotting for pngs has been reflected in the vertical direction
relative to the character baseline.
Gavin Wraith (gavin(a)wra1th.plus.com)
Home page: http://www.wra1th.plus.com/
On 26 Apr 2005, Adrian Lees wrote:
> On Mon, 25 Apr 2005 you wrote:
> > Text import from clipboard, or files, works well but I have not
> > been able to find any editing keys, apart from backspace-delete.
> > Am I missing something?
> Ctrl-U deletes the line containing the caret
> Ctrl-End deletes to the end of the line
> Ctrl-Left/Right move to the start/end of the line
> Home/End do the same
> Ctrl-Up/Down move to the top/bottom of the text
> What you can't do yet is select text within a textarea, and hence
> there's no Ctrl-C or Ctrl-X don't work. These will be implemented
> in time. I also have a few other editing operations to check in
> such as word left/right.
Many thanks for the explanation. Ctrl-A would also be useful to
select all the text in the textarea, when it has the caret (cf
selecting web page text, when the caret is not positioned).
Send instant messages to your online friends http://uk.messenger.yahoo.com
On Mon, 25 Apr 2005 you wrote:
> Text import from clipboard, or files, works well but I have not
> been able to find any editing keys, apart from backspace-delete.
> Am I missing something?
Ctrl-U deletes the line containing the caret
Ctrl-End deletes to the end of the line
Ctrl-Left/Right move to the start/end of the line
Home/End do the same
Ctrl-Up/Down move to the top/bottom of the text
What you can't do yet is select text within a textarea, and hence
there's no Ctrl-C or Ctrl-X don't work. These will be implemented
in time. I also have a few other editing operations to check in
such as word left/right.
Hi, I have just downloaded the latest build. I get an error message saying
that !Netsurf requires Iconv 0.04 or later but am unable to connect to the
page where it is held. Does anyone else have the same problem?
Everyone has a photographic memory. Some just don't have film.
Continuing to jump through all the hoops to allow NetSurf to function
correctly on RISC OS 3.1 is becoming somewhat cumbersome for a few of the
things I'm currently working on. As such, I intend to drop all support for
any versions of RISC OS prior to 3.5 within the next few weeks unless
someone can provide a reasonable reason not to (I cannot think of any.)
As I do not have much free time at the moment, reasons should be provided
in bullet point form and be as concise as possible. I do not intend to
discuss any points that are suggested on this list (other than privately
with the other developers), so please try to express your reasons in the
best manner possible.
Just picked up Test Build (27 Apr 2005 00:15)
Something in the following change:
2005-04-26 13:36 - tlsa - !NetSurf/Resources/CSS,f79
Increase default cellspacing to 2px and provide 1px default cellpadding.
Seems to produce the unwanted effect of introducing lines 1px or 2px wide
in composite pictures displayed in tables despite the HTML declaring
cellspacing and cellpadding both to be 0.
>From somewhere in North Hampshire. England