Closed Bug 20211 Opened 25 years ago Closed 24 years ago

[FONT MAC]Text shifted left at style change when using PostScript fonts

Categories

(Core :: Layout, defect, P3)

PowerPC
Mac System 8.5
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hsivonen, Assigned: dcone)

References

()

Details

(Keywords: fonts)

Overview Description:
On some pages (eg. http://www.mozilla.org/hacking/) text is shifted left when the
style or color of the text changes. Style change can be simply bolding or a
change in color (eg. links). The styled text can shift left to cover the
preceding space or even overlap with the previous word.

The probelm does not occur on all pages and not necessarily at all style changes
on the same page.

The problem does not occur when the TrueType version of Times from Apple is
installed. It occurs when Adobe's PostScript version of Times is used instead.

Steps to Reproduce:
1) Make sure Apple's TrueType version of Times is not installed.
2) Make sure Adobe's PostScript version of Times is installed. (If you have an
Adobe product such as Photoshop installed, the PostScript version of Times may
already be lurking on the hard disk even if it is not in the Fonts folder.)
3) Make sure system level Adobe Type Manager (ATM) is installed and turned on. (I
have experienced problems with ATM if the color depth is merely 256 colors.
Switching to millions of colors appears to solve problems with ATM itself.)
4) Load the page at: http://www.mozilla.org/hacking/

Actual Results:
Styled text (such as links) is shifted left.

Expected Results:
Expected the positioning of words to be unaffected by the color of the text and
not severely affected by bolding etc.

Build Date & Platform Bug Found: 1999112208 Mac

Environment: Mac OS 8.5.1, ATM 4.0.2, PostScript version of Times from Adobe.
Assignee: troy → dcone
This sounds like a Mac specific problem and not a layout issue.

Don, I assume you're the Mac gfx owner so I'm reassigning
Status: NEW → ASSIGNED
Target Milestone: M14
With Mozilla SmoothType is able to anti-alias PostScript fonts, too. I suppose

this means that Mozilla uses both TrueType and Type 1 font through the same Mac

OS API instead of using the ATM API for Type 1 fonts.
It appears that the text isn't actually shifted left. Instead, Mozilla seems to 

be using inaccurate font metrics. Text displayed with a Type 1 font occupies a 

space wider than the space reserved for it.

Summary: Text shifted left at style change when using PostScript fonts → [FONT MAC]Text shifted left at style change when using PostScript fonts
Target Milestone: M14 → M15
Keywords: fonts
Target Milestone: M15 → M17
This bug is a special case of bug 39811.
I think this was fixed when other mac font issues were fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.