|
From: | David Turner |
Subject: | Re: [Devel] FT_Trace facility on Win95/98 platform |
Date: | Wed, 10 Jul 2002 15:58:08 +0200 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 |
address@hidden wrote:
The FT_Trace facility is not working on Win95/98, cause the "set" command (for setting environment variables) does not allow "="-chars, i.e. set FT2_DEBUG="any=2 pfr=4" is a syntax error. Changing a couple of "=" chars to ":" in ft_debug_init and using set FT2_DEBUG="any:2 pfr:4" solves the problem. Since FT_Trace() is imho not documented anyway, I´d prefer ":" over "=" in FT2, so anyone can use FT_Trace on Win32- platforms "out of the box". For backward-compatibility, of course, it´s also possible to allow ":" in addition to "=". Eike.
Hello Eike, Since the FT2_DEBUG environment variable facility was only introduced recently, changing the separator from '=' to ':' doesn't cause backwards compatibility problems (and it's only a developer's thing anyway :-) I've changed its behaviour. As you also noticed already, I have put a new documentation file in "docs/DEBUG.TXT" that documents how to use the various debugging facilities (logging, memory debugging, assertions) within the font engine.. And the reason why I didn't announce it is that I prefer coding to writing email when my time is short ;-) Thanks, - David Turner - The FreeType Project (www.freetype.org)
[Prev in Thread] | Current Thread | [Next in Thread] |