diff options
author | Hans Hagen <pragma@wxs.nl> | 2011-06-25 14:54:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2011-06-25 14:54:00 +0200 |
commit | 113472b1fb39f29dd8f02f31b5be100eb3e71536 (patch) | |
tree | d35fe2fe98db75b30bec41fa0ae939f5cbe0dd35 /tex/context/base/lpdf-fld.lua | |
parent | 2f44003aab284c595680e9a84b9891b2b9fabb66 (diff) | |
download | context-113472b1fb39f29dd8f02f31b5be100eb3e71536.tar.gz |
beta 2011.06.25 14:54
Diffstat (limited to 'tex/context/base/lpdf-fld.lua')
-rw-r--r-- | tex/context/base/lpdf-fld.lua | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tex/context/base/lpdf-fld.lua b/tex/context/base/lpdf-fld.lua index f24e39e1a..1aa1377e5 100644 --- a/tex/context/base/lpdf-fld.lua +++ b/tex/context/base/lpdf-fld.lua @@ -368,14 +368,15 @@ local function fieldstates(specification,forceyes,values,default) else default = pdf_off end + local appearance if false then -- needs testing - local appearance = pdfdictionary { -- maybe also cache components + appearance = pdfdictionary { -- maybe also cache components N = pdfshareobjectreference(pdfdictionary { [forceyes or yesn] = registeredsymbol(yesn), Off = registeredsymbol(offn) }), R = pdfshareobjectreference(pdfdictionary { [forceyes or yesr] = registeredsymbol(yesr), Off = registeredsymbol(offr) }), D = pdfshareobjectreference(pdfdictionary { [forceyes or yesd] = registeredsymbol(yesd), Off = registeredsymbol(offd) }), } else - local appearance = pdfdictionary { -- maybe also cache components + appearance = pdfdictionary { -- maybe also cache components N = pdfdictionary { [forceyes or yesn] = registeredsymbol(yesn), Off = registeredsymbol(offn) }, R = pdfdictionary { [forceyes or yesr] = registeredsymbol(yesr), Off = registeredsymbol(offr) }, D = pdfdictionary { [forceyes or yesd] = registeredsymbol(yesd), Off = registeredsymbol(offd) } @@ -883,7 +884,7 @@ end local function makecheckparent(field,specification) local d = pdfdictionary { - T = pdfunicode(specification.title), + T = pdfunicode(specification.title), -- todo: when tracing use a string F = fieldplus(specification), Ff = fieldflag(specification), OC = fieldlayer(specification), |