Re: [Netsurf-develop] Making NetSurf the Default Browser
by Gavin Wraith
On 19 Nov 2006 brian wrote:
> Someone please remind me how to ensure that NS is the browser that
> opens first when an html or url file is opened.
What I do is put (a link to) NetSurf in Resources:$.Apps using
AddApp in an Obey file in !Boot.Choices.Boot.PreDesk and I hide
Oregano2 away to ensure it is not filer_booted at startup. I
also put a "shadow" application !Oregano2! in Resources:$.Apps;
clicking on it will filer_run Oregano2, but its presence in
Resources:$.Apps does not cause Oregano2 to be filer_booted.
That way I get NetSurf as the default but I can switch between
browsers by clicking on the appropriate icons in Resources:$.Apps.
Was this the sort of information you needed?
--
Gavin Wraith (gavin(a)wra1th.plus.com)
Home page: http://www.wra1th.plus.com/
16 years, 4 months
[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, 5 months
[Netsurf-develop] Damn debora
by Bryn Evans
I just added a new delete *debora* rule as no.1 before any accepts.
First run caught 1420, all of them 'Returned/undeliverables'
I'm going to try using PlusNet's Redirect facility to divert them to a
black hole and save some of my DialUp time.
--
|) [
|)ryn [vans mail to - BrynEvans(a)bryork.com
http://www.bryork.com
16 years, 6 months
[Netsurf-develop] Uploading Logfile Problems
by brian
Tried for the third time ... worn out repeating myself.
The SUBMIT button doesn't work for me. First time I tried I got
'Netsurf acnnot display ...'
Now it's just sitting there - no action on clicking SUBMIT.
FWIW:
----------------------------------------------------------------
Crash on loading www.trademe.co.nz
Crashes as soon as this page loads:
<http://www.trademe.co.nz>
Repeatable. NS shows the red/yellow hourglass when the page staus
reports 'done'. Curious, as it's fine with this page:
<http://www.trademe.co.nz/STRUCTURE/MY_BIDS_CURRENT.ASP?source=sidebar>
and fine to bid on auctions.
Iyonix RISC OS 5.11
Netsurf 11 Nov 06
--------------------------------------------------------------
Brian
--
Auckland NEW ZEALAND
16 years, 6 months
[Netsurf-develop] Launching from the global history toolbar
by Gavin Wraith
I have just discovered the hard way that the global history
toolbar has a button which "launches all selected addresses
in separate browser windows. ... ".
Maybe I will be more cautious in future, but may I suggest
that this feature is a bit dangerous without some sort of
mugtrapping for idiots like myself? Perhaps a warning dialog
could be interposed by default, saying "did you really mean to
open 58 windows at once?".
NetSurf gets better and better.
Thanks.
--
Gavin Wraith (gavin(a)wra1th.plus.com)
Home page: http://www.wra1th.plus.com/
16 years, 6 months
[Netsurf-develop] F4 crashes NS
by brian
NetSurf bui;d 11 Nov 06
Pressed F4 to search a page and NS disappeared.
I'd earlier in the same session successfully searched a page using F4.
Strange isn't it?
NS didn't generate a log, that I can see, in
!Boot.Resources.!Scrap.ScrapDirs.ScrapDir.WWW.NetSurf.
So what can I do now?
Brian
--
Auckland NEW ZEALAND
16 years, 6 months