Closed Bug 410733 Opened 17 years ago Closed 17 years ago

Camino insists CMU/Computer Modern font cannot be found

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 175651

People

(Reporter: chris.tandiono+camino, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.11) Gecko/20071128 Camino/1.5.4 This has probably already been submitted, but I couldn't find it, so I guess I'll submit it again. When attempting to use certain fonts, Camino will default to Lucida Grande, claiming that the font cannot be found. Reproducible: Always Steps to Reproduce: 1. Download CMU (aka Computer Modern), a standard font for typesetting mathematics papers. Install CMU Serif Roman (and other CMU fonts, if desired; I installed all CMU fonts). 2. Set default font type to serif. 3. Choose CMU Serif as the desired serif font family in Preferences > Appearance > Fonts. Do not use advanced settings; only click the "Change" next to the sample text. Choose Roman for the typeface. 4. Click Advanced. CMU Serif will now be reported as missing, but now CMU Serif Roman can be selected. 5. Click Done. CMU Serif Roman will now be reported as missing (as indicated by the sample text being in Helvetica), but now CMU Serif can be selected by clicking Change. Serif text will now be displayed as CMU Serif Roman if CMU Serif is not re-selected. Actual Results: Only CMU Serif Roman is used, and it can only be selected from advanced options. Instead of CMU Serif, Lucida Grande is used, which is neither font and doesn't even have serifs. Sample text never matches what is actually displayed. Expected Results: CMU Serif Roman should be used. In the absence of the chosen serif font, another font with serifs should be used (e.g. Times, Georgia?, or something always included with Mac OS X). CMU Serif is a group of fonts (a family, apparently) which includes CMU Serif Roman. Apple's default font chooser widget allows you to choose among up to four typefaces for CMU Serif, depending on what you've installed: Roman, Italic, Bold, and BoldItalic. Camino's font chooser for the advanced settings lists these four fonts separately. If I'm not mistaken, a similar problem once existed in Microsoft Office 2004 as well. Suggestion: Use Apple's font chooser for the advanced settings as well.
http://chris.tandiono.googlepages.com/Archive.zip Test case with screenshots; screens are numbered according to the steps to reproduce.
Welcome to the fun world of Carbon and Cocoa font APIs returning different font names and other fun stuff :p This is actually another case of bug 175651, where the "work-around", as you've discovered, is to use the Advanced sheet, which returns font names in the format expected by Gecko.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Summary: Camino insists font cannot be found → Camino insists CMU/Computer Modern font cannot be found
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.