Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.groff.bug > #1584 > unrolled thread

[bug #57448] groff will not break a line at a hard hyphen following some letter combinations

Started byDave <INVALID.NOREPLY@gnu.org>
First post2019-12-23 07:50 -0500
Last post2019-12-23 07:50 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.groff.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [bug #57448] groff will not break a line at a hard hyphen following some letter combinations Dave <INVALID.NOREPLY@gnu.org> - 2019-12-23 07:50 -0500

#1584 — [bug #57448] groff will not break a line at a hard hyphen following some letter combinations

FromDave <INVALID.NOREPLY@gnu.org>
Date2019-12-23 07:50 -0500
Subject[bug #57448] groff will not break a line at a hard hyphen following some letter combinations
Message-ID<mailman.1305.1577105443.1979.bug-groff@gnu.org>
Follow-up Comment #5, bug #57448 (project groff):

>   If the kerning in front of the hyphen is removed (with '\&'),
> the expected result is there.

Well, not if the expected result is for kerning and line-breaking to
simultaneously work. :)

If one needs a workaround, a better one is to add a zero-width breakpoint (\:)
after the hyphen.

But the greater trick is figuring out all the places such a \: is needed.  In
groff's default font set -- with relatively few kern pairs that have a hyphen
as the second character -- the problem is limited in scope.  But for installed
fonts with a larger set of kern pairs, the bug could crop up in unexpected
places.  (And there is nothing magical about two characters: any number of
kerned characters before a hyphen triggers the bug.)

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57448>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/

[toc] | [standalone]


Back to top | Article view | gnu.groff.bug


csiph-web