Paul Wise wrote:

> I'm the current debian maintainer for the fonttools package. When I
> adopted it, it had a bug[1] about a traceback in certain timezones.
> The bug came with a patch[2], so I applied the patch. Later down the
> track other people had the same problem with the patch applied.
> 
> I ran a script[3] to check every timezone I have on my system.
> Without the patch I get tracebacks with the timezones mentioned in
> the bad-no-patch.txt attachment. With the patch, I get tracebacks
> with the timezones mentioned in the bad-patch.txt attachment. I also
> attached the output of running ttx with and without the patch. You
> can also see the values (time.gmtime(safe_epoch)[:6] first and
> safe_epoch_t[:6] second) just before the assertion errors.
> 
> As to the fix for this, I don't know enough about fonts or fonttools,
> but shouldn't ttx be only dealing with GMT/UTC time? Surely fonts
> don't embed timezones in them?
> 
>      1. http://bugs.debian.org/328098 
>      2.
http://bugs.debian.org/cgi-bin/bugreport.cgi/fonttools-tz.diff?bug=
328098;msg=5;att=1 
>      3. for TZ in `find /usr/share/zoneinfo/ | sed
>         s_^/usr/share/zoneinfo/__g | grep -v ^posix/ | grep -v
^right/`;
>         do echo $TZ ; TZ="$TZ" ttx marlett.ttf ; done &> output ; grep
>         -B 5 Traceback output | grep -v -- -- | grep -v Dumping | grep
>         -v Traceback
>         
>         Here, marlett.ttf is the smallest ttf I could find on my
system.

Are you working with an up to date cvs version of fonttools? There was a
patch checked in fairly recently for this. If that still doesn't work
correctly, I'm all ears for suggestions what to do.

Just


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to