This is an attempt at generating the font metrics from publicly
downloadable data.
The Windows metrics are generated from the AFM sources instead of
being copied from some unrelated TrueType fonts as done in
a3b562f74eeb6a5abc3013e57ff489107677b743. It's not clear if that
matters, neither seem to match the values on Windows.
It would be possible to simplify things further, and to use more
up-to-date source data, but for now the goal is to minimize the diff
to the generated files.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/7444
- Clean up method implementations to be consistent and pass tests.
- Factor out common code.
- Validate arguments.
- Correctly match szNameBuf user passed strings as case-insensitive as per documentation.
- Match method parameter identifiers to be as per documentation.
- Rewrite where required to use common helpers.
Signed-off-by: Edward O'Callaghan <edward(a)antitrust.cc>
--
v2: oleaut32: Factor out TLB_get_typeinfo_by_guid()
oleaut32: Rewrite ITypeInfo_fnGetIDsOfNames()
https://gitlab.winehq.org/wine/wine/-/merge_requests/7449