From: Greg Ercolano <erco@(email surpressed)>
Subject: Re: fonts rendering in shake
   Date: Mon, 02 Oct 2006 11:38:33 -0400
Msg# 1388
View Complete Thread (11 articles) | All Threads
Last Next
Luigi Tommaseo wrote:
[posted to rush.general]

hi Greg,
I am trying to use the system fonts, Arial would do, they live on the local drive and the servers are mounted as nfs mount points at boot time so need to check. that one is indeed an uninitialized variable, doesn't harm the renders though. the only info I found about this is here http://lists.apple.com/archives/Shake-users/2005/Aug/msg00000.html
but nobody replied to that.
any other thoughts?

	Assuming you can replicate by ssh'ing into the machine and running
	shake from the command line, then you might try shake support.
	(I assume they're still supporting the software, even though
	they're no longer /selling/ maintenance?)

	I can think of a few things to try, again, just taking guesses,
	as I'm not at all sure what method shake is using to access
	fonts under OSX:

		a) Look at the .shk file to see if it contains absolute pathnames
		   to automounted network drives (eg. /Network/xxxx)

		b) Check for mount differences between no one vs. someone logged in

		c) Check the /var/log/* files, esp. /var/log/system.log to see if
		   there's any errors about fonts that might be useful

		d) Try using ktrace(1) to see what files shake is opening..
		   maybe you can see the font pathnames it's trying to load.
		   [This is kinda 'advanced', a last resort kinda thing]

	If you up to using ktrace, to test shake through ktrace(1),
	you might try something like:

% ssh tommytee@render61
Password:
[..do any shake related PATH settings here if needed..]
% ktrace -i -f /var/tmp/ktrace.out shake -exec /mnt/vfxxserve3/Data/Stardust_shake/Tom/Data/test.shk -t 45-48 -vv -cpus 1 -proxyscale 1 1
[..]
% kdump -f /var/tmp/ktrace.out > /var/tmp/foo.txt
% grep Arial /var/tmp/foo.txt | more
% grep NAMI /var/tmp/foo.txt | more

	Try this without and with someone logged in, and compare the resulting
	foo.txt files.

	The ktrace line runs shake, recording binar data into /var/tmp/ktrace.out,
	which you can then turn into human readable text with kdump.
	You can then use 'grep' to find any pathname references to Arial.
	See 'man ktrace' and 'man kdump' for details, as possibly you
	might need other flags.

	Since your comps run OK only when the machine is logged in,
	it makes me still think there might be something mount related.

	I'm just trying to give ideas, as I'm not at all familiar
	with how shake's internals deals with fonts on OSX.

	Sorry for the guesses.. I'm not familiar with the error.
	You might search around for 'osx fonts', referring to pages
	that describe how OSX fonts work, ie:

	http://docs.info.apple.com/article.html?artnum=106417
	http://www.creativepro.com/story/feature/19593.html
	http://www.senecadesign.com/designgeek/fonts-osx.html
	http://www.idautomation.com/kb/macOSX-fonts-install.html

	
--
Greg Ercolano, erco@(email surpressed)
Rush Render Queue, http://seriss.com/rush/
Tel: (Tel# suppressed)
Fax: (Tel# suppressed)
Cel: (Tel# suppressed)

Last Next