Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
drawingchecklist [2022/05/15 02:56] – [points] add label text font size support description brucemutton | drawingchecklist [2024/05/20 06:25] (current) – line label opaque bounding box brucemutton | ||
---|---|---|---|
Line 181: | Line 181: | ||
**Labels** \\ | **Labels** \\ | ||
- | '' | + | '' |
+ | < | ||
+ | # Point label always gives you text of the size you specify, at default character spacing. | ||
+ | # The label text has an opaque bounding box that obscures most objects beneath it. | ||
+ | # Suggest you do not use -orientation | ||
+ | </ | ||
+ | See also [[drawingchecklist# | ||
+ | \\ | ||
Placeholder TO DO: Make an entry about boxed labels, and how to use them. Based on [[https:// | Placeholder TO DO: Make an entry about boxed labels, and how to use them. Based on [[https:// | ||
Line 212: | Line 219: | ||
# <ss> ## ... sans serif font ... [default for point label] | # <ss> ## ... sans serif font ... [default for point label] | ||
# <si> ## ... sans serif italic font ... [default for point remark] | # <si> ## ... sans serif italic font ... [default for point remark] | ||
- | |||
- | # < | ||
# "Type here undefined language text, or text to appear if specified language text does not match one of the following< | # "Type here undefined language text, or text to appear if specified language text does not match one of the following< | ||
Line 221: | Line 226: | ||
#< | #< | ||
- | ## -scale sets the size of the entire label string, unless it is modified by < | + | ## -scale sets the size of the entire label string, unless it is modified by < |
- | ## The size in points of labels should be set using the fonts-setup layout statement if you want to override Therion' | + | ## In general the size in points of labels should be set, preferably, by using the fonts-setup layout statement if you want to override Therion' |
# -scale xl ## main passage names | # -scale xl ## main passage names | ||
# -scale l ## Significant features in main passages | # -scale l ## Significant features in main passages | ||
Line 229: | Line 234: | ||
# -scale xs ## station names, air draught dates, less important information | # -scale xs ## station names, air draught dates, less important information | ||
- | # -scale < | + | # -scale < |
+ | |||
+ | # < | ||
+ | # < | ||
+ | # < | ||
# -align r # l c tl tr bl br ## right, left, centre of insertion point, etc | # -align r # l c tl tr bl br ## right, left, centre of insertion point, etc | ||
relative to the scrap as viewed in Xtherion, NOT to the finished output | relative to the scrap as viewed in Xtherion, NOT to the finished output | ||
(So it pays to scan your sketches or rotate your ' | (So it pays to scan your sketches or rotate your ' | ||
- | intended finished output | + | intended finished output |
</ | </ | ||
Line 452: | Line 461: | ||
**Labels** \\ | **Labels** \\ | ||
- | '' | + | '' |
Often arrows are associated with a label (or remark or date) and it is of benefit if the visibility of such arrows is controlled by the same statements that control the visibility of the label.\\ | Often arrows are associated with a label (or remark or date) and it is of benefit if the visibility of such arrows is controlled by the same statements that control the visibility of the label.\\ | ||
If you assign the context of the label to the arrow, you can achieve this using '' | If you assign the context of the label to the arrow, you can achieve this using '' | ||
Line 459: | Line 468: | ||
line arrow -context point label -scale xs #visibility of this arrow will be controlled as though it were a point label of scale xs | line arrow -context point label -scale xs #visibility of this arrow will be controlled as though it were a point label of scale xs | ||
- | '' | + | '' |
+ | < | ||
+ | # If the line is longer than is necessary for the specified | ||
+ | # If the line is too short, the text scale is reduced so that the text will fit. | ||
+ | # Unlike point label, each character has its own opaque bounding box, so line label does not obscure so much of any objects that render beneath it. | ||
+ | </ | ||
+ | see also [[drawingchecklist# | ||
'' | '' | ||
\\ | \\ |