Re: ColorSync Profile name length - Take 2
Re: ColorSync Profile name length - Take 2
- Subject: Re: ColorSync Profile name length - Take 2
- From: Nathan Duran <email@hidden>
- Date: Thu, 01 Sep 2005 20:16:46 -0700
> So, this looks to me like the french expression "two weights two
> measurements" (deux poids, deux mesures). What's going on Apple? Why are you
> *not* having problems with those profiles created under a foreign system
> that don't abide by your strict 32 characters file name convention?
>
> Unless I still did not get it?
I don't work at Apple anymore, so I can't say what is going on in the code
for certain, but I can say that callbacks passed to the standard
CMIterateColorSyncFolder() function receive a stream of CMProfileIterateData
structs which specify cmFileBasedProfile for every profile on the system.
File based profiles still utilize FSSpec structures, and those have a
maximum filename length of 63 characters. There's a path based option as
well that can hold up to 256 characters for the full path, but I've never
actually seen it used anywhere in the OS, and it isn't documented very well.
Is there any behind-the-scenes-voodoo taking place that allows long
filenames to work transparently with ColorSync? I don't know, and GMB
probably doesn't, either. Should Apple revamp the ColorSync, QuickTime and
Drag Manager code to meet their own standards circa 1998? Absolutely, but
Adobe and most everyone else opt to gather the profile's display name from
the localizable 'desc' tag inside the profile anyway. Adobe may also bypass
ColorSync altogether and iterate through the directories themselves‹I have
no idea.
Some fun reading material:
http://developer.apple.com/technotes/tn2002/tn2078.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Colorsync-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden