Thank you. That helps a lot.
Milind
On Wed, Mar 25, 2020, 5:49 AM Antonio Scuri wrote:
> Yes, but as I said, it depends on the application. Some applications
> define the size of the text and then the lines must align to it.
>
> If yours the text must align to the lines, then yes, you
Yes, but as I said, it depends on the application. Some applications
define the size of the text and then the lines must align to it.
If yours the text must align to the lines, then yes, you should use font
sizes in pixels. To use font sizes in pixel you can specify negative values
in
Yes this one does not have scaling because I was just doing an example to
check proportionality.
So what I understand is to be consistent across different canvases where
pixels/mm are different I should internally store the size of text I
display in pixels? That way when I implement scaling it
Hi,
That sample has no scaling. I least I couldn't find any.
I run it and print it. Yes the text looks larger because it is using the
default font which is specified in points, not in pixels.
Best,
Scuri
Em ter., 24 de mar. de 2020 às 16:42, Milind Gupta
escreveu:
> For example the
For example the screen shows the graphic as:
[image: image.png]
While the printout shows it like:
[image: image.png]
The text gets totally out of proportion to the rest of the drawing compared
to the screen for the same size.
On Tue, Mar 24, 2020 at 12:38 PM Milind Gupta
wrote:
> Actually the
Actually the problem is the scaling is not the same on the screen compared
to the printer. So the issue is if I scale the drawing and the text
proportionally to fir the number of pixels the text gets much more larger.
To understand that if you just run the script and see how it looks
on the