diff options
author | Marius <mariausol@gmail.com> | 2011-02-08 20:00:11 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2011-02-08 20:00:11 +0200 |
commit | 556ad6378a5b0f52e594350b3bba9d06e5eb79f2 (patch) | |
tree | e29af88a6e7014c3ed13220871d83ffa97268b0d /tex/generic | |
parent | ba57766270809c52c95122555a32b30ccbb5eba1 (diff) | |
download | context-556ad6378a5b0f52e594350b3bba9d06e5eb79f2.tar.gz |
beta 2011.02.08 18:41
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex-fonts-merged.lua | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/tex/generic/context/luatex-fonts-merged.lua b/tex/generic/context/luatex-fonts-merged.lua index b9a85a292..6b0e89fa0 100644 --- a/tex/generic/context/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 02/08/11 17:08:08 +-- merge date : 02/08/11 18:41:10 do -- begin closure to overcome local limits and interference @@ -3753,8 +3753,11 @@ function tfm.scale(tfmtable, scaledpoints, relativeid) t.unicodes = tfmtable.unicodes t.indices = tfmtable.indices t.marks = tfmtable.marks + -- this will move to some subtable so that it is copied at once t.goodies = tfmtable.goodies t.colorscheme = tfmtable.colorscheme + t.postprocessors = tfmtable.postprocessors + -- -- t.embedding = tfmtable.embedding t.descriptions = descriptions if tfmtable.fonts then @@ -15797,6 +15800,14 @@ function tfm.read(specification) else tfmtable.embedding = "subset" end + -- fonts.goodies.postprocessors.apply(tfmdata) -- only here + local postprocessors = tfmtable.postprocessors + if postprocessors then + for i=1,#postprocessors do + postprocessors[i](tfmtable) -- after scaling etc + end + end + -- tfm.fonts[hash] = tfmtable fonts.designsizes[specification.hash] = tfmtable.designsize -- we only know this for sure after loading once --~ tfmtable.mode = specification.features.normal.mode or "base" |