Re: Javascript and Fonts

2012-12-16 Thread Chris Young
On Sun, 16 Dec 2012 11:11:57 GMT, Gavin Wraith wrote:

 So how
 do I flush the RUfl cache, and get it to start over when I am trying out
 a new set of fonts?

*delete scrap$dir.scrapdirs.scrapdir.RUfl_cache

(that's possibly out-of-date, but I don't think it has changed)

Chris



Re: Javascript and Fonts

2012-12-16 Thread John Rickman Iyonix
Peter Young  wrote

 Looks more complete on linux raspberry Pi Chromium Chromium browser.
 On RISC OS the accented characters appear as hex couplets.

 It's all Greek here (and Greek to me!) on an ARMini, RISC OS 5.19.
 Perhaps you don't have the necessary font?

Probably:-( I have DoulosSIL which I thought was a comprehensive 
Unicode font. But among other things, it does not appear to have a 
glyph for:  Greek Small Letter Iota with acute accent U+03AF 

What font are you using?

-- 
John - http://mug.riscos.org/




Re: Javascript and Fonts

2012-12-16 Thread Gavin Wraith
In message c66cfdfe52.iyoj...@rickman.argonet.co.uk you wrote:

 Peter Young  wrote
 
  Looks more complete on linux raspberry Pi Chromium Chromium browser.
  On RISC OS the accented characters appear as hex couplets.
 
  It's all Greek here (and Greek to me!) on an ARMini, RISC OS 5.19.
  Perhaps you don't have the necessary font?
 
 Probably:-( I have DoulosSIL which I thought was a comprehensive 
 Unicode font. But among other things, it does not appear to have a 
 glyph for:  Greek Small Letter Iota with acute accent U+03AF 
 
 What font are you using?

That is part of what I am trying to find out! I have not added any
fonts to the Raspberry Pi RISC OS distro so I presume it is one of
the new fonts it provides in !Fonts. Maybe FreeMono, FreeSans,  .
I tried altering the names of some of these, to see if I could get
RUfl to make different choices of font - after all there are probably
masses of installed fonts for NetSurf to choose from when it is asked 
to display a particular glyph - but, when I rebooted, NetSurf bottled
out with an error message about not being able to initialize the
Unicode fonts. 

My problems concern \pi and \mu being rendered bold. It would be
nice if RUfl_cache held its data in text form. Then a) we could
read it to see which font was being used for which glyph, and b)
we could edit it to get some control over how NetSurf shows text.
Or at least, I presume so. Glad to be corrected if I have this
upside down, by somebody knows how RUfl works.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Javascript and Fonts

2012-12-16 Thread Peter Young
On 16 Dec 2012  John Rickman Iyonix rick...@argonet.co.uk wrote:

 Peter Young  wrote

 Looks more complete on linux raspberry Pi Chromium Chromium browser.
 On RISC OS the accented characters appear as hex couplets.

 It's all Greek here (and Greek to me!) on an ARMini, RISC OS 5.19.
 Perhaps you don't have the necessary font?

 Probably:-( I have DoulosSIL which I thought was a comprehensive
 Unicode font. But among other things, it does not appear to have a
 glyph for:  Greek Small Letter Iota with acute accent U+03AF 

 What font are you using?

I'm using Cyberbit here, It's a freeware TTF font that I converted to 
RISC OS format using !TTF2f, which app as far as I remember ran on my 
late Iyo; it certainly runs on this ARMini. From my hazy memory, 
DoulosSIL mainly deals with diacritics of languages like Czech, though 
this might be my mistake. I don't think it's a full Unicode font, 
anyway. Cyberbit has omissions, where occasionally characters appear 
as hex couplets, but is pretty wide-ranging.

With best wishes,

Peter.

-- 
Peter Young (zfc Ta) and family
Prestbury, Cheltenham, Glos. GL52, England
http://pnyoung.orpheusweb.co.uk
pnyo...@ormail.co.uk



Re: Javascript and Fonts

2012-12-16 Thread Gavin Wraith
In message 550806ff52.pnyo...@pnyoung.ormail.co.uk you wrote:

  What font are you using?

Experimentation has indicated that it is the Exo font on the Rpi
which is causing overheavy /Delta and /pi glyphs. My only
problem now is getting rid of the overheavy /mu. Apart from that
Greek text is rendered quite elegantly, diacritics and all, but
finding which fonts are responsible will need further work.
I am getting the same display on Rpi and Iyonix, which have different
fonts installed, so I can probably rule out the fonts that do not
appear on both.

-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Javascript and Fonts

2012-12-16 Thread Gavin Wraith
In message 44d50eff52.wra...@wra1th.plus.com you wrote:

 In message 550806ff52.pnyo...@pnyoung.ormail.co.uk you wrote:
 
   What font are you using?
 
 Experimentation has indicated that it is the Exo font on the Rpi
 which is causing overheavy /Delta and /pi glyphs. My only
 problem now is getting rid of the overheavy /mu. Apart from that
 Greek text is rendered quite elegantly, diacritics and all, but
 finding which fonts are responsible will need further work.
 I am getting the same display on Rpi and Iyonix, which have different
 fonts installed, so I can probably rule out the fonts that do not
 appear on both.

I have now removed _all_ the fonts from 
  SDFS::RISCOSpi.$.!Boot.Resources.!Fonts
apart from System, but the page 
http://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext%3A1999.01.0173%3Atext%3DSym.
is still rendered OK by NetSurf with all the Greek text fine apart for the 
bold /mu problem. Can I take it that this has to be a fault with the
fonts Corpus, Homerton and Trinity in Resources:$.Fonts somewhere? I must
say, I did not know that these had been extended to unicode. Pity about
the wrong style /mu if this is in the official Rpi distro. 
 
-- 
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/



Re: Javascript and Fonts

2012-12-16 Thread Chris Gransden
In article 9c2713ff52.wra...@wra1th.plus.com,
   Gavin Wraith ga...@wra1th.plus.com wrote:
 bold /mu problem. Can I take it that this has to be a fault with the
 fonts Corpus, Homerton and Trinity in Resources:$.Fonts somewhere? I must
 say, I did not know that these had been extended to unicode. Pity about
 the wrong style /mu if this is in the official Rpi distro. 
  

You can change the defauilt font faces in the NetSurf configuration. Then
you can try different fonts easily.

Chris.




Re: Javascript and Fonts

2012-12-15 Thread Harriet Bazley
On 15 Dec 2012 as I do recall,
  Gavin Wraith  wrote:

 Using NetSurf 3 #739. Wonderful to have some Javascript working,
 enough at least to show Greek text in http://memiyawanzi.wordpress.com/ .

That's not Javascript... that's just Unicode :-)

Seeing the same thing here in RISC OS 5 with no Javascript

-- 
Harriet Bazley ==  Loyaulte me lie ==

Don't hate yourself in the morning - sleep till noon.



Re: Javascript and Fonts

2012-12-15 Thread John Rickman Iyonix
Harriet Bazley  wrote

 On 15 Dec 2012 as I do recall,
   Gavin Wraith  wrote:

 Using NetSurf 3 #739. Wonderful to have some Javascript working,
 enough at least to show Greek text in http://memiyawanzi.wordpress.com/ .

 That's not Javascript... that's just Unicode :-)
 Seeing the same thing here in RISC OS 5 with no Javascript

Looks more complete on linux raspberry Pi Chromium Chromium browser. 
On RISC OS the accented characters appear as hex couplets.


-- 
John - http://mug.riscos.org/