Forum Bugs

No ligature on hyphenated words

thomas
Hello,

First of all, thanks for the much awaited release of Prince 7.0! Prince is really great.

I discovered a bug: hyphenated words (or words at the beginning of a line) do not contain opentype ligatures. Here is a test-case:

<html>
<head>
<style type="text/css">
  body {
    width: 10em;
    font: 16pt 'Arno Pro';
    hyphens: auto;
    font-variant: prince-opentype(dlig, liga);
    }
 p { text-align: justify }
</style>
</head>
<body>
<p lang="fr">
Affiner, dictaphone, estival,
Affiner, dictaphone, estival,
Affiner, dictaphone, estival,
Affiner, dictaphone, estival,
Affiner, dictaphone, estival,
Affiner, dictaphone, estival.
</p>
</body>
</html>


And the result (the missing ligatures are underlined in red):


++
Thomas
mikeday
Good catch! At a guess it could be that hyphenation is introducing invisible hyphenation points between some characters, which is interfering with ligatures. I'll add this to the roadmap for the next release.
mikeday
We have fixed this bug in Prince 7.1, available now. Thanks again for letting us know! :)