Re: Crash on loading NetSurf

2019-02-21 Thread David Higton
In message 
  Andrew Pinder  wrote:

>In message <57895fcbc1ron.bris...@blueyonder.co.uk>
> on 20 Feb 2019 Ron Briscoe  wrote:
>
>> In article <56b3fc8857.andrew-...@waitrose.com>,
>>Andrew Pinder  wrote:
>>> My best guess is that a Unicode file has been corrupted.  How do I
>>> check?  Where do I find an up to date version of Unicode to install?
>
>> There is a Unicode application in the !Boot supplied in the NetSurf zip.
>
>On checking I seem to have messed up restoring files - I had reverted 
>to r4316 from Jan 2018, not r4335 from May 2018.  Also, I hadn't 
>reverted the !Unicode folder in Boot.Resources when I thought I had.
>
>But doing those correctly and then rebooting doesn't solve the 
>problem.

My best suggestion is to delete your existing NS application, then
install NS again *properly*, following the instructions, i.e. there
are a !Boot and a !System to merge.

Dave



Re: Crash on loading NetSurf

2019-02-21 Thread Steve Fryatt
On 21 Feb, David Higton wrote in message
:

> My best suggestion is to delete your existing NS application, then install
> NS again *properly*, following the instructions, i.e. there are a !Boot
> and a !System to merge.

Have the various cache files, which reside in Scrap (IIRC), been deleted? I
have a recollation of corrupt Unicode cache (RUFL) data preventing the
browser from starting.

-- 
Steve Fryatt - Leeds, England

http://www.stevefryatt.org.uk/



Re: Crash on loading NetSurf

2019-02-21 Thread John-Mark Bell




On 19/02/2019 22:29, Andrew Pinder wrote:

Message from NetSurf: "The Unicode font library could not be
initialised.  Please report this to the developers."

I don't believe this is a bug - it's the aftermath of a crash.

This ARMini (RO 5.22) had been out of use for a period due to a house
move.  I had been using release 4335, which seemed stable.  I
downloaded release 4528 as the then most recent.  This ran but wasn't
displaying some pages correctly.  I think the next day I had a crash
while downloading email with NetFetch.  This caused disc problems.
After using DiscKnight and repairing Messenger I then tried loading
NetSurf.  I got the above error message.  I deleted r4528 and reverted
to r4335.  The error message still occurs on attempting to load
NetSurf.  I double checked the modules in System to make sure they
were the ones that came with r4335.

My best guess is that a Unicode file has been corrupted.  How do I
check?  Where do I find an up to date version of Unicode to install?


The Unicode resource (!Unicode) has very little to do with the Unicode 
font library used internally by NetSurf.


Please provide a NetSurf log file (which can be found by running the 
OpenScrap obey file stored in the NetSurf application directory -- shift 
double click on !NetSurf to open it) from a crashing start -- this 
contains copious information which will allow the developers to 
understand what is going on. In all likelihood you have a font installed 
that causes it to get confused. I thought we'd found and fixed all of 
the issues here over the last decade, but clearly not.



J.



SVG

2019-02-21 Thread Richard Torrens (lists)
How far has SVG rendering got?

sVGs are not common yet, but I met a page with some prsent, which don't
display properly:

https://www.electronics-notes.com/articles/antennas-propagation/dipole-antenna/folded-dipole.php

It's also curious tha the text is truncated on the left margin as if CSS
left-margin has a negative value.

-- 
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!



Re: SVG

2019-02-21 Thread Tim Hill
In article <5789d3c2d1li...@torrens.org>, Richard Torrens (lists)
 wrote:
> How far has SVG rendering got?

> sVGs are not common yet, but I met a page with some prsent, which don't
> display properly:

> https://www.electronics-notes.com/articles/antennas-propagation/dipole-antenna/folded-dipole.php

> It's also curious tha the text is truncated on the left margin as if
> CSS left-margin has a negative value.

You can try and decipher their CSS here:
https://www.electronics-notes.com/parts/css/style.complete.min.css?go=6

(The page in NetSurf is blank. Press f8 then use search and replace to
change the } into }+newline and change the wrapwidth to 1024.)

There's a width of 1270px in there which may be responsible but I didn't
cross-refer all the style and whatnot.

-- 
Tim Hill

Find an  event to attend at:
http://timil.com/riscos/calendar/
Mimemap and other stuff:
http://timil.com/riscos/



Re: SVG

2019-02-21 Thread David Higton
In message <5789d3c2d1li...@torrens.org>
  "Richard Torrens (lists)"  wrote:

> How far has SVG rendering got?
> 
> sVGs are not common yet, but I met a page with some prsent, which don't
> display properly:
> 
> https://www.electronics-notes.com/articles/antennas-propagation/dipole-antenna/folded-dipole.php
> 
> It's also curious tha the text is truncated on the left margin as if CSS
> left-margin has a negative value.

It was pointed out recently that the SVGs of QR codes, created by the
QrCode app by calling out to https://api.qrserver.com, render completely
black.  They contain a line ; deleting this line causes
them to be rendered correctly by NetSurf.

Dave



Re: SVG

2019-02-21 Thread Richard Torrens (lists)
In article <5789dcef69...@timil.com>,
   Tim Hill  wrote:
> > It's also curious tha the text is truncated on the left margin as if
> > CSS left-margin has a negative value.

> You can try and decipher their CSS here:
> https://www.electronics-notes.com/parts/css/style.complete.min.css?go=6

> (The page in NetSurf is blank. Press f8 then use search and replace to
> change the } into }+newline and change the wrapwidth to 1024.)

Yes, I got that and had a quick look. Not an easy page to understand
without a lot of processing.

> There's a width of 1270px in there which may be responsible but I didn't
> cross-refer all the style and whatnot.

It cannot be a negative left-margin as negative values aren't allowed.

However - might Metsurf be calculating the margin and ending up with a
negative result?

-- 
Richard Torrens.
http://www.Torrens.org for genealogy, natural history, wild food, walks, cats
and more!



Re: SVG

2019-02-21 Thread Tim Hill
In article <5789df88f8li...@torrens.org>, Richard Torrens (lists)
 wrote:
> In article <5789dcef69...@timil.com>, Tim Hill  wrote:
> > > It's also curious tha the text is truncated on the left margin as
> > > if CSS left-margin has a negative value.

> > You can try and decipher their CSS here:
> > https://www.electronics-notes.com/parts/css/style.complete.min.css?go=6

> > (The page in NetSurf is blank. Press f8 then use search and replace
> > to change the } into }+newline and change the wrapwidth to 1024.)

> Yes, I got that and had a quick look. Not an easy page to understand
> without a lot of processing.

Looking at it using Chrome Dev's "Inspect" the CSS is best described as a
rat's nest.

> > There's a width of 1270px in there which may be responsible but I
> > didn't cross-refer all the style and whatnot.

> It cannot be a negative left-margin as negative values aren't allowed.

> However - might Metsurf be calculating the margin and ending up with a
> negative result?

I didn't look in detail after I saw "width:1270px;". 
If it contains such fixed widths and if centred in a narrower window it
would extend too far left and right offscreen. Widening the NetSurf
window brings it into view. If the window is already as wide as your
monitor, reducing the page to 80% zoom would probably bring it on screen.

-- 
Tim Hill

Find an  event to attend at:
http://timil.com/riscos/calendar/
Mimemap and other stuff:
http://timil.com/riscos/



Re: Crash on loading NetSurf

2019-02-21 Thread Andrew Pinder
In message 
 on 21 Feb 2019 Steve Fryatt  wrote:

> On 21 Feb, David Higton wrote in message
> :

>> My best suggestion is to delete your existing NS application, then install
>> NS again *properly*, following the instructions, i.e. there are a !Boot
>> and a !System to merge.

> Have the various cache files, which reside in Scrap (IIRC), been deleted? I
> have a recollation of corrupt Unicode cache (RUFL) data preventing the
> browser from starting.

Thanks, Steve, that has solved the problem :-)


Regards

Andrew
-- 
Andrew Pinder