Subject: port-i386/25333: ted-2.11 and ted-2.14 can not load TedDocument-en_US.rtf
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ldecitre@web.de>
List: netbsd-bugs
Date: 04/26/2004 16:40:12
>Number:         25333
>Category:       port-i386
>Synopsis:       ted-2.11 and ted-2.14 can not load TedDocument-en_US.rtf
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 26 16:41:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Emmanuel Decitre
>Release:        1.6.2
>Organization:
>Environment:
NetBSD Skul_3c 1.6.2 NetBSD 1.6.2 (SKUL) #1: Sun Apr 25 09:59:26 GMT 2004     root@Skul_3c:/fserv/NetBSD/1.6.2/src/usr/src/sys/arch/i386/compile/SKUL i386

>Description:
I Installed ted-2.14 binary package on my 1.6.2 system. 
Create & re-open an rtf file runs ok. But opening the Help File (TedDocument-en_US.rtf) fails.
It leads to the following traces:

Skul_3c# Ted /usr/X11R6/share/doc/Ted/TedDocument-en_US.rtf 
appFont.c(1015) scratch="-adobe-helvetica-medium-r-normal-*-9-*-*-*-*-*-iso8859-1"
appFont.c(1121) 1=1
" "
docLayout.c( 70) part=0 tp->tpPhysicalFont=-1
docLayout.c( 91) 1=1
docLayoutParagraphs.c( 70) 1=1
docLayoutParagraphs.c(132) 1=1
docLayoutParagraphs.c(451) 1=1
docLayout.c(836) 1=1
docLayout.c(821) 1=1
docLayout.c(821) 1=1
docLayoutExternalItem.c(195) 1=1
docLayoutExternalItem.c(323) 1=1
docLayoutSect.c( 99) 1=1
docLayout.c(847) 1=1
docLayout.c(749) 1=1
docLayout.c(813) 1=1
docLayout.c(906) 1=1
tedLayout.c(878) 1=1
tedPage.c(352) 1=1
tedDocument.c(487) 1=1
appDocument.c(565) ed->edFilename="/usr/X11R6/share/doc/Ted/TedDocument-en_US.rtf"
appDocument.c(738) filename="/usr/X11R6/share/doc/Ted/TedDocument-en_US.rtf"


I reproduced the same problem with ted-2.11 on the same platform.
For that, I firstly deinstalled ted-2.14 an hacked a dummy jpeg-6nb1
package (ln -s /var/db/pkg/jpeg-6bnb1 /var/db/pkg/jpeg-6b) to get
ted-2.11 (from 1.6.1) installed on 1.6.2.
The traces are now:

Skul_3c# Ted /usr/X11R6/share/doc/Ted/TedDocument-en_US.rtf 
appFont.c(975) scratch="-adobe-helvetica-medium-r-normal-*-9-*-*-*-*-*-iso8859-1
"
appFont.c(1083) 1=1
"a010013l.pfb "
docLayout.c( 50) part=0 tp->tpPhysicalFont=-1
docLayout.c( 64) 1=1
docLayoutParagraphs.c( 71) 1=1
docLayoutParagraphs.c(130) 1=1
docLayoutParagraphs.c(484) 1=1
docLayout.c(1418) 1=1
docLayout.c(1403) 1=1
docLayout.c(1280) i=80
docLayout.c(1431) 1=1
docLayout.c(1329) 1=1
docLayout.c(1395) 1=1
docLayout.c(1494) 1=1
tedLayout.c(834) 1=1
tedPage.c(337) 1=1
tedDocument.c(449) 1=1
appDocument.c(565) ed->edFilename="/usr/X11R6/share/doc/Ted/TedDocument-en_US.rtf"
appDocument.c(738) filename="/usr/X11R6/share/doc/Ted/TedDocument-en_US.rtf"


I firstly though there was a problem with the font 
-adobe-helvetica-medium-r-normal-*-9-*-*-*-*-*-iso8859-1
but ted-2.11 on a 1.6.1 runs perfectly although this font
does not exist (no size 9).

This problem occurs also with almost all RTF file coming from Microsoft
Word.

>How-To-Repeat:
1) Install ted-2.14
2) Click on "Help"->"Document"


>Fix:
no fix known
>Release-Note:
>Audit-Trail:
>Unformatted: