Closed
Bug 754243
Opened 14 years ago
Closed 14 years ago
###!!! ASSERTION: We don't have a glyph, but font indicated that it supported this char in tables?: 'gid != 0', file gfx/thebes/gfxFT2Fonts.cpp, line 641
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: decoder, Assigned: jfkthame)
References
Details
Attachments
(1 file)
|
3.09 KB,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
The following HTML code triggers an assertion on Fennec Native (mozilla-central, debug build, rev 448f554f6acb):
<script>
var x = document.createElementNS("http://www.w3.org/1999/xhtml", "textarea");
document.documentElement.appendChild(x);
x.value = "\uC879\uFE08\"\uF38F\n";
</script>
I verified that this assertion does not trigger on a Firefox desktop debug build.
Updated•14 years ago
|
Component: General → Graphics
Product: Fennec Native → Core
QA Contact: general → thebes
| Assignee | ||
Comment 1•14 years ago
|
||
I've also seen this assertion on a desktop linux build with --disable-pango, which causes us to use the "FT2 fonts" backend, similarly to Android.
It seems that when a font contains multiple charmaps, Freetype may not necessarily choose the Unicode one when the face is created; if it picks MacRoman, for example, then characters outside that set will not be found, even though they may be present in the font. So this patch explicitly selects the Unicode charmap after we create the face.
Attachment #625584 -
Flags: review?(jdaggett)
| Assignee | ||
Comment 2•14 years ago
|
||
Tryserver build (Android) is at https://tbpl.mozilla.org/?tree=Try&rev=881c20ceb90f.
Updated•14 years ago
|
Attachment #625584 -
Flags: review?(jdaggett) → review+
| Assignee | ||
Comment 3•14 years ago
|
||
Target Milestone: --- → mozilla15
Comment 4•14 years ago
|
||
Assignee: nobody → jfkthame
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•