Closed Bug 951009 Opened 11 years ago Closed 10 years ago

update graphite2 library to release 1.2.4

Categories

(Core :: Layout: Text and Fonts, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla29

People

(Reporter: martin_hosken, Assigned: jfkthame)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131206152142

Steps to reproduce:

This page is used for testing: http://lists.freedesktop.org/archives/harfbuzz/attachments/20131216/52f829d9/attachment-0001.html and it shows that for Graphite enabled the fonts are not catching the language information. This is a known bug in the graphite2 engine which was fixed in the recent 1.2.4 release.

I propose we take v1.2.4 of graphite2 engine into the earliest sensible release in the release path (beta probably, but perhaps even aurora).
Component: General → Graphics
OS: Linux → All
Hardware: x86_64 → All
Version: 29 Branch → 28 Branch
Component: Graphics → Layout: Text
Hmm.... The page mentioned actually has incorrect language tags; they should be lang="ur" and "sd", not "urd" and "snd". On further testing, I'm seeing that with the tags corrected, it does show the expected language-dependent forms under Graphite shaping. (But not OpenType, due to a bug in the current Scheherazade font.)

So it looks like this does work in current Nightly. (At least some of the time?)

We should still take the gr2 update, to stay in sync with upstream, but it may not be essential for the lang-tagging support; my initial testing as mentioned on the HB list was just wrong, I think.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: language tags are not passed to graphite based fonts → update graphite2 library to release 1.2.4
Version: 28 Branch → Trunk
Severity: normal → enhancement
Assignee: nobody → jfkthame
Tryserver thinks this'll be OK: https://tbpl.mozilla.org/?tree=Try&rev=99e5f141d1af
Attachment #8348850 - Flags: review?(jdaggett)
Upstream has replaced a lot of <tab>s with spaces, which makes the patch here look awfully big. For reference, here's a version of the diff with the -w option, so it only shows "real" changes.

See http://projects.palaso.org/projects/graphitedev/repository for the upstream mercurial log, individual changesets, etc.
Comment on attachment 8348850 [details] [diff] [review]
update graphite2 library to upstream v1.2.4

Looks fine. Would be nice if the white-space swizzling was in a separate patch but, meh...
Attachment #8348850 - Flags: review?(jdaggett) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: