[luatex] Luatex 1.15.0: bug with letterspacing in Harf mode

luigi scarso luigi.scarso at gmail.com
Thu Mar 31 17:21:09 CEST 2022


On Wed, Mar 30, 2022 at 4:15 AM marc <marcpenninga at gmail.com> wrote:

> I noticed a weird bug when using letterspacing in Harf mode in Luatex
> 1.15.0 (the TL2022 release); this is not present in 1.13.2 from TL2021.
> A minimal example:
>
>
> \documentclass{article}
>
> \font\base       = lmroman10-regular:mode=base,letterspace=100.0
>
> \font\node       = lmroman10-regular:mode=node,letterspace=100.0
>
> \font\harf       = lmroman10-regular:mode=harf,letterspace=100.0
>
> \font\harfnokern = lmroman10-regular:mode=harf,letterspace=100.0,-kern
>
> \begin{document}
>
> {\base       CRITIQUE \quad RITIQ}\par
>
> {\node       CRITIQUE \quad RITIQ}\par
>
> {\harf       CRITIQUE \quad RITIQ}\par
>
> {\harfnokern CRITIQUE \quad RITIQ}\par
>
> \end{document}
>
>
> The third RITIQ isn't letterspaced, while everything else is. Note that
> RITIQ is the shortest string that shows this behaviour (at least with
> this font); shorter substrings do get letterspaced correctly. Curiously
> the word CRITIQUE also typesets fine, even though it contains RITIQ as a
> substring. Finally, letterspacing also works when kerning is disabled,
> even though as far as I can tell none of the letter pairs in RITIQ is
> actually kerned in this font.
>
> The bug is not a big deal for me (noticed it when playing with a new
> font), so please don't waste lots of time on it.
>
>
> Marc
>
>
Looking at https://github.com/harfbuzz/harfbuzz/tags, I guess I have to
update the harfbuzz lib.
I will do just after the new tags/1.15.0 (which I will push at some point
this weekend, I guess).

-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/luatex/attachments/20220331/faf6bcb3/attachment.html>


More information about the luatex mailing list.