Index: 03_drawing.html =================================================================== --- 03_drawing.html (revision 1743) +++ 03_drawing.html (revision 1744) @@ -107,10 +107,10 @@ tip shape yes circle (also called round) or square; when square, an edge of the square is always aligned with the stroke direction tip size yes circle diameter or square edge length in coordinates color yes   + font_height yes font height in coords for text objects (string) + font_family no hint: font family name for text objects (string) + font_style no hint: font style for text objects (string; e.g. bold, italic) dash no dash pattern - font no hint: font description for text objects (string) - font_size no hint: font size for text objects (string) - font_style no hint: font style for text objects (string; e.g. bold, italic)

{des3:17} When using a pen, the base geomerty is specified as the single, 0 @@ -216,9 +216,12 @@

{des3:33} The text object has properties and no attributes and no children.

{des3:34} It represents a multiline text block arranged in a bounding box. -The actual font -and text size are only hinted; the renderer may chose a different font and -size but has to find the closest possible match for fitting the bounding box. +When x2 and y2 are specified height is not, pen font and text size are only +hinted; the renderer may chose a different font and size but has to find the +closest possible match for fitting the bounding box. When height is specified +the (and x2;y2 are not), the lower left corner of the unrotated rendered text is +placed on x1,y1 and text size is chosen for the height property. If neither x2;y2 +nor height are specified, pen font height is used.

{des3:35} text properties @@ -225,7 +228,8 @@
property mandatory description
oid yes  
x1, y1 yes x;y coords of bounding box bottom-left (smaller coords) -
x2, y2 yes x;y coords of bounding box top-right (larger coords) +
x2, y2 no x;y coords of bounding box top-right (larger coords); height must not be specified +
height no font height in coords; x2 and y2 must not be specified
halign yes horizontal alignment, per text line: left, center, right, word-justified, justified
text yes string
stroke yes pen used to determine color and font properties