You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only difference in the commands being the resolution of the final
PNG image, this shouldn't be so. The most noticable difference is the
blank triangle enclosed by the 'A' and the rectangle lines.
I'm using Diagrams 0.4 via cabal on Debian "testing".
A thought after the discussion on #diagrams:
Maybe we need a way of specifying final size explicitly? In TeX,
there's a way of rendering a font at a given resolution and then scale
it: I can either use "cmr12" or "cmr10 at 12pt", which both give fonts
of the same height, but slightly different characters.
Given that TeX knows the size on paper (and Diagrams doesn't), that
might be what we need. How about a way of specifying either
resolution (as in pixels per inch) or the printed size of the final
output? The latter would allow my two examples to look exactly the
same since the printed size is the same, only the number of pixels
changes.
The text was updated successfully, but these errors were encountered:
(Imported from http://code.google.com/p/diagrams/issues/detail?id=67. Original issue from [email protected] on February 20, 2012, 03:18:29 PM UTC)
The following two commands give slightly different output:
The only difference in the commands being the resolution of the final
PNG image, this shouldn't be so. The most noticable difference is the
blank triangle enclosed by the 'A' and the rectangle lines.
I'm using Diagrams 0.4 via cabal on Debian "testing".
A thought after the discussion on #diagrams:
Maybe we need a way of specifying final size explicitly? In TeX,
there's a way of rendering a font at a given resolution and then scale
it: I can either use "cmr12" or "cmr10 at 12pt", which both give fonts
of the same height, but slightly different characters.
Given that TeX knows the size on paper (and Diagrams doesn't), that
might be what we need. How about a way of specifying either
resolution (as in pixels per inch) or the printed size of the final
output? The latter would allow my two examples to look exactly the
same since the printed size is the same, only the number of pixels
changes.
The text was updated successfully, but these errors were encountered: