Closed Bug 5100 Opened 25 years ago Closed 25 years ago

need to add charset to nsFont

Categories

(Core :: CSS Parsing and Computation, defect, P3)

All
Other
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: erik, Assigned: peterl-retired)

Details

See bug 5099:

  http://bugzilla.mozilla.org/show_bug.cgi?id=5099

We also need to add the document's charset to the nsFont struct, so that the
font lookup code can use the charset as a fallback if the document has not
specified its language(s).

Again, the charset is an ASCII string, so the nsFont field can be either char*
or nsString. Use whatever is easiest.

The document's charset may not be available yet. Talk to ftang@netscape.com.
Target Milestone: M6
Erik is dependent upon this before M7.
Target Milestone: M6 → M7
Blocks: 7228, 7521
You can find out the charset by calling the nsIDocument::GetDocumentCharacterSet
to find out the charset of the document.

peterl: please response. We depond on this for accuracy and performacne on all
three platforms.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
Adding charset to nsFont is not the right location, the charset can simply be
set in the rendering context.
Status: RESOLVED → VERIFIED
Verified WONTFIX
See peterl's 08/06/99 16:01 comment in bug 6451.
No longer blocks: 7228, 7521
You need to log in before you can comment on or make changes to this bug.