NetSurf and Unicode fonts.

2011-08-01 Thread Dr Peter Young
I don't know whether this is a problem with NetSurf, RISC OS 4 or with 
VRPC; any advice from you wise people would be appreciated.

On this Iyonix I have two Unicode fonts, the usual Cyberbit and an 
Amharic font called Abyssinica. As expected, these behave perfectly, 
and I can see a great may exotic characters, as few of which I can 
actually understand.

Following the posting on The Iconbar about getting Unicode fonts 
working on RISC OS 4.** (1) I tried to get this working on RISC OS 
4.02 on VRPC SE on a Windows XP SP3 laptop. The advice on the Iconbar 
posting needs a bit of tweaking for 4.02, but I seemed to be initially 
successful. However, when NetSurf ran and looked at the new fonts, it 
fell over when it came to Cyberbit, saying The Unicode font manager 
has failed to initialise, or words to that effect; as it failed to 
run fully there is no logfile.

I then took Cyberbit out of Resources.Fonts, and ran NetSurf again. 
This time it ran fully, and I was able to view pages in Amharic with 
the Abyssinica font.

Any idea why this NetSurf doesn't like Cyberbit? Is it a memory 
problem? (Cyberbit weighs in at, IIRC, 21M).

It's not a very big deal for me; when I have the Windows machine 
running I tend to use Windows Firefox, as it's a great deal faster 
than NetSurf on VRPC; on the Iyonix, NetSurf is a great deal quicker 
than Windows Firefox, so I tend to go with horses for courses. 
However, as I'm always curious about how things work, in a very 
non-technical way, I wonder if there's an easy explanation, and also 
wonder if I should put in a bug report, if it is indeed a NetSurf 
problem.

(1) http://www.iconbar.com/articles/Getting_Unicode_Working_With_RISC_ 
OS_4_and_6/index1267.html

TIA,

With best wishes,

Peter.

-- 
Peter   \  /  zfc Lu \ Prestbury, Cheltenham,  Glos. GL52
and  \/ ____  \  England.
family   / /  \ | | |\ | /  _  \  http://pnyoung.orpheusweb.co.uk
/  \__/ \_/ | \| \__/   \__ pnyo...@ormail.co.uk



Re: NetSurf and Unicode fonts.

2011-08-01 Thread Tony Moore
On 1 Aug 2011, Dr Peter Young pnyo...@ormail.co.uk wrote:

[snip]

 Following the posting on The Iconbar about getting Unicode fonts
 working on RISC OS 4.** (1) I tried to get this working on RISC OS
 4.02 on VRPC SE on a Windows XP SP3 laptop. The advice on the Iconbar
 posting needs a bit of tweaking for 4.02, but I seemed to be initially
 successful. However, when NetSurf ran and looked at the new fonts, it
 fell over when it came to Cyberbit, saying The Unicode font manager
 has failed to initialise, or words to that effect; as it failed to
 run fully there is no logfile.

The Iconbar advice works here using RPCemu, RO 4.39, Windows XP SP2, and
Cyberbit font (only). If the modules have initialised you should see:

   *help fontmanager
   == Help on keyword FontManager
   Module is: Font Manager3.66 (02 Jan 2010)

   *help romfonts
   == Help on keyword ROMFonts
   Module is: ROM Fonts   0.75 (19 Jan 2010)

 I then took Cyberbit out of Resources.Fonts, and ran NetSurf again.
 This time it ran fully, and I was able to view pages in Amharic with
 the Abyssinica font.

 Any idea why this NetSurf doesn't like Cyberbit? Is it a memory
 problem? (Cyberbit weighs in at, IIRC, 21M).

24,375,092 bits (23.8MB). Perhaps your copy has not converted correctly.
RPCemu has only 128MB memory, so that's not likely to be the problem.

Tony





Re: NetSurf and Unicode fonts.

2011-08-01 Thread Tony Moore
On 1 Aug 2011, Dr Peter Young pnyo...@ormail.co.uk wrote:
 On 1 Aug 2011  Tony Moore old_coas...@yahoo.co.uk wrote:
  On 1 Aug 2011, Dr Peter Young pnyo...@ormail.co.uk wrote:

[snip]

   Any idea why this NetSurf doesn't like Cyberbit? Is it a memory
   problem? (Cyberbit weighs in at, IIRC, 21M).

  24,375,092 bits (23.8MB). Perhaps your copy has not converted
  correctly.

Sorry, I should have written bytes.

 Now that's interesting. My two copies of Cyberbit amount to 22,373,976
 bytes, but the copy on the Iyo works, as far as I can tell, perfectly.
 Maybe there's more than one version of the font?

Could be, I wouldn't know. Here, the link in the Iconbar article leads
to a blank page, so I downloaded the Bitstream Cyberbit font at
http://aol-4.vo.llnwd.net/pub/communicator/extras/fonts/windows/Cyberbit.ZIP
(zip 6,427,108 bytes, unpacked /ttf 13,353,848 bytes)

 When I get a round tuit, I'll maybe download and convert the font
 again, and see what I get. Also, I might try running NetSurf with
 Cyberbit and without Abyssinica, to see if that makes a difference.

  RPCemu has only 128MB memory, so that's not likely to be the problem.

 Presumably so, but what about the memory allocated to NetSurf? Just
 wondering ...

Looking now at the BBC Chinese front page, NetSurf r12505 occupies 4.6MB
+ 13.4MB in the DA. The machine has 91MB free. No problem, I think.

Tony