Closed
Bug 1200098
Opened 9 years ago
Closed 9 years ago
update graphite2 library to upstream release 1.3.2
Categories
(Core :: Graphics: Text, defect)
Tracking
()
RESOLVED
FIXED
mozilla43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: martin_hosken, Assigned: jfkthame)
References
Details
(Whiteboard: gfx-noted)
Attachments
(3 files)
168.26 KB,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
4.07 KB,
patch
|
gerv
:
review+
|
Details | Diff | Splinter Review |
1.49 KB,
patch
|
jtd
:
review+
|
Details | Diff | Splinter Review |
This release of graphite2 replaces 1.3.0. It fixes all the fuzz bugs you and we have found and resolves some bidi issues.
Updated•9 years ago
|
Assignee | ||
Comment 1•9 years ago
|
||
Tryserver says we hit a (bidi-related) crash in one of our reftests:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=8f5e1475fd83
So we'll need to resolve that before taking an update here.
Reporter | ||
Comment 2•9 years ago
|
||
when you call gr_make_seg try oring the rtl parameter with 2. Since your strings are all monodirectional, no point in running full bidi on them. Having said that, there may well be a bug since in theory whether you run full bidi or not on a monodirectional string shouldn't make any difference.
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to martin_hosken from comment #2)
> when you call gr_make_seg try oring the rtl parameter with 2. Since your
> strings are all monodirectional, no point in running full bidi on them.
> Having said that, there may well be a bug since in theory whether you run
> full bidi or not on a monodirectional string shouldn't make any difference.
I tried this but it still hits the crash.
Assignee | ||
Comment 4•9 years ago
|
||
Note that the crash occurs on a (diacritic-only) segment that we're shaping with dir=ltr (because diacritics inherit their direction from the base character), while aSilf->dir() is rtl. So it still ends up calling seg->reverseSlots().
Updated•9 years ago
|
Whiteboard: gfx-noted
Updated•9 years ago
|
Summary: graphite 1.3.1 released → graphite2 1.3.1 released
Reporter | ||
Comment 5•9 years ago
|
||
Untested fix in repo (well it doesn't crash in normal cases, but not tested against your test case).
In addition. The copyright message that had to be added for 1.3.0 has been removed and all files have the same license and copyright. So that patch can be removed.
Assignee | ||
Comment 6•9 years ago
|
||
Release 1.3.2 is now out; we should go ahead and update. (This is primarily about bug-fixing and robustness, following an intensive fuzz-testing period.)
Summary: graphite2 1.3.1 released → update graphite2 library to upstream release 1.3.2
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8658670 -
Flags: review?(jdaggett)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Assignee | ||
Comment 8•9 years ago
|
||
Upstream has modified their code such that it no longer carries this additional copyright, so we can remove it from about:license per comment 5 above.
Attachment #8658671 -
Flags: review?(gerv)
Assignee | ||
Comment 9•9 years ago
|
||
This is just a minor tweak for efficiency; we ought to have been doing this all along. There should be no effect on behavior.
Attachment #8658673 -
Flags: review?(jdaggett)
Assignee | ||
Comment 10•9 years ago
|
||
Comment 11•9 years ago
|
||
Comment on attachment 8658671 [details] [diff] [review]
patch 2 - Remove the data-shrinker copyright notice that was added for graphite 1.3.0; no longer present in release 1.3.2
Review of attachment 8658671 [details] [diff] [review]:
-----------------------------------------------------------------
r=gerv; thanks for coming back and cleaning up :-)
Gerv
Attachment #8658671 -
Flags: review?(gerv) → review+
Updated•9 years ago
|
Attachment #8658673 -
Flags: review?(jdaggett) → review+
Updated•9 years ago
|
Attachment #8658670 -
Flags: review?(jdaggett) → review+
Assignee | ||
Comment 12•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5e3c7c4b60893bda2d2eae7fcd2aa2bab64c04c8
Bug 1200098 - Update graphite2 library to release 1.3.2 from upstream. r=jdaggett
https://hg.mozilla.org/integration/mozilla-inbound/rev/66e7e47e3144da359a8d0e0e4ebfa4d12d33840a
Bug 1200098 - patch 2 - Remove the data-shrinker copyright notice that was added for graphite 1.3.0; no longer present in release 1.3.2. r=gerv
https://hg.mozilla.org/integration/mozilla-inbound/rev/ca6aca7378307f47d5807f4d40ad5f27cd67babf
Bug 1200098 - patch 3 - Pass the gr_nobidi flag when shaping with graphite2, as we split text into unidirectional runs ahead of time. r=jdaggett
Comment 13•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5e3c7c4b6089
https://hg.mozilla.org/mozilla-central/rev/66e7e47e3144
https://hg.mozilla.org/mozilla-central/rev/ca6aca737830
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla43
You need to log in
before you can comment on or make changes to this bug.
Description
•