Closed Bug 624970 Opened 15 years ago Closed 15 years ago

expose DirectWrite version via GfxInfo

Categories

(Core :: Graphics, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jtd, Assigned: jtd)

References

Details

Attachments

(3 files)

Several dwrite bugs are related to the specific installed version of DirectWrite, so it's important to know the version in use when a user reports a problem.
Attachment #503070 - Flags: review?(jmuizelaar)
Comment on attachment 503070 [details] [diff] [review] patch, add directwrite version to gfxinfo > direct2DEnabled = Direct2D Enabled > directWriteEnabled = DirectWrite Enabled >+dwriteVersion = DirectWrite Version This is a string change, and we're string frozen. We should probably tell someone that we're adding this string. >@@ -48,6 +48,7 @@ interface nsIGfxInfo : nsISupports > */ > readonly attribute boolean D2DEnabled; > readonly attribute boolean DWriteEnabled; >+ readonly attribute DOMString dwriteVersion; This should be DWriteVersion to match DWriteEnabled.
Attachment #503070 - Flags: review?(jmuizelaar) → review+
(In reply to comment #2) > Comment on attachment 503070 [details] [diff] [review] > This is a string change, and we're string frozen. We should probably tell > someone that we're adding this string. Can we just add the version after the enabled string: DWrite Enabled: true/false, (version number)
Comment on attachment 503070 [details] [diff] [review] patch, add directwrite version to gfxinfo simple change needed for debugging dwrite io problems during startup
Attachment #503070 - Flags: approval2.0?
Updated based on review comments. Also added in OSX/Android stubs.
Attachment #503744 - Flags: review?(joe)
Attachment #503744 - Flags: approval2.0?
Attachment #503744 - Attachment description: patch, add directwrite version to gfxinfo → patch v2b, add directwrite version to gfxinfo
Attachment #503070 - Flags: approval2.0?
Comment on attachment 503744 [details] [diff] [review] patch v2b, add directwrite version to gfxinfo hip hip hooray!
Attachment #503744 - Flags: review?(joe)
Attachment #503744 - Flags: review+
Attachment #503744 - Flags: approval2.0?
Attachment #503744 - Flags: approval2.0+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Brian Birtles pointed out that the patch that landed messes up static library builds (i.e. rebuilding without linking XUL). Adding 'version' to the list of windows libraries should solve this.
Confirming that attachment 504601 [details] [diff] [review] fixes the linker problem for me.
Comment on attachment 504601 [details] [diff] [review] patch, add version to list of gfx libraries on windows I pushed this as a bustage fix because I had something else to push already. http://hg.mozilla.org/mozilla-central/rev/2e8b3179b204
Attachment #504601 - Flags: review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: