[Netsurf-develop] Font / Unicode overview
by James Bursa
In an attempt to answer the questions that have appeared recently,
I've written a guide to fonts and Unicode support in NetSurf.
James
______________________________________________________________________
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,
if available.
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
detects them.
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
is available.
* 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.
16 years, 11 months
[Netsurf-develop] search-as-you-type
by Tony Moore
Recent CVS Activity, 2005-07-19 03:56, adrianl:
> Search-as-you-type
So much easier to use. Many thanks.
Some suggestions:
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.
Tony
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
18 years, 4 months
[Netsurf-develop] Smartgroups uploading
by David J. Ruck
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.
NetSurf bypasses the javascript filename validity check, so the single file
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.
Cheers
---Dave
--
____________________________________________________________________________
David J. Ruck Phone: +44- (0)7974 108301 Email: druck(a)druck.org.uk
____________________________________________________________________________
18 years, 4 months
[Netsurf-develop] Downloads
by David W Mills
Troubl ehere downloading
Luckily I keep all my previous downloads so have 21 July 2005 22:01 that
runs okay for me on my Iyonix on most sites I use.
David
18 years, 4 months
[Netsurf-develop] Accented chars lost
by Jerome Mathevet
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
decimal dot.
--
Jérôme Mathevet
18 years, 4 months
[Netsurf-develop] Re: NetSurf-develop digest, Vol 1 #695 - 16 msgs
by J.J. Muyderman
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 ;)
> Adrian
Same problem as Wim Ekels here: solution in MimeMap doesn't work
Running Testbuild 27 jul 2005 23.00 on Iyonix / RO 5.09
Best regards,
Hans Muyderman
18 years, 4 months
[Netsurf-develop] Netsurf exits on fetch
by David Pitt
Hi,
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
Stack backtrace:
( 292c98) pc: 9fe8c lr: 13a904 sp: 292c9c __write_backtrace()
Test Build (29 Jun 2005 00:00) is OK
--
David Pitt.
Castle Iyonix, RISC OS 5.09.
18 years, 4 months
Re: [Netsurf-develop] netsurf 27072005 disappearing from iconbar
by Adrian Lees
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
> possible.)
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.
Adrian
18 years, 4 months