Hi Everybody, First off, my actual interest is in Lua(La)Tex. It seems that several key features of OpenType are not yet supported by otfload. My direct interest would be GDEF and GPOS. From my understanding of things is that such things are first developed on the Context side the pulled in by LuaTeX. I will be setting up a drive with a Mac OS, and the Context source distro, just to kept things safe. I already have the LuaTeX source distro. I have started into OT-Specifican 1.6. I have started going top down into the lua source in the normal MacTeX 2012 distro. Just to learn how things are getting done. So here are my Questions 1) Is GDEF still not supported in font.loader 2) Is GPOS still not supported in font.loader 3) Are there any Program Specifictions anywhere to be had and where 4) Any Class diagrams, flow charts, UML or similar documentation and where for font manager and even Context or LuaTeX 5) Any of 3 and 4 in the source distribution? 6) Is the font.loader mainly in Lua or C? (I have not gotten that far yet?) (only a couple hours of work done) 7) Can I safely assume that at that there enough modularization in the code sothat I can work bottom up? That is add thing needed to the font.loader{} and font{} 8) Is there any special natural language convention when discussing Context inorder to differentiate between OT-Font-Table and Lua-Tables and data structures? I have self-taught myself LUA form the online reference(far from proficient though, but the lua sources for Context and LuaTeX will get me there fast or i will just fake it. Been around programming since mid-eighties, Have learned some 20-30 programming languages( Pascal, Modula2, Cobol, PM-L, Prolog, LISP, Perl, C, C++, Objective-C) just to mention a few. I think this is enough for now. Thanx in advance for any help and pointers. regards Keith.
On 3-8-2012 10:18, Keith J. Schultz wrote:
I have started going top down into the lua source in the normal MacTeX 2012 distro. Just to learn how things are getting done.
So here are my Questions
1) Is GDEF still not supported in font.loader
Afaik at the tex end we don't need information stored in GDEF tables.
2) Is GPOS still not supported in font.loader
GSUB and GPOS are supported as dropping any of them would render the whole machinery useless.
3) Are there any Program Specifictions anywhere to be had and where
The luatex manual describes the tables. As the code comes from fontforge you can use the fontforge manuals (and program) as reference.
4) Any Class diagrams, flow charts, UML or similar documentation and where for font manager and even Context or LuaTeX
The luatex manual. I'm working on a more detailed manual for font handling in context (but as we sometimes go beyond what opentype provides it will be somewhat specialized).
5) Any of 3 and 4 in the source distribution?
The luatex manual is.
6) Is the font.loader mainly in Lua or C? (I have not gotten that far yet?) (only a couple hours of work done)
C producing a lua table
7) Can I safely assume that at that there enough modularization in the code sothat I can work bottom up? That is add thing needed to the font.loader{} and font{}
I guess so, that is: if you start patching the loader you need to spawn a separate entity of luatex (some derived work).
8) Is there any special natural language convention when discussing Context inorder to differentiate between OT-Font-Table and Lua-Tables and data structures?
One of the things that context does is normalize and optimize the raw font data as provided by the loader. One can always print the tables (as used in context, using the table serializer). The structure used is rather stable. There are also hooks to kick in extra code (for instance, context adds additional features.) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Keith J. Schultz