Re: NetSurf and Unicode fonts.

2011-08-03 Thread Dr Peter Young
On 2 Aug 2011  John Williams  wrote:

> In article <7c3a80fc51.pnyo...@pnyoung.ormail.co.uk>, Dr Peter Young
>  wrote:

>> I'll contact you off-list (I think this subject isn't of general
>> interest here) when I've done some more struggling, but that may not be
>> real soon now. Too much else to do.

> Perhaps when you do sort it you could summarise here - for the benefit of
> future Googlers or archive-searchers if nothing else!

Problem now solved, with many thanks to Tony's off-list help. It seems 
that there was something wrong with my original Cyberbit font, as 
converting the one from the URL given by Tony now gives me Unicode 
fonts in NetSurf in both RISC OS 5.16 and in VRPC with RISC OS 4.02. 
It's odd that 5.16 liked the original font, but 4.02 didn't, though, 
but there's yet another thing that I just don't understand.

Many thanks to all, and to Tony in particular.

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-02 Thread Dr Peter Young
On 2 Aug 2011  John Williams  wrote:

> In article <7c3a80fc51.pnyo...@pnyoung.ormail.co.uk>, Dr Peter Young
>  wrote:

>> I'll contact you off-list (I think this subject isn't of general
>> interest here) when I've done some more struggling, but that may not be
>> real soon now. Too much else to do.

> Perhaps when you do sort it you could summarise here - for the benefit of
> future Googlers or archive-searchers if nothing else!

In principle, yes, if anyone else here is interested. I've had to give 
up the experiments for a while, as I was getting exasperated and was 
worried that I would do something silly, which I then did, see below.

I have had two conversions of Cyberbit, one of which trips up NetSurf 
on this Iyo, and the other of which trips it up on VRPC! As it takes 
at least 25 minutes to convert each version (and in exasperation I 
deleted the second conversion), you can see why I'm a bit reluctant to 
do more till I have a bit more time; not tomorrow, probably.

Alternatively, I wonder if anyone, probably someone more knowledgeable 
than me, would like to try NetSurf on VRPC with my Abyssinica font 
together with Cyberbit, to see if the same sort of thing happens? 
Abyssinica zipped is a mere 620K.

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-02 Thread John Williams
In article <7c3a80fc51.pnyo...@pnyoung.ormail.co.uk>, Dr Peter Young
 wrote:

> I'll contact you off-list (I think this subject isn't of general
> interest here) when I've done some more struggling, but that may not be
> real soon now. Too much else to do.

Perhaps when you do sort it you could summarise here - for the benefit of
future Googlers or archive-searchers if nothing else!

John




Re: NetSurf and Unicode fonts.

2011-08-02 Thread Dr Peter Young
On 2 Aug 2011  Tony Moore  wrote:

> On 2 Aug 2011, Dr Peter Young  wrote:

> [snip]

>> Curiouser and curiouser! I've downloaded that Cyberbit, and have
>> converted it. I get the same size as I had before for the extracted
>> font (22,373,954 bytes) different from Tony's. This is with TTF2f 0.03
>> (15 August 2005); is there a more recent version, I wonder?

> Yes, 0.04 (05-Mar-2011) http://jmb.drobe.co.uk/ttf2f-004.zip

Thanks, Tony, but I'm still struggling. I'll contact you off-list (I 
think this subject isn't of general interest here) when I've done some 
more struggling, but that may not be real soon now. Too much else to 
do.

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-02 Thread Tony Moore
On 2 Aug 2011, Dr Peter Young  wrote:

[snip]

> Curiouser and curiouser! I've downloaded that Cyberbit, and have
> converted it. I get the same size as I had before for the extracted
> font (22,373,954 bytes) different from Tony's. This is with TTF2f 0.03
> (15 August 2005); is there a more recent version, I wonder?

Yes, 0.04 (05-Mar-2011) http://jmb.drobe.co.uk/ttf2f-004.zip

Tony






Re: NetSurf and Unicode fonts.

2011-08-02 Thread Dr Peter Young
On 1 Aug 2011  Tony Moore  wrote:

> On 1 Aug 2011, Dr Peter Young  wrote:
>> On 1 Aug 2011  Tony Moore  wrote:
>>> On 1 Aug 2011, Dr Peter Young  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)

Curiouser and curiouser! I've downloaded that Cyberbit, and have 
converted it. I get the same size as I had before for the extracted 
font (22,373,954 bytes) different from Tony's. This is with TTF2f 0.03 
(15 August 2005); is there a more recent version, I wonder? The link 
given in the Iconbar page says "forbidden", and a Google search for 
the app gives a link which is dead.

Giving it all up for the time being, particularly as exiting VRPC has 
just stiffed the Windows laptop :-(

Thanks for the advice, anyway.

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  wrote:
> On 1 Aug 2011  Tony Moore  wrote:
> > On 1 Aug 2011, Dr Peter Young  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





Re: NetSurf and Unicode fonts.

2011-08-01 Thread Dr Peter Young
On 1 Aug 2011  Tony Moore  wrote:

> On 1 Aug 2011, Dr Peter Young  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)

Thanks for the comments. Yes, that's exactly what I've got for the 
modules in VRPC.

>> 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.

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? 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 ...

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  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





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