Re: [Netsurf-develop] Fonts to use with Netsurf?
by David Pitt
In message <b76f275e4d.pnyoung(a)pnyoung.argonet.co.uk>
Dr Peter Young <pnyoung(a)argonet.co.uk> wrote:
>
>On 19 Apr 2005 "David J. Ruck" <druck(a)druck.org.uk> wrote:
>
[snip]
>>What you need to do is to get a unicode True Type font, and convert it
>>for use under RISC OS, then NetSurf can find it, and use it.
>>
>>Either download a free font such as CyberBit from
>>ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP
>>then get !TTF2f from http://moose.mine.nu:6888/ttf2f2.zip and follow
>>the instructions for converting the TTF font carefully.
>
I got off to a bad start when !FTPc did not find communicator in pub.
Changing the URL prefix to http: and Oregano2 obliged.
>Done all that, and after a brief read of the help file for TTF2f, I've
>put off doing anything more till another day.
>
>One thing I couldn't quite follow is where to put the converted font.
>
The converted font is a RISC OS font and it goes inside any !Fonts
application, mine went into !Boot.Resources.!Fonts
The awkward bit on the Iyonix is updating the Messages1 file. A new font
not referred to in that file will not be available for use. I used
!ScanFonts from Select which works with Aemulor. Otherwise the new font
could be extracted, put into a dummy !Fonts and then installed via the
Fonts configuration.
--
David Pitt.
Castle Iyonix, RISC OS 5.08.
18 years, 5 months
Re: [Netsurf-develop] Fonts to use with Netsurf?
by David Pitt
In message <560f3a5e4d.Sendu(a)sendu.me.uk>
Sendu Bala <sendu(a)sendu.me.uk> wrote:
>
>On 19 Apr, David Pitt wrote:
>
>>
>> In message <6bf4355e4d.tim(a)south-frm.demon.co.uk>
>> Tim Powys-Lybbe <tim(a)powys.org> wrote:
>>
>> [snip]
>> >
>> >Finally I looked for the new font through NetSurf's Choices but
>> >nothing was to be seen. Rebooting NetSurf did nothing. Got nowhere
>> >with the various Font... commands. Probably the machine needs
>> >rebooting to sort that out. That'll be done later.
>> >
>> The Messages1 file needs updating. See my other post.
>
>I don't even /have/ a Messages1 file...
>
>
>> Cyberbit is present in NetSurf's choices here and working.
>
>... but Cyberbit also works well here.
>
It will if there is no Messages1 file, what does not work is a Messages1
file that does not contain the new font. The Messages1 file tells the
FontManager what is available, if it is not present then it has to work
it out for itself. Messages1 is quicker which may not matter much unless
there are a lot of fonts.
--
David Pitt.
Castle Iyonix, RISC OS 5.08.
18 years, 5 months
[Netsurf-develop] Summary of recent changes
by James Bursa
Here's a summary of important changes over the last few weeks. Please try
the new features and let us know of problems!
* new entries on the iconbar menu to open URLs and show the history and
hotlist
* changes to HTML processing which improve handling of forms and titles,
and attempt to extract URLs from "javascript:" links
* many improvements to table cellpadding and borders
* <object> fallback implemented
* text selection (drag on text to select it; ctrl-drag selection to save
out)
* drag scrolling (drag an empty area of a page, or shift-drag)
* drag-saving images (ctrl-drag an image to save it)
* text input with alphabets other than Latin1
* and many bug fixes and minor improvements
http://netsurf.sourceforge.net/builds/
Thanks for all your feedback - we read all posts to the list, even if we
don't always respond.
James
18 years, 5 months
Re: [Netsurf-develop] Netsurf gobbles up memory (2)
by David Pitt
In message <Marcel-1.53-0417074442-0b0zokP(a)TopOffice.nom>
Gordon F McLaren <info(a)wardlaw.demon.co.uk> wrote:
>
>Further to my post in Vol 1 #609 (2):-
>
>Done some tests with the offending html file that is causing the crash
>and stripped down to a bare minimum:-
>> *******
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
><HTML>
><!-- 16.04.2005 WS REDUCED TO BARE MIN FOR NETSURF TESTING -->
><HEAD>
><TITLE>Page Title</TITLE>
></HEAD>
><!-- Next line causes the crash (I think) -->
><FRAMESET COLS="168, *">
>
><FRAMESET ROWS="76, *, 32">
><FRAME SRC="">
><FRAME SRC="">
><FRAME SRC="">
></FRAMESET>
>
><FRAME SRC="">
>
></FRAMESET>
>
></HTML>
>> *******
>
I can replicate the "running out of memory" error with the above
fragment on my 128M Iyonix. NetSurf claims all the available memory as
its Dynamic area, eg. 79456K.
--
David Pitt.
Castle Iyonix, RISC OS 5.08.
18 years, 5 months
[Netsurf-develop] Flickering streaks on pinboard
by Keith Hopper
Greetings,
18 April 2045 build, Iyonix 5.08
I have just been looking up some obscure words in the OED on-line and,
while pages were being awaited, there have been narrow horizontal streaks
flickering for a fraction of a second about one quarter way up the
left-hand side of the Netsurf window - from that edge to the left edge of
the display. The flickering streak appears and disappears very rapidly -
but not regularly - some 1 to 3/4 seconds between flickers.
This flickering does not appear in conjunction with other phases of
document retrieval/rendering, nor in conjunction with any other
application. There are a humungous number of content_destroy and
contetn-remove_user calls in the stderr file - but nothing else apart from
cache interaction reports.
Keith
--
City Desk
Waikato University
[PGP key available if desired]
18 years, 5 months
[Netsurf-develop] Strange truncation
by Brian Jordan
RISC OS Adjust 4.39
Virtual RPC Adjust
NetSurf test Build (18 April 2005 12:00)
On two of my sites NetSurf appears to truncate some content. It may well
do it on other sites as well but as I don't know what the should say, I
can't be sure.
At the foot of www.clubmans.org.uk/ there is a link starting "This site
is designed..." only the word "site" is truncated to "sit". The link
continues to work and <F8> shows that the source has not been corrupted.
On www.btinternet.com/~brian.jordan9/quiz/index.htm/ some numbers >1000
in the "Match (F)" column of the second table have lost their last digit.
Again the downloaded sorce contins all of the data.
Can anyone else confirm this? I know the HTML isn't very elegant but it
works on Ovation 2 and Firefox here.
--
______________________________________________________________________
Brian Jordan
>From somewhere in North Hampshire. England
______________________________________________________________________
18 years, 5 months
[Netsurf-develop] Re: Norcroft report (patch included)
by John-Mark Bell
On Tue, 19 Apr 2005, Stefan Bellon wrote:
[snip]
> This can even lead to inconsistencies between different compilation
> units if one includes one order and the other includes the other order.
> I think the proper fix is to include errno.h from within iconv.h rather
It did this before. I'm not entirely sure why it was changed, tbh
(although it appears to have been part of Nick's work making errno thread
local)
> than defining EILSEQ but I wasn't courageous enough to do it this way
> because I cannot overlook the side effects this change may have.
I'm not entirely convinced that's even needed in UnixLib (as our errno.h
already defines EILSEQ). I only included in the original stubs as the SCL
headers supplied with Norcroft don't define it.
John.
18 years, 5 months
[Netsurf-develop] Problem in content_remove_user() ?
by John Tytgat
NetSurf build 11 Apr 2005 01:15:
- Open new window.
- Enter http://www.schule.bremen.de/schulen/szgr/404.php3
- Wait a couple of seconds.
- Erase previous URL and enter http://www.drobe.co.uk/
- Crash:
--8<--
content/fetch.c fetch_abort 457: fetch 0x442842c0, url 'http://www.schule.bremen.de/schulen/szgr/404.php3'
* About to connect() to www.schule.bremen.de port 80
* Trying 195.37.106.42... * Connected to www.schule.bremen.de (195.37.106.42) port 80
> GET /schulen/szgr/404.php3 HTTP/1.1
User-Agent: NetSurf
Host: www.schule.bremen.de
Accept-Encoding: gzip
Accept-Language: en, *;q=0.1
< HTTP/1.1 302 Found
< Date: Mon, 11 Apr 2005 23:12:03 GMT
< Server: Apache/1.3.20 (Linux/SuSE) mod_python/2.7.5 Python/2.1.1 mod_perl/1.26 PHP/4.2.2
< Location: http://www.schule.bremen.de/schulen/szgr/404.php3
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=iso-8859-1
content/fetch.c fetch_curl_data 693: fetch 0x442842c0, size 306
* Failed writing body
* Failed writing data
* Closing connection #0
content/fetch.c fetch_stop 481: fetch 0x442842c0, url 'http://www.schule.bremen.de/schulen/szgr/404.php3'
desktop/browser.c browser_window_go_post 173: bw 0x441abd50, url http://www.drobe.co.uk/
content/content.c content_remove_user 813: content åð^âðå`, user 0x16592c 0x441abd50 0x0
content/content.c content_remove_user 822: user not found in list
"content/content.c", line 823: content_remove_user: Assertion failed: 0
Fatal signal received: Aborted
Stack backtrace:
( 247b84) pc: 10317c lr: 50448 sp: 247b88 __unixlib_raise_signal()
( 247b94) pc: 5041c lr: 4f20c sp: 247b98 raise()
( 247ba8) pc: 4f1d0 lr: fd5bc sp: 247bac abort()
( 247bd8) pc: fd550 lr: 6af58 sp: 247bdc __assert2()
( 247bfc) pc: 6ae48 lr: 19dc20 sp: 247c00 content_remove_user()
( 247c10) pc: 19dbf8 lr: 11f260 sp: 247c14 browser_window_stop()
( 247d68) pc: 11f0cc lr: 8e620 sp: 247d6c browser_window_go_post()
( 247d84) pc: 8e5f8 lr: 108714 sp: 247d88 browser_window_go()
( 247dec) pc: 1081a8 lr: 741fc sp: 247df0 ro_gui_window_keypress()
( 247e04) pc: 74150 lr: 1c3cd4 sp: 247e08 ^ro_gui_keypress()
( 247e14) pc: 1c3c0c lr: 1c3ba4 sp: 247e18 ^ro_gui_handle_event()
( 247f30) pc: 1c3a28 lr: 11f558 sp: 247f34 gui_poll()
( 247f40) pc: 11f540 lr: 8e684 sp: 247f44 ^netsurf_poll()
( 247f58) pc: 8e63c lr: 15add0 sp: 247f5c main()
( 247f70) pc: 15ad58 lr: 8e54 sp: 247f74 _main()
--8<--
John.
--
John Tytgat, in his comfy chair at home BASS
John.Tytgat(a)aaug.net ARM powered, RISC OS driven
18 years, 5 months
[Netsurf-develop] Incorrect Header Check
by Keith Hopper
Hi,
It seems that the 12 April 19:15 build of Netsurf objects to all
documents which I have attempted to retrieve from
http://www.linuxsecurity.com
I attach the stderr file - the error message appears on line 37/8
I must admit I have never come across an 'encoding - gzip' before -
but I presume it was encoded that way because Netsurf seemed prepared to
accept it!
Over to you,
Keith
--
City Desk
Waikato University
[PGP key available if desired]
desktop/netsurf.c netsurf_init 68: version 'Test Build (12 Apr 2005 19:15)'
desktop/netsurf.c netsurf_init 75: NetSurf on <riscos>, node <freja.cs.waikato.ac.nz>, release <5.08>, version <1.0>, machine <arm-acorn>
rufl_init.c rufl_init 103: new font manager
rufl_init.c rufl_init 119: 354 faces, 60 families
rufl_init.c rufl_load_cache 913: 354 charsets loaded
riscos/gui.c ro_gui_check_resolvers 471: Inet$Resolvers '130.217.240.32'
desktop/browser.c browser_window_go_post 173: bw 0x59cf3df8, url http://www.linuxsecurity.com/content/view/117721
content/fetchcache.c fetchcache 86: url http://www.linuxsecurity.com/content/view/117721
content/content.c content_create 259: url http://www.linuxsecurity.com/content/view/117721
content/content.c content_add_user 762: content http://www.linuxsecurity.com/content/view/117721, user 0x1659fc 0x59cf3df8 0x0
content/fetchcache.c fetchcache_go 149: url http://www.linuxsecurity.com/content/view/117721, status TYPE_UNKNOWN
content/fetch.c fetch_start 261: fetch 0x59cf48e8, url 'http://www.linuxsecurity.com/content/view/117721'
* About to connect() to wwwcache.cs.waikato.ac.nz port 80
* Trying 130.217.240.32... * Connected to wwwcache.cs.waikato.ac.nz (130.217.240.32) port 80
* Proxy auth using Basic with user 'kh'
> GET http://www.linuxsecurity.com/content/view/117721 HTTP/1.1
Proxy-Authorization: Basic a2g6ZnJlZDQzZnJlZA==
User-Agent: NetSurf
Host: www.linuxsecurity.com
Accept-Encoding: gzip
Cookie: mosvisitor=1; mosvisitor=1; mosvisitor=1; sessioncookie=f94051460140b564d64342826358e58a
Accept-Language: en, *;q=0.1
< HTTP/1.0 200 OK
< Date: Tue, 12 Apr 2005 21:57:09 GMT
< Server: Apache
< X-Powered-By: PHP/4.2.3
< Content-Encoding: gzip
< Expires: Mon, 26 Jul 1997 05:00:00 GMT
< Last-Modified: Tue, 12 Apr 2005 21:57:09 GMT
< Cache-Control: post-check=0, pre-check=0
< Pragma: no-cache
< Content-Type: text/html
< X-Cache: MISS from wwwcache.cs.waikato.ac.nz
< X-Cache-Lookup: MISS from wwwcache.cs.waikato.ac.nz:80
< Proxy-Connection: close
* Error while processing content unencoding: incorrect header check
* Closing connection #0
content/fetch.c fetch_stop 481: fetch 0x59cf48e8, url 'http://www.linuxsecurity.com/content/view/117721'
content/fetchcache.c fetchcache_callback 297: FETCH_ERROR, 'Error while processing content unencoding: incorrect header check'
content/content.c content_reset 681: content 0x59cf4bf4 http://www.linuxsecurity.com/content/view/117721
content/content.c content_set_type 373: content http://www.linuxsecurity.com/content/view/117721, type 0
content/content.c content_process_data 484: content http://www.linuxsecurity.com/content/view/117721, size 298
content/content.c content_convert 539: content http://www.linuxsecurity.com/content/view/117721
content/fetchcache.c fetchcache 86: url file:/<NetSurf$Dir>/Resources/CSS
content/content.c content_create 259: url file:/<NetSurf$Dir>/Resources/CSS
content/content.c content_add_user 762: content file:/<NetSurf$Dir>/Resources/CSS, user 0x1b6e24 0x59cf4bf4 0x0
content/fetchcache.c fetchcache_go 149: url file:/<NetSurf$Dir>/Resources/CSS, status TYPE_UNKNOWN
content/fetch.c fetch_start 261: fetch 0x59cf4928, url 'file:/<NetSurf$Dir>/Resources/CSS'
content/fetchcache.c fetchcache 86: url file:/<NetSurf$Dir>/Resources/AdBlock
content/content.c content_create 259: url file:/<NetSurf$Dir>/Resources/AdBlock
content/content.c content_add_user 762: content file:/<NetSurf$Dir>/Resources/AdBlock, user 0x1b6e24 0x59cf4bf4 0x1
content/fetchcache.c fetchcache_go 149: url file:/<NetSurf$Dir>/Resources/AdBlock, status TYPE_UNKNOWN
content/fetch.c fetch_start 261: fetch 0x59cf8ad8, url 'file:/<NetSurf$Dir>/Resources/AdBlock'
content/fetch.c fetch_start 337: queueing
content/fetch.c fetch_curl_data 693: fetch 0x59cf4928, size 6604
content/fetch.c fetch_process_headers 790: HTTP status code 0
riscos/filetype.c fetch_filetype 62: unix_path = '<NetSurf$Dir>/Resources/CSS'
riscos/filetype.c fetch_filetype 70: riscos path '<NetSurf$Dir>.Resources.CSS'
riscos/filetype.c fetch_filetype 82: mime type 'text/css'
content/fetch.c fetch_process_headers 833: FETCH_TYPE, 'text/css'
content/fetchcache.c fetchcache_callback 238: FETCH_TYPE, type 2
content/content.c content_set_type 373: content file:/<NetSurf$Dir>/Resources/CSS, type 2
content/fetch.c fetch_curl_data 701: FETCH_DATA
content/fetchcache.c fetchcache_callback 265: FETCH_DATA
content/content.c content_process_data 484: content file:/<NetSurf$Dir>/Resources/CSS, size 6604
content/fetch.c fetch_stop 481: fetch 0x59cf4928, url 'file:/<NetSurf$Dir>/Resources/CSS'
content/fetch.c fetch_stop 501: starting queued 0x59cf8ad8 'file:/<NetSurf$Dir>/Resources/AdBlock'
content/fetchcache.c fetchcache_callback 288: FETCH_FINISHED
content/content.c content_convert 539: content file:/<NetSurf$Dir>/Resources/CSS
render/html.c html_convert_css_callback 660: got stylesheet 'file:/<NetSurf$Dir>/Resources/CSS'
content/fetch.c fetch_curl_data 693: fetch 0x59cf8ad8, size 8629
content/fetch.c fetch_process_headers 790: HTTP status code 0
riscos/filetype.c fetch_filetype 62: unix_path = '<NetSurf$Dir>/Resources/AdBlock'
riscos/filetype.c fetch_filetype 70: riscos path '<NetSurf$Dir>.Resources.AdBlock'
riscos/filetype.c fetch_filetype 82: mime type 'text/css'
content/fetch.c fetch_process_headers 833: FETCH_TYPE, 'text/css'
content/fetchcache.c fetchcache_callback 238: FETCH_TYPE, type 2
content/content.c content_set_type 373: content file:/<NetSurf$Dir>/Resources/AdBlock, type 2
content/fetch.c fetch_curl_data 701: FETCH_DATA
content/fetchcache.c fetchcache_callback 265: FETCH_DATA
content/content.c content_process_data 484: content file:/<NetSurf$Dir>/Resources/AdBlock, size 8629
content/fetch.c fetch_stop 481: fetch 0x59cf8ad8, url 'file:/<NetSurf$Dir>/Resources/AdBlock'
content/fetchcache.c fetchcache_callback 288: FETCH_FINISHED
content/content.c content_convert 539: content file:/<NetSurf$Dir>/Resources/AdBlock
render/html.c html_convert_css_callback 660: got stylesheet 'file:/<NetSurf$Dir>/Resources/AdBlock'
render/html.c html_convert 312: XML to box
render/html.c html_convert 337: Layout document
content/content.c content_open 917: content http://www.linuxsecurity.com/content/view/117721
content/content.c content_close 933: content http://www.linuxsecurity.com/content/view/117721
content/content.c content_remove_user 813: content http://www.linuxsecurity.com/content/view/117721, user 0x1659fc 0x59cf3df8 0x0
content/content.c content_destroy 652: content 0x59cf4bf4 http://www.linuxsecurity.com/content/view/117721
render/html.c html_destroy 1027: content 0x59cf4bf4
content/content.c content_remove_user 813: content file:/<NetSurf$Dir>/Resources/CSS, user 0x1b6e24 0x59cf4bf4 0x0
content/content.c content_remove_user 813: content file:/<NetSurf$Dir>/Resources/AdBlock, user 0x1b6e24 0x59cf4bf4 0x1
content/content.c content_destroy 652: content 0x59cf87d4 file:/<NetSurf$Dir>/Resources/AdBlock
content/content.c content_destroy 652: content 0x59cf8474 file:/<NetSurf$Dir>/Resources/CSS
18 years, 5 months