freetype-devel
[Top][All Lists]
Advanced

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

[Devel] ad-hoc constants in ahglyph.c


From: Werner LEMBERG
Subject: [Devel] ad-hoc constants in ahglyph.c
Date: Sat, 03 May 2003 06:37:40 +0200 (CEST)

David,


around line 1115 in ahglyph.c there is the following code:

  len = max - min;
  if ( len >= 8 )
  {
    dist = seg2->pos - seg1->pos;
    if ( dist < 0 )
      dist = -dist;

    score = dist + 3000 / len;
    ...

Please explain the values 8 and 3000.  It should be documented how
those values are determined.


    Werner



reply via email to

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