Closed
Bug 11406
Opened 26 years ago
Closed 22 years ago
[FONT MAC]Mac GFX doesn't handle NS_FONT_DECORATION_OVERLINE or NS_FONT_DECORATION_LINE_THROUGH
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: mikepinkerton, Assigned: sfraser_bugs)
Details
(Keywords: fonts, platform-parity)
Attachments
(2 files)
466 bytes,
text/html
|
Details | |
1.35 KB,
patch
|
smontagu
:
review+
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
Mac GFX doesn't handle NS_FONT_DECORATION_OVERLINE or
NS_FONT_DECORATION_LINE_THROUGH in nsFontMetricsMac.cpp. Right now they just
underline, which is not right, but i wanted to get the cases in there for
completeness.
Updated•26 years ago
|
Status: NEW → ASSIGNED
Updated•25 years ago
|
Target Milestone: M14
Updated•25 years ago
|
Summary: Mac GFX doesn't handle NS_FONT_DECORATION_OVERLINE or NS_FONT_DECORATION_LINE_THROUGH → [FONT MAC]Mac GFX doesn't handle NS_FONT_DECORATION_OVERLINE or NS_FONT_DECORATION_LINE_THROUGH
Updated•25 years ago
|
Target Milestone: M14 → M15
Updated•25 years ago
|
Target Milestone: M15 → M17
Comment 1•25 years ago
|
||
This bug has been marked future because we have determined that it is not
critical for netscape 6.0. If you feel this is an error, or if it blocks your
work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M17 → Future
Comment 2•25 years ago
|
||
Does this bug mean that on Mac, we don't support 'text-decoration:overline' and
'text-decoration:line-through' ?
Keywords: css1
Well, for lack of a response, and lack of a Mac, I'll assume it does and
nominate it for nsbeta3, since it's a basic css1 issue and platform parity.
Keywords: nsbeta3
Comment 4•25 years ago
|
||
This has to be disscussed,,, not just moved to Beta 3..
Target Milestone: --- → Future
Reporter | ||
Comment 5•25 years ago
|
||
this has to be discussed, not just moved to future...
Comment 6•25 years ago
|
||
The decorations are handled in nsTextFrame::PaintTextDecorations(). Overline and
line-through work correctly on the Mac, as you can see when displaying Test0.
Pink, why did you add the 4 lines with the comment "THIS IS WRONG, BUT HERE FOR
COMPLETENESS" in nsFontMetricsMac? Maybe we can remove them and close the bug as
Invalid.
Reporter | ||
Comment 7•25 years ago
|
||
i wanted to get the cases in there so there was something to hang the correct
code on when it was written, but underline is obviously the wrong style for
overline and line-through, hence the comment.
Comment 8•25 years ago
|
||
Got it. I confirm that this bug can be left as Future because of the way we draw
text in Layout. We cache a font without decorations ("mNormalFont" with
NS_FONT_DECORATION_NONE) and we draw the decorations ourselves without using GFX.
Reporter | ||
Comment 9•25 years ago
|
||
if this works as pierre says (which would be a good thing), then we should remove
the relnote2 keyword. anyone?
Comment 10•25 years ago
|
||
If it's working then removing relnote2 makes sense. I really don't understand
what's left in this bug. Does it deserve the arch keyword?
Comment 11•25 years ago
|
||
Changing keywords from "css1, fonts, nsbeta3, pp, relnote2, verifyme" to "fonts,
pp"
Comment 12•24 years ago
|
||
Can someone please put this bug out of its misery with a FIXED, INVALID or
WONTFIX to the head?
Assignee | ||
Comment 13•24 years ago
|
||
Fixing it is, of course, preferable. Don?
![]() |
||
Comment 14•22 years ago
|
||
The relevant code has moved to nsFontUtils. But the question remains -- is this
a problem?
Assignee | ||
Comment 16•22 years ago
|
||
Assignee | ||
Comment 17•22 years ago
|
||
Patch to remove setting underline/linethrough types in the native font style.
This is all handled by nsTextFrame:
http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsTextFrame.cpp#1846
Assignee | ||
Updated•22 years ago
|
Attachment #115812 -
Flags: superreview?(smontagu)
Attachment #115812 -
Flags: review?(sdagley)
Assignee | ||
Updated•22 years ago
|
Attachment #115812 -
Flags: superreview?(smontagu)
Attachment #115812 -
Flags: superreview?(kin)
Attachment #115812 -
Flags: review?(smontagu)
Attachment #115812 -
Flags: review?(sdagley)
Comment 18•22 years ago
|
||
Comment on attachment 115812 [details] [diff] [review]
Patch to remove bogus code from nsFontUtils
r=smontagu
Attachment #115812 -
Flags: review?(smontagu) → review+
Comment 19•22 years ago
|
||
Comment on attachment 115812 [details] [diff] [review]
Patch to remove bogus code from nsFontUtils
sr=kin@netscape.com
Attachment #115812 -
Flags: superreview?(kin) → superreview+
Assignee | ||
Comment 20•22 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•