Description
This tag activates/deactivates font outlining.
The color of the outline fill is set by supco and supgray. The color of the outline stroke is set by the color of the text.
New in GN4 2.4: the outline weight parameter. You can set it in the Text Color/Effects panel or by the outline tag as the optional 2nd parameter: >outline 1,0.25pt<. Before this change, the border weight was always the 1% of font size. For the compatibility, if the outline is active and there is no weight specified value (or it is set to 0) the 1% rule thickness is applied.
Parameters and typographical expressions
1.Toggle. 0 or 1. 0 makes the text not outlined. 1 makes the text outlined.
Tag Effects
Effects are visible in the WYSIWYG pane of the Articles main tab or on a page on the Pages main tab.
Type and scope
Can be inserted anywhere in text. Local for the paragraph where is inserted, therefore effects cease on the end of that paragraph. May be globalized, by appending the >default< tag after, but only before any printable character.
See also
|
You can review and set outline on the C&E tab of the Character palette, or on the Text Color/Effects palette. Alternatively, use the outline icon in the toolbar. |
The related system script is EditFontOutline. It toggles outline text. It is usually assigned to the Type > Character > Outline. |
In Ted4 & Fred4 it is possible to get and set the outline of text by the TextStatus object. To get outline status: dim objTS = Ted4.GetTextStatus if objTS.HasOutline then msgbox (objTS.Outline) end if It returns true if outlines are set, and false if text is normal. To set the outline status: dim objTS = Ted4.GetTextStatus objTS.Outline = 1 Ted4.SetTextStatus (objTS) |