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
This is both blessing and curse.
On the one hand,
this approach decouples the graphics from the screen dpi
and ensures that boxes can fit n-character strings on m-lines.
On the other hand, the diagram look changes as the system font type changes,
which makes the graph look different on each operating system.
The solution can be to use absolute measures (cm)
and lose the charachter fit guarantees.
Another solution is to use the same font accross operating systems.
The text was updated successfully, but these errors were encountered:
Instead of using independent width and height,
the width units are fixed to be a half of the height units.
This is the original assumption of the diagram dimensions.
The height unit is still derived from the height metrics of the font
to make the graphics screen DPI independent.
With these changes, the diagram graphics size units
have only single degree of freedom,
which should minimize
the differing looks on different operation systems.
Issue #215
There's no easy way to guarantee an availability of certain fonts on the platform
even though some of them (Helvetica) are ubiquitous.
The current compromise is to fix the diagram unit dimensions (1 : 2) for width and height,
but the absolute values are relative to the font height only (a single degree of freedom).
This will keep the shapes the same across different platforms but at different scale
depending on the font metrics.
This is both blessing and curse.
On the one hand,
this approach decouples the graphics from the screen dpi
and ensures that boxes can fit n-character strings on m-lines.
On the other hand, the diagram look changes as the system font type changes,
which makes the graph look different on each operating system.
The solution can be to use absolute measures (cm)
and lose the charachter fit guarantees.
Another solution is to use the same font accross operating systems.
The text was updated successfully, but these errors were encountered: