[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: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] issue with ArialMT in 2.1.9 |
Date: |
Thu, 10 Feb 2005 08:03:36 +0100 (CET) |
> 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;
- [ft-devel] source control, defect tracking and unit tests, (continued)
- [ft-devel] source control, defect tracking and unit tests, Graham Asher, 2005/02/04
- Re: [ft-devel] source control, defect tracking and unit tests, George Williams, 2005/02/04
- Re: [ft-devel] source control, defect tracking and unit tests, David Turner, 2005/02/04
- RE: [ft-devel] source control, defect tracking and unit tests, Graham Asher, 2005/02/05
- RE: [ft-devel] tests, George Williams, 2005/02/06
- Re: [ft-devel] tests, Werner LEMBERG, 2005/02/08
- Re: [ft-devel] tests, George Williams, 2005/02/09
- Re: [ft-devel] tests, David Somers, 2005/02/10
- Re: [ft-devel] tests, George Williams, 2005/02/11
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 <=
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, 2005/02/10