summaryrefslogtreecommitdiff
path: root/src/fontloader/misc/fontloader-font-def.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg42.2a@gmail.com>2013-07-14 12:02:50 +0200
committerPhilipp Gesang <phg42.2a@gmail.com>2013-07-14 12:02:50 +0200
commit37eb75164de32f5854c1af4a76bda50fc1f18ee4 (patch)
treefc3cd029c5c84d3f698ddd2190e8e6f5ee695f77 /src/fontloader/misc/fontloader-font-def.lua
parent6ab2fdc6fbd1393050171cba83c12dcaef7e0c35 (diff)
downloadluaotfload-37eb75164de32f5854c1af4a76bda50fc1f18ee4.tar.gz
make font name rewriting optional
... but still activated by default the trouble with rewriting the font name is that it diverges from the behavior as stated in the Luatex reference. according to chapter 7, the field ``name`` of the font structure should contain the “metric (file) name”. by including the complete specification we cater to hacks that feed ``\fontname`` (which reads the ``name`` field) back into ``\font`` as Xetex does. this appears to work without complications, but formats other than Latex might not need it. so the best strategy would be to make it an option and have Fontspec activate this non-standard behavior.
Diffstat (limited to 'src/fontloader/misc/fontloader-font-def.lua')
0 files changed, 0 insertions, 0 deletions