[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
[Netsurf-develop] Bug report
by Anthony Hilton
I get a crash with 28 July 2006 16:45 when trying to open the default
homepage (file:///Netsurf$Dir/docs/intro_en). I have logged it in the bug
tracker - 1531051 - and attached a zip archive of the log file, but checking
the report doesn't show any attached files. Does someone want me to email the
log direct?
In case it is relevant I posted the bug report using Fresco.
Anthony
--
ajh(a)tinshill.f9.co.uk
17 years, 1 month
[Netsurf-develop] Spurious A-circumflex
by Richard Porter
I'm getting spurious A-circumflex characters on some pages in front of
characters like the pound sign. Specifically I've filled in a form in
which I used the pound sign twice in a text area. When the updated
page showing my message comes back there's a spurious A-circumflex in
front of the pound sign (encoded £ in the source).
Is this character being inserted when I submit the form or is it done
by the web server concerned?
--
_
|_|. _ Richard Porter http://www.minijem.plus.com/
|\_||_ mailto:ricp@minijem.plus.com
17 years, 2 months
[Netsurf-develop] Bug 1524923 follow-up
by Keith Hopper
Greetings,
This am I have twice tried to add a follow-up to the above bug.
Sourceforge has twice said it has been registered - and then when I try to
open the bug document again says that no follow-ups have been registered.
In following up all I wanted to say was that the bug is still there in
the 23 July build and, perhaps more important, when trying to open a
document after the crash, Netsurf in attempting to load itself and load the
document crashes again - and again - until I rebooted!
--
Inspired!
17 years, 2 months
[Netsurf-develop] Is it me or is it Sitemeter? (or Netsurf)
by Steve Turnbull
Hi
I use Sitemeter (www.sitemeter.com) for monitoring one of my websites,
Netsurf always seemed to have problems -- sometimes just failing to
properly render a page, even though View source showed that it was
downloaded, but a refresh would usually get it.
Recent versions of Netsurf didn't have problems (apart from cookie
issues but I understand about that) but 2 Jun 06 now completely
refuses to render even the login page properly.
When I say "refuses", actually what it's always done is put a box at
the top of the screen and the Sitemeter rotating GIF in that box. But
nothing else.
Before I report it as a bug, is this a known problem? Is it something
wrong with the server? Something else?
Kind regards
Steve
--
Steve Turnbull (steve@theturnbulls(dot)fsworld(dot)co(dot)uk)
... Can I stop typing in taglines now please?
17 years, 2 months
[Netsurf-develop] 192.com
by Mike Binks
Hi folks
I wonder if I am the only one who finds www.192.com extremely useful
and is frustrated by the fact that the search boxes on the home page
do not work in NetSurf.
In some previous versions you could enter details even though you
appeared to type invisible text. The last few versions do not allow
entry at all.
Could somebody who understands such things tell me whether this is a
NetSurf problem or badly written page. In the case of the latter I
would take it up with the owners. But I at least would like to appear
that I know what I am talking about.
There are other ways of using the site by moving off the home page.
Thanks in anticipation.
--
Mike Binks RiscOS Select
Christian by Grace Virtual RiscPC
Living in Bonny Galloway http://www.hollybank.net
17 years, 2 months
[Netsurf-develop] Netsurf 18 Jul 0200 build - serious error
by Keith Hopper
I have just had a request to report a serious error - which I have
done - but the current build will not let me attach the log file (The 'drop
on' text is missing from the upload icon - at least.
I have therefore submitted the bug report without attached log. The
key part of that appears to be the fatal signal report at the end - which
is short so I have attached it here.
My only other browser also crashed on sourceforge this morning so I
hope this will help.
Keith Hopper
--
Inspired!
thumbnail_iconise:1
Fatal signal received: Aborted
Stack backtrace:
( 313464) pc: ab140 lr: 156624 sp: 313468 __write_backtrace()
( 313508) pc: 156180 lr: 14620 sp: 31350c __unixlib_raise_signal()
( 313518) pc: 145f4 lr: 15520 sp: 31351c raise()
( 31352c) pc: 154e4 lr: 133080 sp: 313530 abort()
( 313548) pc: 132ff8 lr: 24b4dc sp: 31354c __assert2()
( 313580) pc: 24b074 lr: 21e828 sp: 313584 ^layout_minmax_line()
( 3135a4) pc: 21e7bc lr: 1ea7c0 sp: 3135a8 ^layout_minmax_inline_container()
( 3135cc) pc: 1ea6e4 lr: 1ea7b4 sp: 3135d0 ^layout_minmax_block()
( 3135f4) pc: 1ea6e4 lr: 1ea7b4 sp: 3135f8 ^layout_minmax_block()
( 31361c) pc: 1ea6e4 lr: 6c4a4 sp: 313620 ^layout_minmax_block()
( 313668) pc: 6c364 lr: 1ea7cc sp: 31366c ^layout_minmax_table()
( 313690) pc: 1ea6e4 lr: 1ea7b4 sp: 313694 ^layout_minmax_block()
( 3136b8) pc: 1ea6e4 lr: 138d48 sp: 3136bc ^layout_minmax_block()
( 3136d8) pc: 138d08 lr: 20b18c sp: 3136dc layout_document()
( 31374c) pc: 20ac8c lr: 221fd0 sp: 313750 html_convert()
( 3137b0) pc: 221e88 lr: 1edd04 sp: 3137b4 content_convert()
( 313824) pc: 1edad0 lr: 24d454 sp: 313828 ^fetchcache_callback()
( 315f9c) pc: 24d288 lr: b2e4 sp: 315fa0 ^fetch_done()
( 315fb8) pc: 242e38 lr: 1b58cc sp: 315fbc fetch_poll()
( 315fc8) pc: 1b58b0 lr: 134060 sp: 315fcc ^netsurf_poll()
( 315fe0) pc: 134018 lr: b0e84 sp: 315fe4 main()
( 315ff0) pc: b0e64 lr: add4 sp: 315ff4 _main()
Register dump at 00315ff4:
a1: 0 a2: 5 a3: f60690ff a4: 0
v1: 30ffd0 v2: 5000 v3: 10a88 v4: 221bfc
v5: 0 v6: 0 sl: 0 fp: 0
ip: 0 sp: 0 lr: 0 pc: 0
cpsr: 0
[Disassembly not available]
17 years, 2 months
[Netsurf-develop] image link area actual image size or not?
by brian
In the case of an image used as a link and where the image is rendered
a smaller display size than actual size, NetSurf spreads the link
reference area to cover the actual size, instead of the dims in the
code overriding the ref area. Is this the behaviour I am to expect
from an img link?
Here's a test page I culled from my own site:
http://www.adam.co.nz/test.htm
The two upper image examples in the left column have different actual
sizes, and the link generated by the upper image extends into the
neighboring column.
Brian
--
Auckland NEW ZEALAND
17 years, 2 months
[Netsurf-develop] Summary of changes to 2006-07-16
by Michael Drake
Here's a summary of changes in the last two months:
+ Cookie support reinstated
+ Added cookie management window
+ UTF8 display and editing in Hotlist and Global History
+ Ctrl resize window to scale view
+ Improved SSL certificates window
+ CSS absolute positioning
+ Improved float placement
+ Background image improvements
+ Knockout rendering for faster display
+ Directory listings for local URLs
+ "Up" toolbar button
+ Adjust click back/forward/up to open in new window
+ Adjust click form button to submit in new window
+ Option to disable iconise thumbnail generation
+ Massively optimised URL handling
+ Multi window support for GTK port
+ Translation updates
+ Stability fixes
+ Lots of other bug fixes and optimisations
Please test the latest version
http://netsurf.sourceforge.net/builds/
Bugs should be reported to the bug tracker
http://sourceforge.net/tracker/?group_id=51719&atid=464312
--
Michael Drake (tlsa)
http://www.smoothartist.com/
17 years, 2 months
[Netsurf-develop] Nasty crash
by Jess Hampshire
Hi
I just managed to crash NS by chosing a theme with an up button adding
it then reverting to one without the button.
Does this need to be submitted as a bug?
(I have kept a log just in case)
--
Jess Iyonix
contact http://jess.itworkshop-nexus.net
mailto:groups@jess.itworkshop-nexus.net
17 years, 2 months