Closed Bug 31334 Opened 25 years ago Closed 25 years ago

Japanese charactor cannot select bold font.

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 18601

People

(Reporter: m_kato, Assigned: kmcclusk)

Details

Attachments

(3 files)

Using <H?> element or <B> element etc, strings should display via bold font. But Japnaese charactor is not display via bold font.
Attached file test case (deleted) —
Reassigning to Erik. This seems more like a font selection problem than a layout problem
Assignee: troy → erik
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: M16
Most DBCS fonts have only regular style. Nevertheless, we can request their "bold" variant since Windows GDI can simulate bold attribute. Currently, Mozilla would never use simulated variants since EnumFontFamiliesEx enumerates only nonsimulated font variants.
Kevin, the attached patch is in your weight-related code. Would you please take a look, and see if it's OK? Thanks.
Assignee: erik → kmcclusk
Status: ASSIGNED → NEW
Looks good to me. The patch is out of date, though. VYV03354@nifty.ne.jp Could you do a new pull and build another patch? Thanks..
Status: NEW → ASSIGNED
nsFontMetricsWin.cpp seems to be not changed. However, I'll attempt to attach a new patch.
Attached patch New patch (deleted) — Splinter Review
*** Bug 18601 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 18601 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Marking verified dup of 18601.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: