Huw Davies huw@codeweavers.com writes:
Ideally this would be done in wineps.drv, but by that point the conversion to device units would cause rounding errors.
What about GetTextExtent functions? Do they need this too? Some test cases would be nice.
On Tue, Mar 26, 2013 at 04:30:14PM +0100, Alexandre Julliard wrote:
Huw Davies huw@codeweavers.com writes:
Ideally this would be done in wineps.drv, but by that point the conversion to device units would cause rounding errors.
What about GetTextExtent functions? Do they need this too? Some test cases would be nice.
Note this only applies when lpDx != NULL, when it's NULL then char_extra is still applied. So, yes the current GetTextExtent behaviour is correct.
Huw.
Huw Davies huw@codeweavers.com writes:
On Tue, Mar 26, 2013 at 04:30:14PM +0100, Alexandre Julliard wrote:
Huw Davies huw@codeweavers.com writes:
Ideally this would be done in wineps.drv, but by that point the conversion to device units would cause rounding errors.
What about GetTextExtent functions? Do they need this too? Some test cases would be nice.
Note this only applies when lpDx != NULL, when it's NULL then char_extra is still applied. So, yes the current GetTextExtent behaviour is correct.
Ah OK, I guess that makes it a PITA to test...
On Tue, Mar 26, 2013 at 04:50:03PM +0100, Alexandre Julliard wrote:
Ah OK, I guess that makes it a PITA to test...
Some kind of print-scan magic comes to mind ;-)