[PythonCAD] Text preference changes now in repo

Art Haas ahaas at airmail.net
Fri Sep 10 20:06:17 CEST 2004


Hi.

Today's update contains a reworked Preference's screen for setting the
various TextBlock values. The new screen uses drop-down menus to set
things like the font family, weight, and style. The preferences dialog
now lets you set the text alignment via a drop-down meny, 
and the text size via an entry box. The layout of the widgets in this
screen can use some improvement, but some of the long missing settings
for TextBlocks are now available.

There are smaller changes in the repo as well, including a change to the
file writing code where fixing the TextBlock writing of weight and style
values that differed from the TextStyle used by the TextBlock. The bug
was introduced recently during the reworking of the TextBlock code, and
due to the missing preference settings was hard to hit. Now that more of
the TextBlock values can be adjusted, the bug made its appearance, and
was quickly fixed.

Art
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


More information about the PythonCAD mailing list