[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, 8 months
Re: [Netsurf-develop] Occasionally malformed global history.
by Harriet Bazley
On 26 Aug 2006 as I do recall,
netsurf-develop-request(a)lists.sourceforge.net wrote:
> Please let me know whether this is worth a proper bug report, and, if
> so, whether I should send anything else with it.
>
> Occasionally (maybe one day in seven) I get the last two entries in
> the global history (yesterday and today) overlapping each other, with
> the today entry inaccessible. Do others get this?
>
Yes, I've had this, but assumed it had been cured by the latest Netsurf
download :-(
I had the impression that it manifested when I load Netsurf before
midnight and keep it running as the 'day' changes - you mention one day
in seven, so I wonder if it could be related to the week rolling over
instead?
--
H. Bazley
Please all, and you will please none.
17 years
[Netsurf-develop] Can't drag icon on download.
by Richard Porter
I first noticed this on the 18th August build. It was OK with the 22nd
August build but it's happened again with the 24th August build. I
click on a link to download a file (e.g. the next build) and the save
dialogue pops up, but I can't drag the icon to a directory. I can only
save the object by typing in the full pathname.
--
_
|_|. _ Richard Porter http://www.minijem.plus.com/
|\_||_ mailto:ricp@minijem.plus.com
17 years
[Netsurf-develop] Highlighting text
by Mark Fraser
I've just tried to highlight some text in a text box e.g. in the Google
search box at file:///<NetSurf$Dir>/Docs/intro_en and it either doesn't
highlight the text or the text is highlighted, but can't be deleted.
--
___________________________________________
|\ /| ark Fraser /mfraz2002(a)hotmail.com
| \/ | Somerset /www.mfraz.freeserve.co.uk
| |__________/Acorn SA RISC PC You know what the sig means!
17 years
[Netsurf-develop] Occasionally malformed global history.
by Dr Peter Young
Please let me know whether this is worth a proper bug report, and, if
so, whether I should send anything else with it.
Occasionally (maybe one day in seven) I get the last two entries in
the global history (yesterday and today) overlapping each other, with
the today entry inaccessible. Do others get this?
With best wishes,
Peter.
--
Peter \ / \ Prestbury, Cheltenham, Glos. GL52
Anne \ / __ __ \ England.
and / / \ | | |\ | / _ \ http://pnyoung.orpheusweb.co.uk
family / \__/ \_/ | \| \__/ \______________ pnyoung(a)ormail.co.uk.
17 years
[Netsurf-develop] Scaling Financial Times home page causes exit
by Michael Bell
Viewing the Financial Times home page:-
http://www.ft.com/
-: and going to scale the view to 120% causes exit (NetSurf icon
goes from Icon Bar after about 20 seconds of egg-timer) with no error
message. It does this repeatedly, and has done for 3 days at least. I
have reported this problem before, but I don't think to the right
place. My version is test build of 06 August 2006 18:00. (I like the
way astronomers quote date/time as yyyy/mm/dd/hh/mm/ss, so it is an
unbroken string with no jumps)
Michael Bell.
--
17 years, 1 month
[Netsurf-develop] Export to Drawfiles
by Richard Porter
I'm having a bit of a problem with Netsurf's Draw file format. Using
Fresco I can save a map from streetmap.co.uk as a draw file, ungroup
it about four times, deselect the map and delete the garbage. It will
then print on the laser printer (Calligraph/Dataproducts LZR855).
Using NetSurf it's much more difficult to isolate the actual map
sections, and then it prints a blank page. Nothing. Zilch. I suspect
it has something to do with the mode of the embedded sprites. Can this
be configured?
--
_
|_|. _ Richard Porter http://www.minijem.plus.com/
|\_||_ mailto:ricp@minijem.plus.com
17 years, 1 month
[Netsurf-develop] Can't Display Page, also i-frames
by hedleyh@arcade.demon.co.uk
I am using NetSurf (Test Build 06 Aug 2006) to access the Genes
Reunited site <http://wwwgenesreunited,co,uk> but frequently, when
trying to move on to the next page get a blank page with the message:
'Sorry, NetSurf was unable to display this page' then in smaller print:
'Connection time-out after 30020 ms'
Netsurf is still on line and I can go back to any previous page, so
what exactly does this mean?
Fresco makes a mess of the first page (no text) but I can get past this
and then can access the page without any problem.
Is there any way round this please?
Also, when I try to edit my family tree, which I sent them, I get the
error message: 'Your browser does not support i-frames. Please upload
a later version'. What are i-frames please, and will NetSurf be
supporting them in due course?
I'm using a RiscPC with 233SA and RISC OS 4.39.
--
Hedley Hunnisett of Wigston Magna, Leicestershire.
17 years, 1 month
Re: [Netsurf-develop] NetSurf-develop Digest, Vol 3, Issue 18 - Missing postings
by Martin Wynn
>> NetSurf used to use the Wimp to display text in the hotlist. It now
>> displays it itself so that Unicode in page titles is rendered correctly
In the subject digest above this is the last line I get... Anyone else
have this problem with this digest?
Martin
Using RiscOS 4.39 and Messenger Pro 3.29.
--
Martin Wynn, Newport, Shropshire.
A. HTML.
Q. What are the two most annoying things about emails?
17 years, 1 month