[Bug 28443] MsiGetFileVersion fails when run on TrueType/OpenType font files

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 22 08:31:09 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28443

--- Comment #15 from Hans Leidekker <hans at meelstraat.net> 2011-09-22 08:31:09 CDT ---
(In reply to comment #14)
> Well spootted. The other font files seem to have the version string both in
> single-byte and multibyte encodings. I edited only the single-byte encoded
> version of DroidSans-Bold.ttf and found that Wine picked up the changes, but
> Windows did not. So Wine should probably always use the double-byte encoded
> strings.
> 
> I don't know enough to be able to remove one or other of the version strings,
> so I don't know what Windows does when only a single-byte encoded version
> string is present.

MsiGetFileVersion fails on Windows if there's no double-byte version
string. I'll send a patch to make Wine use double-byte strings only.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list