Re: #5345 keeps scanning the fonts

2022-05-30 Thread John-Mark Bell



On 29/05/2022 17:37, John-Mark Bell wrote:

On 29/05/2022 13:16, Paul Sprangers wrote:

Dear developers,

The latest build (#5345) keeps scanning the active font folders at each
start up and quits with an error before ending it. I had to revert to 
#5342

to get rid of this behaviour.


Please send me (off-list) a log file showing the error, and any and all 
fonts that it cannot process.


To close the loop here: in this case, the issue was not with any 
individual font. Instead, it was caused by the presence of more than 255 
unique fonts on Paul's system -- a single code path failed to properly 
account for this with the result being corrupted memory and undefined 
behaviour. This is fixed in build #5346.



J.
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org


Re: #5345 keeps scanning the fonts

2022-05-29 Thread John-Mark Bell

On 29/05/2022 19:10, Paul Sprangers wrote:



Please send me (off-list) a log file showing the error, and any and all
fonts that it cannot process.


The font that it cannot process is UniFont. When I remove that one from the
font directory, NetSurf behaves nicely and won't scan the fonts next time
that it is started. I will send you the log file privately. Do you wish to
receive the font in question as well?


Yes.


J.
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org


Re: #5345 keeps scanning the fonts

2022-05-29 Thread Paul Sprangers
David Higton wrote:

> Paul, did you update your !System and !Boot from the #5345 zip?

No, I didn't. But now that I have, it makes no difference.


 John-Mark Bell  wrote:

> Please send me (off-list) a log file showing the error, and any and all 
> fonts that it cannot process.

The font that it cannot process is UniFont. When I remove that one from the
font directory, NetSurf behaves nicely and won't scan the fonts next time
that it is started. I will send you the log file privately. Do you wish to
receive the font in question as well?

Kind regards,
Paul

-- 
https://riscos.sprie.nl
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org


Re: #5345 keeps scanning the fonts

2022-05-29 Thread John-Mark Bell

On 29/05/2022 13:16, Paul Sprangers wrote:

Dear developers,

The latest build (#5345) keeps scanning the active font folders at each
start up and quits with an error before ending it. I had to revert to #5342
to get rid of this behaviour.


Please send me (off-list) a log file showing the error, and any and all 
fonts that it cannot process.



Pi4 / RISC OS 5.29 (19-Feb-21) and some large unicode fonts.
Switching the unicode fonts off avoids the error, but NetSurf will still
keep scanning the fonts at each new boot.


If the scan completes, then it will not scan again unless one or more of 
the following is the case:


1. The installed fonts change
2. The cache file in !Scrap does not exist

Note that the cache file has moved in recent versions of NetSurf so, if 
you have something that cleans out scrap on boot, it will need to be 
updated to preserve the RUfl cache.



J.
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org


Re: #5345 keeps scanning the fonts

2022-05-29 Thread David Higton
In message <59f02c897fp...@sprie.nl>
  Paul Sprangers  wrote:

> Dear developers,
> 
> The latest build (#5345) keeps scanning the active font folders at each
> start up and quits with an error before ending it. I had to revert to #5342
> to get rid of this behaviour.
> 
> Pi4 / RISC OS 5.29 (19-Feb-21) and some large unicode fonts. Switching the
> unicode fonts off avoids the error, but NetSurf will still keep scanning
> the fonts at each new boot.

I attempted to reproduce this fault, but, for me, #5345 scanned the fonts
once and once only.  Neither restarting NS, nor rebooting the machine,
resulted in the fonts being rescanned.

Paul, did you update your !System and !Boot from the #5345 zip?

David
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org


#5345 keeps scanning the fonts

2022-05-29 Thread Paul Sprangers
Dear developers,

The latest build (#5345) keeps scanning the active font folders at each
start up and quits with an error before ending it. I had to revert to #5342
to get rid of this behaviour.

Pi4 / RISC OS 5.29 (19-Feb-21) and some large unicode fonts.
Switching the unicode fonts off avoids the error, but NetSurf will still
keep scanning the fonts at each new boot.

Kind regards,
Paul

-- 
https://riscos.sprie.nl
___
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org