WPCubed Product Support

Background color not consistent height

wpsupport

wpUseAbsoluteFontHeight is a flag to help in projects which ere upgraded from WPTools V4

#6 ♥ 0
3.6k Views 2 links 2 users read 2 min

Unfortunately that option messes up line spacing in my reports, can't use it.

#5 ♥ 0

I found a FormatOption that seems to correct it, wpUseAbsoluteFontHeight, but not sure what else it might affect and I don't want my reports to be negatively impacted, such as inline images etc. Can you explain what this option does any more than just your comment of "Calculate the height of the text using the font size alone".

#4 ♥ 0
wpsupport

The background color of a character is meant to be the background color of a character, not the line.

This has been implemented like this on purpose.

It may be an option for 9.3 is there is enough demand.

#3 ♥ 0

I found a FormatOption that seems to correct it, wpUseAbsoluteFontHeight, but not sure what else it might affect and I don't want my reports to be negatively impacted, such as inline images etc. Can you explain what this option does any more than just your comment of "Calculate the height of the text using the font size alone".

#2 ♥ 0

If I include a Windings character along with some Arial characters, the background color of the wingdings chars are not the same height as the Arial chars. It seems to be one pixel off and looks unprofessional. For example:

x this is a test

if all are at 10pt and x is a wingdings checkbox with a x and I set the background of all the chars to red, the red for the x is missing the lower row of red pixels.

🖼 BackgroundColorIssue.png (whispersolutions.com)

Maybe it has to do with the font's height as defined by the font itself, but I can do the same thing in Microsoft Word and it doesn't present this artifact. Maybe it looks at char heights adjacent to it to compute a consistent height. If so, can that be implemented in WPTools?

#1 ♥ 0