[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, 9 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, 5 months
[Netsurf-develop] Memory leak problem
by David H Wild
I recently discovered that I could view jpegs by dragging them to the
Netsurf iconbar icon. This was very useful as I get regular emails with
tram pictures attached.
This morning I was looking at a batch of jpegs when I got a message saying
that Netsurf was running out of memory; the only way that I could carry on
was to quit Netsurf and restart. I don't think that the problem arises when
the pictures are from the web.
This is using the March 10th build with Select 4.37.
--
David Wild using RISC OS on broadband
17 years, 6 months
[Netsurf-develop] Minor scaling bug
by Simon Smith
http://www.irregularwebcomic.net/1159.html
Not the most rib-ticklingly funny of comics 5this week, but serves to
illustrate what happens if you set the scale to 200% to try to view a large
image.
I run at 1360x1024x16M
You can scroll right and see the right-hand side of the image, but not left.
On the left hand side of the image, the part of the image in line with 'Oh
man ...' isn't visible.
Relevant source code looks reasonable to me:
<!-- content -->
<div class="center"><b>No. 1159</b>
<p>
<img src="/comics/irreg1159.jpg" width=815 height=275 alt="Comic #1159"></div>
<p>
<div class="center">
At 100% or 150% I can see the full image.
Netsurf build 25/03/2006. Haven't tried the latest yet - I usually update at
the weekends.
--
Simon Smith
O, varium et mutabile semper alpha.
17 years, 6 months
[Netsurf-develop] DirectGov
by Gavin Wraith
According to http://news.bbc.co.uk/1/hi/technology/4853000.stm
60% of UK government websites do not validate with the W3C.
I find, for example, that NetSurf (27 Mar 2006 01:15, on
RO 5.11) hangs after giving the warning "Stylesheet not CSS"
when I try to access
http://www.direct.gov.uk/
which is the government's front page.
I would like to request that NetSurf acquire more defensive
features, viz. that the user should be able to block any sort
of load (css, html, graphic, ... ) selectively after a configurable
timeout. I seem to remember that ArcWeb let you do this with
graphics.
--
Gavin Wraith (gavin(a)wra1th.plus.com)
Home page: http://www.wra1th.plus.com/
17 years, 6 months
[Netsurf-develop] SourceForge login
by Harriet Bazley
I can't seem to log into the Sourceforge pages using NetSurf any more;
it just reloads the same log-in page, apparently asking me to log in
again (and the 'menu bar' above doesn't show my individual settings
either). Multiple attempts over multiple days with the 17 March/27
March builds.
--
H. Bazley
It is better to be deceived by a friend, than to suspect him.
17 years, 6 months
Re: [Netsurf-develop] Unwelcome feature
by Adrian Lees
On Tue, 28 Mar 2006 you wrote:
> With this build the directory icon is replaced by a thumbnail of the
> page that is minimised. If this is a complicated or graphics heavy
> page there is now a quite appreciable delay in the process.
>
> I can find no way to deselect the thumbnails. Could this Please be
> made an option in choices?
I will look into removing the inefficiencies first, because it's a
very handy way to differentiate pages if you have a number of
them iconised.
If it can't be made fast enough even on the slowest hardware then
I guess we can make it optional.
Adrian
17 years, 6 months
[Netsurf-develop] Re: history window
by David H Wild
In article <4e0e8da42flists-nospam(a)vigay.com>,
Paul Vigay <lists-nospam(a)vigay.com> wrote:
> > Thank you for that - it now opens entirely within the screen. Will it
> > be possible to auto-scroll, to show the thumbnail of the current
> > window?
> Hmm. Is this supposed to do anything? I've just noticed that the history
> window now doesn't do anything. It remains completely blank, not even any
> page outlines.
The history is certainly visible here.
--
David Wild using RISC OS on broadband
17 years, 6 months
[Netsurf-develop] Unwelcome feature
by Bryn Evans
Over time I am immensly impressed with the development of NS and the
hard work and dedication of the developers.
With the Mar 27 build a (to me ) unwanted extra has appeared.
Using the Minimise (?) button, '_' at top right of the browser window
used to immediately produce a directory icon on the pinboard that
could recall the page at will, and also allow slow loading pages to
fetch in the background while other browsing took place.
With this build the directory icon is replaced by a thumbnail of the
page that is minimised. If this is a complicated or graphics heavy
page there is now a quite appreciable delay in the process.
I can find no way to deselect the thumbnails. Could this Please be
made an option in choices?
--
|) [
|)ryn [vans mail to - bryn(a)bryork.com
http://www.bryork.com
17 years, 6 months
[Netsurf-develop] history window
by Tony Moore
Recent CVS Activity 2006-03-25 20:30 -bursa
... Improve layout of history tree.
Thank you for that - it now opens entirely within the screen. Will it be
possible to auto-scroll, to show the thumbnail of the current window?
Tony
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com
17 years, 6 months