[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] Links using paths & WinSnap
by Adam
Hi All,
Consider:
<a href="AppNameRes:Help.html">Link</a>
(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
something obvious?
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?
Thanks,
Adam
--
Adam Richardson Carpe Diem
http://www.snowstone.org.uk/riscos/
17 years, 10 months
[Netsurf-develop] [RISCOS.be] Little error in NetSurf
by Frank Vandekerkhove
Hallo
NetSurf, testbuild dd. 09-Dec-2004 A9home
NetSurf, testbuild dd. 23-Sep-2005
Netsurf, testbuild dd. 06-Oct-2005
All latest versions of NetSurf do not run on the A9home.
If I understand it in the right way, it should be a know problem.
But I send this e-mail to tell you that all versions have the
same problem to align a image after a header.
To demonstrate this, look at the "test" in the attachment.
Inside the html code
- first 4 lines: align problem
- next 4 line of code = same code but between the </h2> and
the image the problem is solved by putting a dummy text
I just teested it also with
- !Fresco 1.72 and
- !Oregano 2.2.18 demo
Kindest regards
Frank
RISCOS.be
18 years, 1 month
[Netsurf-develop] Barclaycard problem
by John
Trying to access https://bcol.barclaycard.co.uk/ now gives the error
"
Barclaycard Account Services.
To access these facilities you must set your browser to accept JavaScript.
Please amend the browser settings and reload this page.
"
where I thought I had managed to log on before with NetSurf. Perhaps I am
remembering that wrongly, but in any case I am still able to log on with
O2.
If it is a JavaScript problem, why is it browser selective?
John
--
____
/__ __________________________
/____Mail from John(a)JohnWoodhouse.co.uk
. . . using RISCOS 5.10 on an XScale powered Iyonix computer.
18 years, 1 month
Re: [Netsurf-develop] Can't delete items from hotlist
by a.weston2@ukonline.co.uk
In <URL:news:local.misc> on Mon 17 Oct, Gavin Wraith wrote:
> In message <1129560443.4353b97b30ffd(a)webmail.ukonline.net> you wrote:
>
> > I'm using 29/9/05 version of Netsurf and can't delete items from the
> > hotlist permanently. They disappear but on reloading they have come
> > back. Can anybody help?
>
> Have you tried editing $.!Boot.Choices.WWW.NetSurf.Hotlist directly
> in an editor?
>
Yes that works but not the menu option.
regards
Andrew
----------------------------------------------
This mail sent through http://www.ukonline.net
18 years, 1 month