Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-10 Thread Ulrike Fischer
Am Wed, 09 Feb 2011 17:36:41 +0100 schrieb Hans Hagen: Also if a font is defective (e.g. wrong kerning, missing glyphs, faulty glyph names, missing open type features ...) a virtual font which improves this font should be useful for all formats which can use it, so I don't think that a

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-10 Thread Hans Hagen
On 10-2-2011 11:03, Ulrike Fischer wrote: Where is this interface? Does some documentation exists about how it works and how it can be used? Some of it has been reported in articles (and mk.pdf) and I will document it in more detail when I've cleaned it up and feel satisfied about it. Also,

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-09 Thread Ulrike Fischer
Am Tue, 08 Feb 2011 17:07:39 +0100 schrieb Hans Hagen: It's relatively easy to add support for that. However, when I've done that Khaled has to make sure that it also works in his wrapper code as I don't know to what extend he overloads code. I can only test in the plain variant and context.

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-09 Thread Ulrike Fischer
Am Tue, 08 Feb 2011 17:07:39 +0100 schrieb Hans Hagen: Does some interface exists in contex/mkiv which allows to use such virtual fonts together with the normal font loading code? E.g. could I move the code for the font to some file (cmr10-red.vflua) so that a request \font\mytest=cmr10-red

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-09 Thread Hans Hagen
On 9-2-2011 12:23, Ulrike Fischer wrote: Am Tue, 08 Feb 2011 17:07:39 +0100 schrieb Hans Hagen: Does some interface exists in contex/mkiv which allows to use such virtual fonts together with the normal font loading code? E.g. could I move the code for the font to some file (cmr10-red.vflua) so

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-09 Thread Hans Hagen
On 9-2-2011 10:55, Ulrike Fischer wrote: I downloaded the (hopefully) current lua-files from http://minimals.contextgarden.net/current/context/alpha/tex/context/base/, renamed them and tested with luaotfload [2011/02/04 v1.23 OpenType layout system] (as a first step without the new

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-09 Thread Ulrike Fischer
Am Wed, 09 Feb 2011 14:30:54 +0100 schrieb Hans Hagen: \font\mine=file:luatex-fonts-demo-vf-1.lua at 12pt What are the search pathes for such virtual lua fonts? I suggested the file extension .vflua because I thought it would be senseful if not the search path for general .lua files is

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-09 Thread Hans Hagen
On 9-2-2011 5:09, Ulrike Fischer wrote: While I certainly in the end want to use the (virtual) fonts also with LaTeX I don't want to define them in a LaTeX-specific way. A standard virtual font (tfm + vf) can be used with latex, plain and context with an identical syntax so why should this be

[NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Ulrike Fischer
Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by adding the code to the define_font callback. Does some interface exists in contex/mkiv which allows to use such virtual fonts together with the

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Hans Hagen
On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by adding the code to the define_font callback. Does some interface exists in contex/mkiv which allows

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Ulrike Fischer
Am Tue, 08 Feb 2011 15:13:11 +0100 schrieb Hans Hagen: On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by adding the code to the define_font

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Khaled Hosny
On Tue, Feb 08, 2011 at 03:13:11PM +0100, Hans Hagen wrote: On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by adding the code to the define_font

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Hans Hagen
On 8-2-2011 3:46, Khaled Hosny wrote: On Tue, Feb 08, 2011 at 03:13:11PM +0100, Hans Hagen wrote: On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by

Re: [NTG-context] Using virtual fonts defined with lua-code

2011-02-08 Thread Hans Hagen
On 8-2-2011 3:41, Ulrike Fischer wrote: Am Tue, 08 Feb 2011 15:13:11 +0100 schrieb Hans Hagen: On 8-2-2011 10:40, Ulrike Fischer wrote: Hello, The luatex documentation contains in section 7.2.2 Example virtual font an example how to define a virtual font cmr10-red. The font is defined by