Update of bug #60233 (project groff):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Here is what I think is the relevant code from src/roff/troff/node.cpp.


hunits track_kerning_function::compute(int size)
{  
  if (non_zero) {
    if (max_size <= min_size)
      return min_amount; 
    else if (size <= min_size)                                
      return min_amount;                        
    else if (size >= max_size)
      return max_amount;   
    else                                                               
      return (scale(max_amount, size - min_size, max_size - min_size)   
              + scale(min_amount, max_size - size, max_size - min_size));
  }                                                                     
  else                                                           
    return H0;                      
}


It's very strange to me that track kerning functions get their own class, when
there's only one implementation.  Either someone had big plans that never came
to fruition, or I'm overlooking something.

    _______________________________________________________

Reply to this item at:

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

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


Reply via email to