993e1e460d
This commit partially addresses issues in #296. Due to the fact that glabels-3 and glabels-4 use different underlying technologies for rendering text, a pixel-perfect import can probably never be fully achieved. This commit focuses on small adjustments to imported text objects to approximate the visual appearance of these objects. - glabels-3 rendered text at 75% of stated font size, compensate by adjusting font size of imported object. - Text boxes behave differently in glabels-4 than in glabels-3. In glabels-4, text boxes must be of a fixed size, so compensate when a variable sized box (when w=0 and/or h=0) is detected and fix the size to the natural text size. - In glabels-3, the fixed margin size (3pt) was not used in the text baseline calculations. Compensate by adjusting vertical position of imported text object.