groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] hyphenation differences between fonts


From: Werner LEMBERG
Subject: Re: [Groff] hyphenation differences between fonts
Date: Tue, 08 Sep 2009 09:19:12 +0200 (CEST)

>> But why should pair kerning matter in the hyphenation procedure?
>> Or am I missing something here?
> 
> I can confirm your observation, and I'll debug the problem soon.

This is fixed now in the CVS, I hope.  The patch changes just a single
digit (see below).  Please test.


    Werner


======================================================================


--- node.cpp.old        2009-04-10 19:30:12.000000000 +0200
+++ node.cpp    2009-09-08 09:08:51.000000000 +0200
@@ -2343,7 +2343,7 @@
 
 node *kern_pair_node::add_discretionary_hyphen()
 {
-  tfont *tf = n2->get_tfont();
+  tfont *tf = n1->get_tfont();
   if (tf) {
     if (tf->contains(soft_hyphen_char)) {
       color *gcol = n2->get_glyph_color();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]