On 2024-11-04 16:49, Rik Kabel wrote:
On 2024-11-04 12:54, Hans Hagen wrote:
On 11/4/2024 6:39 PM, Rik Kabel wrote:

Looking a bit more, the problem is not protrusion but the bounding box. Look at the left side of the italic T and W, and to a lesser degree C, O, and Q, produced by the following.

    \usetypescript[libertinus]
    \setupbodyfont[libertinus]
    \starttext
    ¦\doloopoverlist{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}
    {\it\recursestring\tf¦}\par
    ¦\doloopoverlist{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}
    {\recursestring¦}

    ¦\doloopoverlist{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}
    {\WORD{\it\recursestring}\tf¦}\par
    ¦\doloopoverlist{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}
    {\WORD{\recursestring}¦}
    \stoptext

This may be an issue for the font maintainer, but is there anything that could be done within context?

you can make a font goodie file where you patch properties of a specific glyph but then you also need to keep an eye on when the font gets fixed

Hans

Can anyone provide a pointer to a goodie file where glyph boundaries are manipulated? I could not find anything relevant in the wiki, docs, or source.

--
Rik

Following up on my own post:

  1. The problem was submitted to the developer's github issue list and acknowledged as an issue to be dealt with at some future time (https://github.com/alerque/libertinus/issues/561). The most problematic letters are seen as O, Q, T, and W (both italic and bold italic) and N (in bold italic).
  2. I still would like to see how to construct a goodies file to fix this until that future time that the font is updated.
--
Rik