I have just checked Example 2 on Windows for a plot which is 538 pixels high by 744 pixels wide. I am using an assumed DPI of 90, which means this page is approximately A5 landscape.
The driver gets passed pls->chrht of 6.33 mm. Using the assumed 90 dpi this should give text of 22.4 pixels. For Arial, the descender is approximately 19% of the total font size (see https://msdn.microsoft.com/en-us/library/xwf9s90b(v=vs.110).aspx) so we expect the ascender to be 18.1 pixels. The actual height from baseline to character top may be slightly less to give space for accents - see e.g. (https://msdn.microsoft.com/en-gb/library/windows/desktop/ff684173(v=vs.85).aspx).
The digit '1' in the example is 17 pixels high. This is as I would expect and therefore I am closing this bug as the driver is behaving as designed.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just checked Example 2 on Windows for a plot which is 538 pixels high by 744 pixels wide. I am using an assumed DPI of 90, which means this page is approximately A5 landscape.
The driver gets passed pls->chrht of 6.33 mm. Using the assumed 90 dpi this should give text of 22.4 pixels. For Arial, the descender is approximately 19% of the total font size (see https://msdn.microsoft.com/en-us/library/xwf9s90b(v=vs.110).aspx) so we expect the ascender to be 18.1 pixels. The actual height from baseline to character top may be slightly less to give space for accents - see e.g. (https://msdn.microsoft.com/en-gb/library/windows/desktop/ff684173(v=vs.85).aspx).
The digit '1' in the example is 17 pixels high. This is as I would expect and therefore I am closing this bug as the driver is behaving as designed.