Re: Font scanning issue

2015-06-23 Thread Chris Dewhurst
On 22 Jun 2015 Bernard Boase  [mailto: b.bo...@bcs.org] wrote:

[snip]

 Has anyone else had this experience? And could it be considered a bug
 that Netsurf can stall so unhelpfully during font re-initialisation?

This happened to me a while back with a rogue font, though I haven't 
used the font since. Or maybe if I know I am using that font I 
subconsciously start up Netsurf before double clicking the !Fonts 
folder which contains that font.

It would be helpful if Netsurf had some sort of report / option to 
skip installation etc.

Chris.


-- 
Chris



Font scanning issue

2015-06-22 Thread Bernard Boase
If a problem font is added to one's RISC OS system after Netsurf has 
established its RUfl_cache file, it seems that on next start-up 
Netsurf can hang the machine without having given any error 
information to help diagnose the problem.

When this happened to me, I'd forgotten that I'd added a font (but in 
any case had not suspected it to be faulty), and it wasn't until I 
deleted RUfl_cache that the font scanning progress bar could be seen 
again and therefore where it stopped immediately before the hang. This 
helped identify the suspect font.

Has anyone else had this experience? And could it be considered a bug 
that Netsurf can stall so unhelpfully during font re-initialisation?

-- 
Bernard



Font Scanning

2009-04-02 Thread Dave Symes
Updated Netsurf to Yesterdays (1st April) version.

The message reads Scanning fonts-please wait
So how many hours does one wait while the machine is frozen literally, for
this scan to finish.

After a substantial amount of time at Times.New.Roman and 88% showing on
the hourglass the only way I could get control of the machine was a back
button reset.

Eventually, the only way I could get Netsurf to behave was temporarily
switch off all the fonts in my Font manager.

I guess as it was an April 1st version...  :-(
Dave

-- 




Re: Font Scanning

2009-04-02 Thread Tony Moore
On 2 Apr 2009, Dave Symes d...@triffid.co.uk wrote:

 Updated Netsurf to Yesterdays (1st April) version.

Running the same version here, no problem.

 The message reads Scanning fonts-please wait So how many hours does
 one wait while the machine is frozen literally, for this scan to
 finish.

 After a substantial amount of time at Times.New.Roman and 88% showing
 on the hourglass the only way I could get control of the machine was a
 back button reset.

Try removing that font from your !Fonts directory. If that solves the
problem it means that something is amiss with the font. Having scanned
the fonts when it is first run, NetSurf stores the result in !Scrap.
Thus, to avoid font-scanning at every start-up, !Scrap should not be
kept in a RAMdisc. After the fonts have been scanned, NetSurf normally
loads in about ten seconds, on a SARPC.

Tony







Re: Font Scanning

2009-04-02 Thread Dave Symes
In article acdcd54550.old_coas...@old_coaster.yahoo.co.uk,
   Tony Moore old_coas...@yahoo.co.uk wrote:
 On 2 Apr 2009, Dave Symes d...@triffid.co.uk wrote:

  Updated Netsurf to Yesterdays (1st April) version.

 Running the same version here, no problem.

  The message reads Scanning fonts-please wait So how many hours does
  one wait while the machine is frozen literally, for this scan to
  finish.
 
  After a substantial amount of time at Times.New.Roman and 88% showing
  on the hourglass the only way I could get control of the machine was a
  back button reset.

 Try removing that font from your !Fonts directory. If that solves the
 problem it means that something is amiss with the font. Having scanned
 the fonts when it is first run, NetSurf stores the result in !Scrap.
 Thus, to avoid font-scanning at every start-up, !Scrap should not be
 kept in a RAMdisc. After the fonts have been scanned, NetSurf normally
 loads in about ten seconds, on a SARPC.

 Tony

Thanks for the thoughts.

But. This is the first time Netsurf has constipated itself with a font
scan, and I've been using Netsurf for a long time, updating usually once a
week.
The font in question has been there for a long time also.

I never have !Scrap in a Ramdisk, probably because I *never* have a Ram
disk activated.

As I mentioned, temporarily switching all my fonts off in EFP, then
running Netsurf, then switching the fonts back on sorted that bit 'o
constipation.

Dave

-- 




Re: Font Scanning

2009-04-02 Thread John Williams
In article 5045d76fa5rh.li...@virgin.net,
   Russell Hafter - Lists rh.li...@virgin.net wrote:

 That does not seem to be the best place to store such info.
 Surely Scrap, by definition and name, is just for *very*
 temporary stuff that is not needed over the long term.

 I cannot be the only person who clears out scrap every so
 often!

A problem addressed by Rob Kendrick's Caches application:

quote
!Caches provides a shared location for the storage of transient cache data.
It is intended to be used instead of !Scrap or Choices for data that's
helpful to keep around, but not the end of the world if it is deleted.  It
was created to let people keep cached data if they store their !Scrap in
a RAM disc.
/quote

But if people/developers don't take advantage of it ...

... what are we to do?

I myself use Scrap for some Pic_Index data - if you delete it it just takes
a little longer to start, just like NetSurf!

John

-- 
||   John Williams || Brittany, Northern France
   Who is John Williams? http://petit.four.free.fr/picindex/author/
 E-mail replies only accepted from RISC OS machines or RISC in subject line
Somewhere nice to stay in Brittany? http://petit.four.free.fr/visitors/locate



Re: Font Scanning

2009-04-02 Thread Russell Hafter - Lists
In article 5045d943c8li...@picindex.info, John Williams
li...@picindex.info wrote:

 In article 5045d76fa5rh.li...@virgin.net, Russell
Hafter - Lists rh.li...@virgin.net wrote:

  That does not seem to be the best place to store such
  info. Surely Scrap, by definition and name, is just for
  *very* temporary stuff that is not needed over the long
  term.

  I cannot be the only person who clears out scrap every
  so often!

 A problem addressed by Rob Kendrick's Caches application:

Can you say where to find it?

Google was no help at all.

-- 
Russell Hafter - Mailing Lists
rh.li...@virgin.net
Need a hotel? http://www.hrs.de/?client=en__MTcustomerId=416873103
(NB This link needs Firefox to work)



Re: Font Scanning

2009-04-02 Thread John Williams
In article 5045db09b0rh.li...@virgin.net,
   Russell Hafter - Lists rh.li...@virgin.net wrote:

 Can you say where to find it?

 Google was no help at all.

I found it in my Resources directory!  But unfortunately nothing uses it.

I'm sure Rob reads this list from time-to-time and will be able to tell you
- but applications need to adopt it /if present/ and fall back to Scrap if
not.

Unfortunately, NS doesn't, and neither does Pic_Index!

They could!

John

-- 
||   John Williams || Brittany, Northern France
   Who is John Williams? http://petit.four.free.fr/picindex/author/
 E-mail replies only accepted from RISC OS machines or RISC in subject line
Somewhere nice to stay in Brittany? http://petit.four.free.fr/visitors/locate



Re: Font Scanning

2009-04-02 Thread Tony Moore
On 2 Apr 2009, Dave Symes d...@triffid.co.uk wrote:

[snip]

 As I mentioned, temporarily switching all my fonts off in EFP, then
 running Netsurf, then switching the fonts back on sorted that bit 'o
 constipation.

You do that each time you start NetSurf, or did the problem not recur?

Tony







Re: Font Scanning

2009-04-02 Thread Dave Symes
In article 984bdf4550.old_coas...@old_coaster.yahoo.co.uk,
   Tony Moore old_coas...@yahoo.co.uk wrote:
 On 2 Apr 2009, Dave Symes d...@triffid.co.uk wrote:

 [snip]

  As I mentioned, temporarily switching all my fonts off in EFP, then
  running Netsurf, then switching the fonts back on sorted that bit 'o
  constipation.

 You do that each time you start NetSurf, or did the problem not recur?

 Tony

Machine was totally frozen by the Netsurf constipation, I did a Back
button Reset Boot.

Machine back in action.
Switched off all the fonts, Ran Netsurf, Switched the Fonts back on.

Thereafter no problems. Netsurf runs okay, and there is a ...RUfl_cache in
the required place.

Dave

-- 




Re: Font Scanning

2009-04-02 Thread Dave Symes
In article 1238716328.7159.17.ca...@duiker,
   John-Mark Bell j...@netsurf-browser.org wrote:
 On Thu, 2009-04-02 at 19:09 +0100, Dave Symes wrote:
  Updated Netsurf to Yesterdays (1st April) version.
  The message reads Scanning fonts-please wait So how many hours does
  one wait while the machine is frozen literally, for this scan to
  finish.
  
  After a substantial amount of time at Times.New.Roman and 88% showing
  on the hourglass the only way I could get control of the machine was a
  back button reset.
  
  Eventually, the only way I could get Netsurf to behave was temporarily
  switch off all the fonts in my Font manager.

 Are you sure that you haven't added any new fonts recently? The font
 scanning code has not been changed for years. NetSurf's log file should
 shed some light on which font is currently causing problems.


 John.

Not added any new fonts for quite a while... many months at least.
Dave

--