diff options
Diffstat (limited to 'tex/context/base/mkxl/typo-drp.lmt')
-rw-r--r-- | tex/context/base/mkxl/typo-drp.lmt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tex/context/base/mkxl/typo-drp.lmt b/tex/context/base/mkxl/typo-drp.lmt index c62b5e718..1ea4f4715 100644 --- a/tex/context/base/mkxl/typo-drp.lmt +++ b/tex/context/base/mkxl/typo-drp.lmt @@ -18,7 +18,7 @@ local settings_to_hash = utilities.parsers.settings_to_hash local trace_initials = false trackers.register("typesetters.initials", function(v) trace_initials = v end) local report_initials = logs.reporter("nodes","initials") -local initials = typesetters.paragraphs or { } +local initials = typesetters.initials or { } typesetters.initials = initials or { } local nodes = nodes @@ -44,7 +44,7 @@ local setlink = nuts.setlink local setprev = nuts.setprev local setnext = nuts.setnext local setfont = nuts.setfont -local setchar = nuts.setchar +local setscale = nuts.setscale local setwhd = nuts.setwhd local setkern = nuts.setkern local setoffsets = nuts.setoffsets @@ -117,6 +117,7 @@ interfaces.implement { { "hoffset" ,"dimen" }, { "voffset" ,"dimen" }, { "font", "integer" }, + { "glyphscale", "integer" }, { "dynamic", "integer" }, { "ca", "integer" }, { "ma", "integer" }, @@ -157,6 +158,7 @@ actions[v_default] = function(head,setting) local lines = tonumber(setting.n) or 0 local dynamic = setting.dynamic local font = setting.font + local scale = setting.glyphscale local method = settings_to_hash(setting.method) local length = tonumber(setting.m) or 1 -- @@ -252,6 +254,9 @@ actions[v_default] = function(head,setting) if font then setfont(current,font) end + if scale then + setscale(current,scale) + end if dynamic > 0 then setglyphdata(current,dynamic) end |