<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Le 27/04/2011 14:05, Heilmann, Till A. a écrit :
    <blockquote
      cite="mid:55818EF7-78B3-4414-8559-3D6B0558666A@unibas.ch"
      type="cite">
      <pre wrap="">I am trying to understand--as a mere user, I must confess--exactly when and why kerning (or, to be more precise, my own adjustments to the kerning of a given OpenType font made in an OTF feature file) does _not_ work.

In the last couple of weeks, I‘ve received excellent advice from the community and was able to solve a few of my problems. But some problems persist and I keep stumbling over new ones. For example, customized kerning does not work at some positions in URLs typeset with the url package and is also suppressed at some positions of citations and bibliographic entries generated by biblatex (see minimal example below).

>From Khaled Hosny, Ulrike Fischer, Philipp Lehmann and others I learn that a fundamental issue (if not the _one_ cause for all the seemingly diverse problems I encounter) is the existence of penalized breakpoints: Even if no line breaking occurs the kerning is suppressed at that point. Philipp told me that this was a long-standing limitation of TeX that apparently has not been lifted in LuaTeX.

My--fairly general--question is whether I am indeed dealing here with various implications of a single cause within the code of (Lua)TeX and, if yes, if there is any chance of this being addressed in the foreseeable future.

I don't want to sound ungrateful considering the developer's fantastic commitment and the immense work the whole community is putting into (Lua)TeX and its diverse packages. It is simply driving me crazy that I have such a powerful and sophisticated tool for digital typesetting at hand and still I cannot get something as (typographically) fundamental as customized kerning to work. Unfortunately, one cannot always choose the fonts used in a document and many (if not most) professional fonts contain some really poor kern pairs that have to be corrected.
</pre>
    </blockquote>
    <br>
    Two remarks (unfortunately you haven't had many answers...):<br>
    <br>
    - Contrary to what might be implied (or simply misunderstood by me)
    in your last remark, penalties (and by the way \special's and
    whatever is between two glyphs) affect all font kerns, not only
    those you set by yourself in a feature file;<br>
    - There exists a solution: add the kerns by yourself; this means
    browsing a list of nodes, and for each pair of contiguous nodes,
    insert a kern if required in the font, where <i>contiguous</i>
    means next to each other or separated by such things as penalties,
    specials, etc.<br>
    <br>
    Best,<br>
    Paul<br>
  </body>
</html>