Source font sizes are wrong for save screenshot when scaled
Font sizes are incorrect for Sources when a user uses save screenshot when increasing resolution. Here is how to replicate, with images.
There are three images that we want to compare. All three use can.exo and color legend, Sources - Text, and Sources - Annotate Time. First image is just a screenshot, second is a 2X size screenshot (without scaled fonts), and the third is a 2X size screenshot with scaled fonts. For all three, we then display them, and make the image be the same size on screen. In other words, no matter what the pixel count, make them 9 inches wide X 6 inches tall. Here is how to create them.
- 5.9.1 (also 5.10.0-RC1), Linux (and Mac, as per bug listed at bottom), builtin server.
- load can.exo. All vars on. Apply.
- Paint by displ.
- Rescale to custom data range. 0.123 to 19.984.
- Move forward a few timesteps. Not needed, but it's prettier.
- Sources/ Text. "Text Text Text Text Text". Apply.
- Move to the bottom center.
- Sources/ Annotate Time. Apply.
- Move to the top center.
First Screenshot.
- File/ Save Screenshot. Save as screenshot screenshotNormal.png. OK.
- Advanced. (Not needed yet, but we will.)
- OK.
Second Screenshot - Large, not scaled.
- File/ Save Screenshot. Save as screenshot screenshot2X.png. OK.
- Advanced. Font Scaling: Do Not Scale Fonts.
- 2X.
- OK.
Third Screenshot - Large, scaled.
- File/ Save Screenshot. Save as screenshot screenshot2XScaled.png. OK.
- Advanced. Font Scaling: Scale Fonts.
- 2X.
- OK.
Description
- The first screenshot should match up perfectly with the ParaView renderview.
- The second screenshot should have the same size fonts as the first screenshot. The color legend (that is correctly elongated) has the correct size text. The Sources/ Text and Sources/ Annotate Time are 1/2 the size they should be. Change the size of second screenshot on screen to be the same size as first screenshot. Text should be 1/2 the correct size, but is actually 1/4th the correct size.
- The third screenshot should have fonts that are twice the size of the first screenshot, so that when the two images are seen the same size, they look the same. For the sources, the third screenshot actually has "correct" size fonts, which when scaled will be 1/2 correct size compared to the first screenshot. Again, the color legend has the correct font size.
This is impacting my users, thus I am marking for 5.11, showstopper. Please don't slip without asking me.
First reported in #21009 (closed), but I wanted detailed directions how to replicate.