[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ft-devel] issue with ArialMT in 2.1.9
From: |
Ian Brown |
Subject: |
RE: [ft-devel] issue with ArialMT in 2.1.9 |
Date: |
Thu, 10 Feb 2005 09:21:30 +0100 |
Thanks Werner - you've saved me a lot of hassle!
Ian
-----Original Message-----
From: Werner LEMBERG [mailto:address@hidden
Sent: 10 February 2005 08:04
To: Ian Brown
Cc: address@hidden
Subject: Re: [ft-devel] issue with ArialMT in 2.1.9
> The problem is that when freetype tries to render the space
> character, it finds only one instruction which is 'closepath' and
> generates a syntax error saying that there is no current path.
Below a patch which is now in the CVS.
Werner
PS: I expect that the CVS is publicly available again soon.
======================================================================
--- t1decode.c.old 2004-05-13 14:59:59.000000000 +0200
+++ t1decode.c 2005-02-10 07:42:49.345349280 +0100
@@ -4,7 +4,7 @@
/*
*/
/* PostScript Type 1 decoding routines (body).
*/
/*
*/
-/* Copyright 2000-2001, 2002, 2003, 2004 by
*/
+/* Copyright 2000-2001, 2002, 2003, 2004, 2005 by
*/
/* David Turner, Robert Wilhelm, and Werner Lemberg.
*/
/*
*/
/* This file is part of the FreeType project, and may only be used,
*/
@@ -796,7 +796,8 @@
FT_TRACE4(( " closepath" ));
close_contour( builder );
- if ( builder->parse_state != T1_Parse_Have_Path )
+ if ( !( builder->parse_state == T1_Parse_Have_Path ||
+ builder->parse_state == T1_Parse_Have_Moveto ) )
goto Syntax_Error;
builder->parse_state = T1_Parse_Have_Width;
break;
- Re: [ft-devel] issue with ArialMT in 2.1.9, (continued)
- Re: [ft-devel] issue with ArialMT in 2.1.9, David Turner, 2005/02/05
- Re: [ft-devel] issue with ArialMT in 2.1.9, Werner LEMBERG, 2005/02/10
- RE: [ft-devel] issue with ArialMT in 2.1.9, Ian Brown, 2005/02/02
- RE: [ft-devel] issue with ArialMT in 2.1.9, Ian Brown, 2005/02/02
- RE: [ft-devel] issue with ArialMT in 2.1.9, Ian Brown, 2005/02/03
- RE: [ft-devel] issue with ArialMT in 2.1.9,
Ian Brown <=