Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread Steve White
Hi all, I finally got something like Pablo's test working on my system. It doesn't show much new. As had already been established, with the right ConTeXt switches, OpenType features of kerning and ligatures work correctly with FreeSerif. Find attached. If there's a better way to do this,

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread Steve White
Hi Luigi, I have something to add to only one of your points: On Sat, Dec 1, 2012 at 8:22 PM, luigi scarso luigi.sca...@gmail.com wrote: On Sat, Dec 1, 2012 at 5:22 PM, Steve White stevan.wh...@gmail.com wrote: 3) The command mtxrun --script font --reload searches a bunch

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread luigi scarso
On Sun, Dec 2, 2012 at 11:10 AM, Steve White stevan.wh...@gmail.com wrote: I can assure you, this fonts/ directory was not in the list produced by the mtxrun command on my system. yes, but you should see the texmf-project folder; and if you put the ttf files under texmf-project/fonts then

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread Wolfgang Schuster
Am 02.12.2012 um 11:24 schrieb luigi scarso luigi.sca...@gmail.com: On Sun, Dec 2, 2012 at 11:10 AM, Steve White stevan.wh...@gmail.com wrote: I can assure you, this fonts/ directory was not in the list produced by the mtxrun command on my system. yes, but you should see the texmf-project

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread Steve White
Hi Luigi, Perhaps that is what *should* have happened. It did not happen. Context did not read the fonts when they were in the texmf-project/fonts folder, It did read them when I moved them as described. On Sun, Dec 2, 2012 at 11:24 AM, luigi scarso luigi.sca...@gmail.comwrote: On Sun,

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread luigi scarso
On Sun, Dec 2, 2012 at 12:08 PM, Steve White stevan.wh...@gmail.com wrote: Hi Luigi, Perhaps that is what *should* have happened. It did not happen. Context did not read the fonts when they were in the texmf-project/fonts folder, It did read them when I moved them as described. ok.

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread Khaled Hosny
On Sun, Dec 02, 2012 at 10:58:56AM +0100, Steve White wrote: Hi all, I finally got something like Pablo's test working on my system. It doesn't show much new. As had already been established, with the right ConTeXt switches, OpenType features of kerning and ligatures work correctly with

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread Steve White
Determinig the script from the text is not hard. It has been done in many projects. On Sun, Dec 2, 2012 at 2:12 PM, Khaled Hosny khaledho...@eglug.org wrote: On Sun, Dec 02, 2012 at 10:58:56AM +0100, Steve White wrote: Hi all, I finally got something like Pablo's test working on my

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-02 Thread Khaled Hosny
And how many of them do it right? None, not even Pango, not even Firefox, all are broken in some subtle ways. I'm not saying it is hard, though, I'm saying it is complex. Regards, Khaled On Sun, Dec 02, 2012 at 03:32:49PM +0100, Steve White wrote: Determinig the script from the text is not

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-01 Thread Steve White
Hi Luigi, I got ConTeXt installed and running, but the install was very choppy. FYI the script you gave me had several problems, which I'll detail here. 1) Throughout you want freefont-ttf-20120503 rather than freefont-src-20120503 2) This line has a stray backslash character

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-01 Thread luigi scarso
On Sat, Dec 1, 2012 at 5:22 PM, Steve White stevan.wh...@gmail.com wrote: Hi Luigi, I got ConTeXt installed and running, but the install was very choppy. FYI the script you gave me had several problems, which I'll detail here. 1) Throughout you want freefont-ttf-20120503 rather

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-01 Thread Aditya Mahajan
On Sat, 1 Dec 2012, luigi scarso wrote: 5) Generally it would be good to dilineate what should be done as root, and where normal user stuff starts. Hm, to be root is not required -- have you found some problem ? Usually, normal users do not have write permissions in /opt directory.

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-01 Thread luigi scarso
On Sat, Dec 1, 2012 at 8:38 PM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 1 Dec 2012, luigi scarso wrote: 5) Generally it would be good to dilineate what should be done as root, and where normal user stuff starts. Hm, to be root is not required -- have you found some problem ?

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-01 Thread Aditya Mahajan
On Sat, 1 Dec 2012, luigi scarso wrote: On Sat, Dec 1, 2012 at 8:38 PM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 1 Dec 2012, luigi scarso wrote: 5) Generally it would be good to dilineate what should be done as root, and where normal user stuff starts. Hm, to be root is not

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-12-01 Thread luigi scarso
On Sat, Dec 1, 2012 at 8:58 PM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 1 Dec 2012, luigi scarso wrote: On Sat, Dec 1, 2012 at 8:38 PM, Aditya Mahajan adit...@umich.edu wrote: On Sat, 1 Dec 2012, luigi scarso wrote: 5) Generally it would be good to dilineate what should be done as

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Hans Hagen
On 11/30/2012 8:06 AM, Pablo Rodríguez wrote: Hi there, sorry for bothering again with this issue, but I need to be sure in order to properly report to the font developer of FreeSerif. I have the following file: \usemodule[simplefonts][size=25pt]

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
Hi Hans, Pablo, et al. I'm the admin of GNU FreeFont. I'll respond to some of these points. 1) I have yet to reproduce Pablo's output PDF on either of two systems. As I am unfamiliar with ConTeXt, I can only guess how it was built. I tried the file quoted here as input to the 'context'

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread luigi scarso
On Fri, Nov 30, 2012 at 10:58 AM, Steve White stevan.wh...@gmail.com wrote: Hi Hans, Pablo, et al. I'm the admin of GNU FreeFont. I'll respond to some of these points. 1) I have yet to reproduce Pablo's output PDF on either of two systems. As I am unfamiliar with ConTeXt, I can only guess

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
Hi Luigi, I am lacking still * a working input (*.tex) file * the command line to build it with ConTeXt There are already two ConTeXt installations on different machines here. The most recent is 2012.05.30 MKIV, on Ubuntu. Are you saying I have to install the latest version of ConTeXt

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread luigi scarso
On Fri, Nov 30, 2012 at 12:40 PM, Steve White stevan.wh...@gmail.com wrote: Hi Luigi, I am lacking still * a working input (*.tex) file %% test.tex \usemodule[simplefonts][size=25pt] \definefontfeature[latins][default][script=latn] \setmainfont[FreeSerif] \starttext \showfontkerns

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Khaled Hosny
On Fri, Nov 30, 2012 at 10:58:25AM +0100, Steve White wrote: There was a suggestion that Latin kerns should be activated by {script,lang}={dflt,dflt}. Let me ask, should Devanagari kerns also be activated by {dflt, dflt}? If not, why? My own policy is, unless a feature must be restricted to

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
Hi Luigi, As I said, this example does not produce a PDF file for me. I will attach the output. Undefined control sequence ... ...and it points to \showfontkerns In previous attempts to load a font file directly, I used a command structures something like [file:FreeSerif.otf*default], but

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread luigi scarso
On Fri, Nov 30, 2012 at 3:25 PM, Steve White stevan.wh...@gmail.com wrote: Hi Luigi, As I said, this example does not produce a PDF file for me. I will attach the output. Undefined control sequence ... ...and it points to \showfontkerns In previous attempts to load a font file directly,

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Hans Hagen
On 11/30/2012 4:30 PM, luigi scarso wrote: What is the reason for installing the latest version of ConTeXt? Is this \showfontkerns only in versions newer than 2012.05.30 11:26 MKIV ? in that version it was an add-on module, but in the meantime it's in the core Hans

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Hans Hagen
On 11/30/2012 3:13 PM, Khaled Hosny wrote: On Fri, Nov 30, 2012 at 10:58:25AM +0100, Steve White wrote: There was a suggestion that Latin kerns should be activated by {script,lang}={dflt,dflt}. Let me ask, should Devanagari kerns also be activated by {dflt, dflt}? If not, why? My own policy

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Hans Hagen
On 11/30/2012 12:40 PM, Steve White wrote: I see vertical lines in your attached PDF... is this a new complaint? that's just the visual debugger in action I thought the problem was that sometimes kerning isn't activated. indeed (well, it is activated by default but also script/language

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Bill Meahan
On 11/30/2012 11:05 AM, Hans Hagen wrote: On 11/30/2012 10:58 AM, Steve White wrote: 5) There was also a report that OpenType kerning doesn't work in some E-Book readers (I know this isn't the forum for that, but ...) . My iriver Story kerns very nicely text in FreeSerif. Can I get an

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
Hi Hans, Bill, Yes, I'm personally aware of how PDF works. This came from Pablo, who has since told me he was *not* referring to PDF files, but EPUB books. So he is referring to the native font renderer. That's all I know about it, except that kerning works on my own reader. Anyway, this

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
Hi Hans, On Fri, Nov 30, 2012 at 4:38 PM, Hans Hagen pra...@wxs.nl wrote: On 11/30/2012 4:30 PM, luigi scarso wrote: What is the reason for installing the latest version of ConTeXt? Is this \showfontkerns only in versions newer than 2012.05.30 11:26 MKIV ? in that version it was an

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Hans Hagen
On 11/30/2012 7:12 PM, Steve White wrote: Hi Hans, On Fri, Nov 30, 2012 at 4:38 PM, Hans Hagen pra...@wxs.nl mailto:pra...@wxs.nl wrote: On 11/30/2012 4:30 PM, luigi scarso wrote: What is the reason for installing the latest version of ConTeXt? Is this

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
Hi, Hans, Sorry about the accidental post I'm struggling with gmail's new input interface...very hard not to top-post. On Fri, Nov 30, 2012 at 7:15 PM, Steve White stevan.wh...@gmail.com wrote: Hi Hans, On Fri, Nov 30, 2012 at 5:05 PM, Hans Hagen pra...@wxs.nl wrote: On 11/30/2012 10:58

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread luigi scarso
On Fri, Nov 30, 2012 at 7:12 PM, Steve White stevan.wh...@gmail.com wrote: If possible, I would like to get the distro version working, before moving to the latest version. hm, hard and useless Is this add-on module in some Debian package, or must one install it by hand? If the latter, what

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
Hi On Fri, Nov 30, 2012 at 8:07 PM, Bill Meahan subscribed_li...@meahan.netwrote: On 11/30/2012 01:08 PM, Steve White wrote: Hi Hans, Bill, That's all I know about it, except that kerning works on my own reader. That's entirely up to the reader. It's nice when the reader does as it's

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Steve White
Luigi, OK, I get it. (I have wasted a couple of hours, it seems.) I'll do as you first recommeded. On Fri, Nov 30, 2012 at 8:37 PM, luigi scarso luigi.sca...@gmail.comwrote: On Fri, Nov 30, 2012 at 7:12 PM, Steve White stevan.wh...@gmail.com wrote: If possible, I would like to get the

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Hans Hagen
On 11/30/2012 10:25 PM, Steve White wrote: Luigi, OK, I get it. (I have wasted a couple of hours, it seems.) I'll do as you first recommeded. When you have a working context, you can also try the update process: just run the first-setup script again and it will sync. Normally the minimals

Re: [NTG-context] 'kern': TrueType table and GPOS lookup feature

2012-11-30 Thread Pablo Rodríguez
Thanks for all replies Hans, Steve, Bill and Luigi. Sorry for the confusion generated by my questions. I'll try to summarize the whole thing as brief as I can. I happen to have an Sony PRS-T1 reader in which I noticed that the FreeSerif fonts where wrong kerned. I thought it might be something