[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] Reporting bugs
by James Bursa
Due to lack of time, we're finding it difficult to reply to bug
reports on this list, and keep track of what needs fixing. Therefore
we've decided to change the way we do things.
>From now on, please report bugs to the bug tracker on SourceForge
instead of to this list:
http://sourceforge.net/tracker/?atid=464312&group_id=51719
If you set up a SourceForge account, you'll get an email whenever
something changes on a bug that you reported, and you can also choose
to monitor other bugs. Otherwise you'll need to note your bug number
and check back for changes.
There is also a similar tracker on SourceForge for feature requests.
Thanks!
James
17 years, 7 months
[Netsurf-develop] Certificates
by John Williams
I am currently setting up IPCop on an old PC to serve my RISC OS network.
The JS can be turned off on the web browser GUI (thanks, Mike!), but
NetSurf, which would be ideal for handling its CSS-based output, complains
about its 'certificate' and will go no further.
Is there a way of temporarily turning that aspect off, or white-listing IP
addresses, so that I can use NetSurf to manage IPCop?
John
--
|| John Williams || Wirral, Merseyside, UK
Who is John Williams? http://www.picindex.info/author/
17 years, 9 months
[Netsurf-develop] URL highlighting suggestion
by Grahame Parish
Hi,
I use FireFox as my default PC browser, and a mixture of NetSurf and O2 on
RISC OS. I like the idea in FireFox of colouring the URL bar when a
secure site is visited, but I've also had an idea that might help us avoid
potential spoof sites.
There appears to be a trend towards the registering of domain names with
Unicode characters in the name. In this way it would be possible to
register the name of a bank using letters that /looked like/ the real
domain name of the bank. Depending on how this type of URL was displayed
in the URL bar it might not be possible to detect this type of deception.
Would it be possible to have some form of highlighting to show this
situation (i.e. the use of Unicode characters in the URL)?
Cheers,
Grahame.
--
Grahame Parish
Aylesbury, Bucks. HP19 (UK)
maillistDOTparishATmillersHYPHENwayDOTnet
17 years, 10 months
[Netsurf-develop] Re: Weird bug
by Evan Clark
In article <4df151aeaelists-nospam(a)vigay.com>,
Paul Vigay <lists-nospam(a)vigay.com> wrote:
> For some reason I appear to have a non-standard 'Trinity' font on
> my Iyonix. I've no idea where it came from, but it includes
> 'smallcaps' which is what it appears NetSurf had used.
> I've just deleted Trinity from my Boot:Resources.!Fonts directory
> (reverting back to the one in the ROM) and it now correctly views
> the page above with lower case letters for Fred Bloggs)
There must be more to it than that. I also have SmallCaps in Medium,
Bold, MediumItalic and BoldItalic versions, yet your page displays as
intended. Test Build (22 Jan 2006 17:30).
Evan.
17 years, 10 months
Re: [Netsurf-develop] Weird bug
by James Bursa
On Monday 30 January 2006 12:03, Paul Vigay wrote:
> In article <4df14f1bf7tim(a)timil.com>,
>
> Tim Hill <tim(a)timil.com> wrote:
> > In article <4df1471df0lists-nospam(a)vigay.com>, Paul Vigay
> >
> > <lists-nospam(a)vigay.com> wrote:
> > > visit http://www.paulsdomain.co.uk/contact.html The example name and
> > > email address after the entry boxes, should be lowercase italic.
> >
> > They are here (though Fred Bloggs has initial caps) and look like
> > Trinity.italic
> >
> > 2006.01.29 12:30 version
>
> Same version here - but you've given me the clue to solve the problem.
> Thanks.
>
> For some reason I appear to have a non-standard 'Trinity' font on my
> Iyonix. I've no idea where it came from, but it includes 'smallcaps' which
> is what it appears NetSurf had used.
> I've just deleted Trinity from my Boot:Resources.!Fonts directory
> (reverting back to the one in the ROM) and it now correctly views the page
> above with lower case letters for Fred Bloggs)
NetSurf only supports the CSS generic font families, so in your example it
would have used "serif" (line 2 of your default.css). This would be displayed
the family you have set as serif in the font choices, Trinity by default.
The method that it uses to choose a font within a family has just changed, but
I think it should have chosen Trinity.Medium.Italic here. Do you have a full
list of Trinity fonts you had?
James
17 years, 10 months
Re: [Netsurf-develop] NetSurf is a known address harvesting program...!
by Harriet Bazley
On 29 Jan 2006 as I do recall,
David W Mills wrote:
> I have tried both these websites on all the browsers I have, both on Risc OS
> and the other side:
>
> No joy at all....... my school laptop has both Firfox and IE and neither
> works...FF is blocked and IE has Page cannot be Displayed.
>
> with O2 it does not matter what faking I set, it is blocked as is FF on my
> Iyonix and also WXL.
>
> Seems the problem is pretty wide.
>
According to the webmaster I contacted, *any* attempt to view his web
pages from your IP will be blocked after an access request from the evil
NetSurf, even if you subsquently use a different browser. If you
e-mail him, you can get the block removed (he told me he'd done mine),
but any reoccurrence of a 'blocked' user agent string will trigger the
automatic ban again.
It does seem a bit silly. Naive, even, since it won't ban anyone
other than those too innocent to fake their user agent ID....
--
H. Bazley
An idea is not responsible for the people who believe in it.
17 years, 10 months
Re: [Netsurf-develop] NetSurf is a known address harvesting program...!
by Philip Pemberton
In message <4df046d24elists-nospam(a)vigay.com>
Paul Vigay <lists-nospam(a)vigay.com> wrote:
> However, I agree that it would be nice to perhaps have an additional
> 'config' setting in Netsurf so that we could choose from a few of the
> popular ones as well as enter our own user agent strings. That would give
> an additional bit of flexibility.
Actually, I suggested this a while back and got a pretty cold response from
the rest of the Netsurf dev team - "the server's broken, make them fix it
instead of putting a workaround into NS"...
--
Phil. | Acorn RiscPC600 SA220 64MB+6GB 100baseT
philpem(a)dsl.pipex.com | Athlon64 3200+ A8VDeluxe R2 512MB+100GB
http://www.philpem.me.uk/ | Panasonic CF-25 Mk.2 Toughbook
... Shin - Device for finding furniture in the dark.
17 years, 10 months
[Netsurf-develop] Security issue with recent URLs
by Steve Turnbull
Hi
Although it is, in some respects, handy, I've noticed that if I access
a page that requires a username and password and then use the menu of
recent URLs to bring up the page again it's got the username and
password already in place -- if I haven't shut down and reloaded
NetSurf in the meantime (obviously).
Specifically this happens with Sitemeter.com, I don't regularly access
any other passworded website so can't comment on those.
vrsn: 27 Jan 2006 00:00
--
Steve Turnbull (steve@theturnbulls(dot)fsworld(dot)co(dot)uk)
... "Bother", said Pooh, as he saw "Filecore in use."
17 years, 10 months