On Mar 1, 2004, at 11:48 AM, Alexander K. Hansen wrote:
On Mar 1, 2004, at 9:33 AM, Steve Spicklemire wrote:
yeah! Could it be some sort of permission problem?
thanks, -steve
[spicklemire:~] steve% ls -la /Library/Fonts/AmericanTypewriter.dfont
-rw-rw-r-- 1 root admin 534828 17 Sep 19:06 /Library/Fonts/AmericanTypewriter.dfont
The corresponding file on my system looks identical, and I've been able to use dia for text, so it must be something more subtle.
That's too bad. ;-(
Thanks for the effort. ;-)
When I ktrace dia, and try to use text (to get it to die quickly I've been double clicking the text tool) I get:
4301 dia CALL open(0x298e440,0,0x10)
4301 dia NAMI "/Library/Fonts/Times New Roman"
4301 dia RET open 20/0x14
4301 dia CALL fcntl(0x14,0x2,0x1)
4301 dia RET fcntl 0
4301 dia CALL fstat(0x14,0xbfffe930)
4301 dia RET fstat 0
4301 dia CALL mmap(0,0,0x1,0x2,0x14,0,0)
4301 dia RET mmap 0
4301 dia CALL close(0x14)
4301 dia RET close 0
4301 dia CALL munmap(0,0)
4301 dia RET munmap 0
4301 dia CALL open(0x298e290,0,0x10)
4301 dia NAMI "/Library/Fonts/AmericanTypewriter.dfont"
4301 dia RET open 20/0x14
4301 dia CALL fcntl(0x14,0x2,0x1)
4301 dia RET fcntl 0
4301 dia CALL fstat(0x14,0xbfffe890)
4301 dia RET fstat 0
4301 dia CALL mmap(0,0x8292c,0x1,0x2,0x14,0,0)
4301 dia RET mmap 27598848/0x1a52000
4301 dia CALL close(0x14)
4301 dia RET close 0
4301 dia CALL munmap(0x1a52000,0x8292c)
4301 dia RET munmap 0
4301 dia CALL write(0x2,0x2993780,0x83)
4301 dia GIO fd 2 wrote 131 bytes
"
** (dia:4301): WARNING **: Unable to open font file /Library/Fonts/AmericanTypewriter.dfont for font Times New Roman 12, exiting
"
4301 dia RET write 131/0x83
4301 dia CALL munmap(0x41a000,0xc69)
4301 dia RET munmap 0
4301 dia CALL close(0x13)
4301 dia RET close 0
4301 dia CALL munmap(0x1604000,0x8105d)
4301 dia RET munmap 0
4301 dia CALL close(0x12)
4301 dia RET close 0
4301 dia CALL munmap(0x1293000,0x264c0)
4301 dia RET munmap 0
4301 dia CALL close(0x11)
4301 dia RET close 0
4301 dia CALL close(0x9)
4301 dia RET close 0
4301 dia CALL close(0x8)
4301 dia RET close 0
4301 dia CALL unlink(0x1b10750)
4301 dia NAMI "/var/tmp/orbit-steve/linc-10cd-0-4d6be5ff323ad"
4301 dia RET unlink 0
4301 dia CALL close(0xd)
4301 dia RET close 0
4301 dia CALL writev(0xe,0x1b10430,0x1)
4301 dia GIO fd 14 wrote 12 bytes
"GIOP\^A\^B\0\^E\0\0\0\0"
4301 dia RET writev 12/0xc
4301 dia CALL close(0xe)
4301 dia RET close 0
4301 dia CALL exit(0x1)
It looks like it *tries* to open "Times New Roman" then fails, and tries "American Typewriter". If you run ktrace on your dia when you use the text tool, maybe we can see what's different?
thanks, -steve
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
