Closed Bug 465395 Opened 17 years ago Closed 15 years ago

Honor TEXT_DISABLE_OPTIONAL_LIGATURES in the Windows font backend

Categories

(Core :: Graphics, defect, P3)

x86
Windows XP
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: zwol, Assigned: jfkthame)

References

Details

Fragment of bug 464168 (q.v. for discussion) -- the Windows implementation of gfxFontGroup needs to honor the TEXT_DISABLE_OPTIONAL_LIGATURES flag in the return value of nsLayoutUtils::GetTextRunFlagsForStyle.
Flags: wanted1.9.1?
The preferred way to do this would be to disable the ligature features (except "required" ligatures, e.g., for Arabic) when doing glyph shaping. AFAIK, this is not supported via Uniscribe's ScriptShape API, which is what we're currently using; it would require moving to the newer ScriptShapeOpenType. However, this is only available on Vista, or on XP if we can ensure the availability of usp10.dll version 1.600 or later. Are we licensed to redistribute Uniscribe?
Flags: wanted1.9.1? → wanted1.9.1+
Priority: -- → P3
Product: Core → Core Graveyard
Assignee: jfkthame → nobody
Component: GFX: Win32 → GFX: Thebes
Product: Core Graveyard → Core
QA Contact: win32 → thebes
Assignee: nobody → jfkthame
As we're now using the harfbuzz backend as our primary shaping path, and it supports the TEXT_DISABLE_OPTIONAL_LIGATURES flag, I think this bug is essentially obsolete. Should we resolve it as FIXED (indirectly, by using a different path), or as WONTFIX (because it's no longer important), or what?
Just FTR, changed bug summary as gfxWindowsFontGroup no longer exists. Resolving as FIXED, as the issue is fixed since we enabled the harfbuzz path.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Summary: Honor TEXT_DISABLE_OPTIONAL_LIGATURES in gfxWindowsFontGroup → Honor TEXT_DISABLE_OPTIONAL_LIGATURES in the Windows font backend
You need to log in before you can comment on or make changes to this bug.