Closed
Bug 634734
Opened 15 years ago
Closed 15 years ago
Fennec ASSERTION: mFUnitsConvFactor not valid: 'mFUnitsConvFactor > 0.0f
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dougt, Assigned: dougt)
Details
Attachments
(1 file)
|
1.43 KB,
patch
|
karlt
:
review+
pavlov
:
approval2.0+
|
Details | Diff | Splinter Review |
When loading pages in fennec, I see lots of these assertions
Comment 1•15 years ago
|
||
mFUnitsConvFactor should be set before using mHarfBuzzShaper.
It need only be done once.
gfxPangoFont does that here:
http://hg.mozilla.org/mozilla-central/annotate/64d579f7746b/gfx/thebes/gfxPangoFonts.cpp#l2117
gfxFT2Font should do something similar.
There may be advantage in delaying locking the face till InitTextRun if the FT_Face does not have the right size already set at time of gfxFT2Font construction.
| Assignee | ||
Comment 2•15 years ago
|
||
Assignee: nobody → doug.turner
Attachment #512958 -
Flags: review?(karlt)
Comment 3•15 years ago
|
||
Comment on attachment 512958 [details] [diff] [review]
patch v.1
> if (gfxPlatform::GetPlatform()->UseHarfBuzzLevel() >=
> gfxUnicodeProperties::ScriptShapingLevel(aRunScript))
> {
>+ if (!mHarfBuzzShaper)
>+ {
"{" should be at the end of the "(!mHarfBuzzShaper)" line.
(The "{" at the start of the line above is special because of the multi-line condition and 4-space indent.)
Attachment #512958 -
Flags: review?(karlt) → review+
Updated•15 years ago
|
Attachment #512958 -
Flags: approval2.0+
| Assignee | ||
Comment 4•15 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/9eacc33dd8f2
http://hg.mozilla.org/mozilla-central/rev/039b9f95368f (whitespace)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•