13.07.2013 Views

Hagen - Pragma ADE

Hagen - Pragma ADE

Hagen - Pragma ADE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EndFontMetrics<br />

A.6 The otf file<br />

In the LuaT E X manual you can find an overview of the raw otf format as exposed in a<br />

Lua table. In ConT E Xt we don’t use that format directly but use it to create a more<br />

compact and efficient table instead. That table is cached and can be read in at high<br />

speed. The structure of that table is unlikely to change although more data might get<br />

added. Although you can access the data it seldom makes sense to do so. Where needed<br />

interfaces are provided.<br />

At some point I will add an overview here of the internal format.<br />

A.7 The lfg file<br />

We use the goodies file control what gets added, replaced, patched or manipulated in a<br />

font. A goodie file permits us to go beyond what font provide by default. The content<br />

of a goodie file differs per font. As we also use this for experiments, not all entries that<br />

you find in such files are meant for users. Below we show a rough overview of what can<br />

go into a goodie file. More details can be found in preceding chapters.<br />

return {<br />

-- preamble<br />

name = ,<br />

version = ,<br />

comment = ,<br />

author = ,<br />

copyright = ,<br />

-remapping<br />

= {<br />

tounicode = ,<br />

unicodes = {<br />

= ,<br />

...<br />

},<br />

},<br />

mathematics = {<br />

mapfiles = {<br />

,<br />

...<br />

},<br />

virtuals = {<br />

[] = {<br />

{<br />

155<br />

Appendix

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!