View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000310 | luatex | luatex bug | public | 2009-12-22 01:00 | 2009-12-24 17:13 |
Reporter | Pawel Jackowski | Assigned To | Taco | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 0.50.0 | ||||
Summary | 0000310: pdf table not writable | ||||
Description | Assignments to pdf table have no effect.pdf.whatever = true assert(pdf.whatever) The assertion fails since rev3206 (introduction of pdf.pdfinfo and others; before that pdf table had no __newindex metamethod). | ||||
Additional Information | checked on rev3282 | ||||
Tags | No tags attached. | ||||
|
Since this needs touching pdf metatable anyway, two thoughts for your consideration. 1. New pdf table fields (pdf.pdftrailer, pdf.pdfinfo, pdf.pdfcatalog, pdf.pdfnames) actually do nothing more but assign internal toks lists. As we know, their pdftex equivalents weren't generic toks lists, but perhaps they should for interface consistency? And perhaps they should live in the same place as pdfpageattr and companion? 2. Fontmap-related write-only fields (pdf.mapline, pdf.mapfile) could actually be static functions pdf.mapline "+font Font ..." pdf.mapfile "pdftex.map" as there is no advantage of having them dynamic. Then one can local them local mapline = pdf.mapline avoiding unnecessary overhead of metacall on every access to pdf table. |
|
Writing to and reading from the pdf table is restored in #3290. Those other points are not bad, but need a bit more thinking. |
Date Modified | Username | Field | Change |
---|---|---|---|
2009-12-22 01:00 | Pawel Jackowski | New Issue | |
2009-12-22 02:52 | Pawel Jackowski | Note Added: 0000380 | |
2009-12-22 02:53 | Pawel Jackowski | Note Edited: 0000380 | |
2009-12-24 08:10 | Taco | Assigned To | => Taco |
2009-12-24 08:10 | Taco | Status | new => assigned |
2009-12-24 08:10 | Taco | Target Version | => 0.50.0 |
2009-12-24 11:39 | Taco | Status | assigned => resolved |
2009-12-24 11:39 | Taco | Resolution | open => fixed |
2009-12-24 11:39 | Taco | Note Added: 0000384 | |
2009-12-24 17:13 | Taco | Status | resolved => closed |