Re: ANNOUNCE: Tk-804.027-p3.patch.gz
Slaven Rezic <[email protected]> 22 Nov 2006 22:14:55 +0100
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
<[email protected]> writes: > Hi Slaven, > > thank you for continuing the great work of Nick... > > I applied the patch and Tk now seems to work very > well with my perl-5.8.8 on Linux and Solaris 8. > However, on Solaris 8 (Sparc), I cannot get it > to work OK with XFT - the test dump core, > obviously because some font pointer remains at 0x0, > and this pointer is used :-/ > > I tried one quick fix in pTk/tkUnixXft.c, around > line 189: > freePattern: > if(charset) > FcCharSetDestroy (charset); > FcPatternDestroy (pattern); > return NULL; > ...because charset may be NULL on the goto freePattern; > above. But that just triggers another problem: > tkFont.c:1136: fontPtr->resourceRefCount = 1; > and fontPtr is NULL again... > > Do you have any clue what the problem might be? Anything > I can debug further? Do you have the command line tools fc-list and fc-match installed? Is there any output of fonts with fc-list? Is there any output with fc-match? And with "fc-match helvetica"? Maybe you can try to use some other font, e.g. perl -Mblib -MTk -e 'tkinit->Label(-text => "hello, world")->pack;MainLoop' -- -font '{Bitstream Vera Sans} 10' Regards, Slaven -- Slaven Rezic - slaven <at> rezic <dot> de tksm - Perl/Tk program for searching and replacing in multiple files http://ptktools.sourceforge.net/#tksm --++**==--++**==--++**==--++**==--++**==--++**==--++**== ptk mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/ptk