View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000870 | luatex | luatex bug | public | 2013-12-12 20:18 | 2013-12-20 09:01 |
Reporter | maaca | Assigned To | Hans Hagen | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0000870: Hyphenation is breaking kerning in OpenType fonts | ||||
Description | LuaTeX is ignoring kerning pairs in OpenType fonts when the pair is in the place of "hyphenation mark". It looks, LuaTeX is using "\discretionary replacing kern" with non-OpenType font, but only "\discretionary" with OpenType. It causes, that kerning is ignored for the pair of letters. The issue is not such obvious in "normal" text, but it affects almost all the texts processed by LuaTeX (and ConTeXt MkIV). | ||||
Steps To Reproduce | Simple ConTeXt code: \hyphenation{vl-ta-va} \starttext AVA VLTAVA % "A V" kern is ignored \stoptext LuaTeX code with some debugging marks: \ifx\directlua\undefined \else \input luafonts \fi % otfload code \font\f=[lmroman10-regular] \f \hyphenation{vl-ta-va} \setbox0=\hbox{VLTAVA} \message{:::::: \the\wd0} \tracingonline=1 \showboxbreadth=25 \nonstopmode \showbox0 AVA VLTAVA. \end | ||||
Tags | No tags attached. | ||||
|
It's not a luatex (engine) bug but a lua font code bug. I made a quick fix (eventually I want to solve this differently but that will happen in an experimental context setup sometime next year). I'll test this fix for a while for side effects. |
|
in upcoming context beta |
|
closed in 0.78 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-12-12 20:18 | maaca | New Issue | |
2013-12-12 22:23 | Hans Hagen | Note Added: 0001146 | |
2013-12-12 22:23 | Hans Hagen | Assigned To | => Hans Hagen |
2013-12-12 22:23 | Hans Hagen | Status | new => assigned |
2013-12-12 22:24 | Hans Hagen | Note Added: 0001147 | |
2013-12-12 22:24 | Hans Hagen | Status | assigned => resolved |
2013-12-12 22:24 | Hans Hagen | Resolution | open => fixed |
2013-12-20 09:01 | Hans Hagen | Note Added: 0001182 | |
2013-12-20 09:01 | Hans Hagen | Status | resolved => closed |