Panther OpenType icon

New Here ,
Apr 21, 2004 Apr 21, 2004

Copy link to clipboard

Copied

Anybody know the trick to getting the OpenType icon to display correctly in Panther?

Adobe says "Drag the files LSApplications, LSClaimedTypes and LSSchemes to your desktop" but I can't find these in Panther?

Nigel
TOPICS
Open Type FDK

Views

2.0K

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 22, 2004 Apr 22, 2004

Copy link to clipboard

Copied

Nigel,

we use http://www.skytag.com/filebuddy/
where you just set
creator: movr
file type: sfnt
and thats it.

Pavel

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 22, 2004 Apr 22, 2004

Copy link to clipboard

Copied

Pavel

Nothing happens. It still has the "Font Book" icon.

Nigel

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 23, 2004 Apr 23, 2004

Copy link to clipboard

Copied

Nigel,

I misinterpreted what you mean by "proper icon". Usually users mean that the OTF file is not recognised as a font and thus it is not working properly.

But I do not understand what is wrong when OTF has FontBook icon as long as the OTF is working properly :-).

Pavel

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 23, 2004 Apr 23, 2004

Copy link to clipboard

Copied

Pavel

In all Adobe applications you can see the "O" OpenType icon (similar to the one in OS9) yet in folder views in OSX they are all generic.

The icon displays correctly in Windows XP.

Nigel

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 23, 2004 Apr 23, 2004

Copy link to clipboard

Copied

Hi Nigel,

Have you tried using the OTF File Typer utility?

http://www.adobe.com/type/browser/otf_typer.sit.hqx

That may fix the problem for you.

Lance

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 23, 2004 Apr 23, 2004

Copy link to clipboard

Copied

Lance

I believe that is for OS 9 only.

Nigel

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2004 Apr 25, 2004

Copy link to clipboard

Copied

Hi Nigel,

It will run in OS X. Don't know if it will fix your specific problem, but it won't hurt anything to try.

Lance

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2004 Apr 25, 2004

Copy link to clipboard

Copied

Nigel,

When you said in your initial post "Adobe says drag the files LSApplications..." were you getting this information from a document in the Adobe knowledgebase? If so, can you tell me which document you were using. I'd like to take a look at it.

Lance

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 25, 2004 Apr 25, 2004

Copy link to clipboard

Copied

Lance

It is in the Adobe OpenType "Read Me"

http://www.adobe.com/type/browser/OTReadMe.html

Nigel

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 26, 2004 Apr 26, 2004

Copy link to clipboard

Copied

Thanks Nigel,

I believe that with the release of Panther, the ReadMe is now out of date, and those LS files are no longer part of the OS.

Do try using the OTF File Typer, I think you will find that is the simplest solution to the problem.

Also, do the fonts work properly, despite having the wrong icon? I *think* in OSX, the issue of fonts displaying the wrong icon is purely cosmetic.

Lance

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 06, 2004 May 06, 2004

Copy link to clipboard

Copied

Yes, it is purely cosmetic, as long as it has a font icon.

Apple has declined to give OpenType fonts their own unique icon built into the OS (we did ask them). They say they don't like having too many custom icons built into the OS because of performance concerns.

Regards,

T

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 07, 2004 Aug 07, 2004

Copy link to clipboard

Copied

My goodness.

>"Adobe says "Drag the files LSApplications, LSClaimedTypes and LSSchemes to your desktop" but I can't find these in Panther?"

Of course you can't find those in Panther! Geez, that information looks like it hasn't been updated since OS X 10.1. Those files are only used in OS X 10.1.x.

In OS X 10.2.x and later, Apple changed the way the Launch Services' (that's what the LS stands for) database was structured, or at least which files are used.

This is my basic Launch Services post, which applies to OS X 10.2.x and OS X 10.3.x:

The technology that OS X uses to keep track of document-to-application bindings is called Launch Services. Launch Services uses a database to keep track of all the applications on your machine and the kinds of documents they're capable of opening.

The information in the database is initially generated during startup when OS X scans the /Applications/ folder (and subdirectories) and, if applicable, your /Users/~/Applications/ folder (and subdirectories). The information in this database is then updated whenever you encounter other applications in the Finder, which lie outside the of these Applications folders. The information in this database is used to determine the default applications for opening files. The database files that Launch Services uses are the following:

Panther:
/Library/ Caches/com.apple.LaunchServices.6B.csstore

Jaguar:
/Library/ Caches/com.apple.LaunchServices.LocalCache.csstore
/Users/~/Library/ Caches/com.apple.LaunchServices.UserCache.csstore

When you double-click on a file in the Finder, there are 3 characteristics of that file are used to determine which default application will open them:
creator type: a four-character creator type, such as ' Hway' (iMovie), ' hook' (iTunes), or ' fez!' (iChat), which represents the application that created the document, and therefore "claims" it.

filename extension: an extension to a file's name, such as '.jpg' (JPEG image), '. textClipping' (Text Clipping), '.chat' (iChat transcript), that represents the type of data which the file holds; similar to file type.

file type: a four-character file type, such as ' MooV' (QuickTime Movie), ' clpt' (Text Clipping), or ' chat' (iChat transcript), that represents the type of data which the file holds; similar to filename extension.


The presence or absense of each of these 3 characteristics is taken into account when determining which application should open a file. Each unique combination of these 3 characteristics can have its own unique mapping to a particular application.

Take a look at this comparison of 4 different "types" of PDF files:

1) creator type = ' ????' , file type = ' PDF ' , and filename extension = '.pdf' == (OS X Screen Shot PDF)

2) creator type = ---- , file type = ' PDF ' , and filename extension = '.pdf' == (PDF downloaded with Internet Explorer)

3) creator type = ' CARO' , file type = ' PDF ' , and filename extension = '.pdf' == (PDF created thru Print Center (early Jaguar))

4) creator type = ---- , file type = ---- , and filename extension = '.pdf' == (PDF created thru Print Center (later Jaguar, Panther), thru "Print Preview", downloaded with Safari)

As you can see, as far as OS X is concerned, these are actually 4 completely different PDF files. Take away the ".pdf" filename extension from any one of those files and you'd have yet another PDF file. (Actually, removing the ".pdf" filename extension from the 4th example file would result in the document becoming a generic document, since without either a file type or filename extension (or both), there's no way to identify what type of file it is.)

When you choose a particular file in the Finder, open the Show Info window and use the "Open with:" section to choose a custom non-default application to open the file with, the Finder makes note of that preference by adding a small resource of type ' usro' (user override) to the file's resource fork. (In order to do this, you must have write permission for the file, and for the folder containing the file. This is why you might sometimes get a "You don't have privileges to change the application for this document only...." and you're prompted to make a global-override change (see below), which doesn't involve modifying the individual file). This ' usro' resource contains a pointer to the application with which you've chosen to open the file. This type of per-document override will affect any user who comes into contact with the file, unless that user has a global-override (see below) for that same exact type of file. In that case, the global-override overrides the per-document override.

To provide you with visual feedback, the Finder will change the icon from the previous application to the new one you've chosen. It does this by adding a custom icon resource (for the corresponding non-default application you chose) of type ' icns' (Icon Suite) to the file's resource fork.

If you then click on the "Change all..." button in the Show Info window, OS X makes note of this custom global-override preference by adding it to the following file:

Panther & Jaguar:
/Users/~/Library/ Preferences/com.apple.LaunchServices.plist

NOTE: While your global-override preference has been recorded, you won't see an immediate change of the icons of all similar files with the exact same combination of the 3 characteristics mentioned above until you quit and relaunch the Finder, log out and back in, or restart your machine. Your preference should still be honored in the meantime, and you can confirm this by choosing another similar document (with the exact same combination of the 3 items mentioned above) and confirm that it's scheduled to open in your desired application. If, instead of looking at the document-to-application mapping that the Show Info window shows for a file, you rely on the appearance or icon of the file, it might be easy to interpret this as your settings "not sticking".

NOTE: The program used in the images pictured above is a shareware program called XRay and is available here.

Hope this helps....

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 18, 2007 Jul 18, 2007

Copy link to clipboard

Copied

LATEST
the global-override overrides the per-document override .

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines