[regex-coach] Apparent crash on complex regex in "Tree" tab

Edi Weitz edi at agharta.de
Sat Sep 10 08:01:04 UTC 2005


On Fri, 09 Sep 2005 14:32:22 +0300, era+regex=coach at iki.fi wrote:

> Both attached below. The trace is not large at all.

Thanks.  Somehow the answer of Martin Simmons from LispWorks doesn't
show up on gmane.org so instead of providing a URL I include it here.
I don't think this is something I can change from within my
application.

Cheers,
Edi.



It looks to me like there is a problem with the font scaler on that machine.
Looking at one of the names xlsfonts returned:

-misc-fixed-medium-r-normal--14-110-100-100-c-70-iso8859-1

we see that the 14 is the pixel-size, the 110 is the point-size times 10 and
the 100-100 is the x-y resolution in pixels/inch.  However, since 1 point is
1/72 inch, we should have the identity:

point-size = 72 x pixel-size / resolution

This computes point-size = 10.08, so point-size times 10 should be 101, not
110!  There is a similar inaccuracy with the other fonts listed.  In fact, all
the "point-size times 10" values are multiples of 10, it looks to me like it
is rounding too early.



More information about the regex-coach mailing list