Set up named text styles with a font, fixed height, width factor and slant, and control what missing or SHX fonts are drawn with. For anyone matching a company drawing standard or opening drawings from other offices.
Before you start
- A licence that includes 2D drafting.
- The fonts you want must be installed on the computer. Stratal CAD bundles no fonts.
Steps: create or change a text style
- Click Annotate > Text > Text Style…. The Text Styles dialog lists the drawing's styles.
- Click New to make a copy of the selected style, and type its name in Name.
- Set the style's values:
- Font: any installed font.
- Fixed height: 0 means TEXT asks for a height each time.
- Width factor and Obliquing angle (slant).
- Annotative: heights become paper heights (see Annotation scales).
- Click Set current to make it the style new text gets.
- Click OK. All the changes are one undo step.
On the command line, STYLE (aliases ST, -STYLE) asks for the same values in turn: "Enter name of text style or
[?]", "Specify font family name (. for the default)", the height, "Specify width factor" and "Specify obliquing
angle". ? lists the styles and Enter keeps a value.
Steps: change the style of existing text
- Select the text.
- In the Properties panel, choose another style. The panel also shows the font the text is drawn with.
Steps: map fonts that are not installed
A drawing stores only font names. When a style names a font that is not installed, its text is drawn with Arial, the name is kept, and Stratal CAD says so when the drawing opens, in STYLE, in the Properties panel and in the Text Style dialog. To choose a better replacement:
- Click Annotate > Text, open the arrow under Text Style… and choose Font Map…, or type
FONTMAP. - Add: type the font as the styles name it (a family such as ISOCPEUR, or an SHX font file such as romans.shx), then the installed font to draw it with.
- Alternate (or
FONTALT): the font for every other missing font..means none (the default font). - Remove takes an entry away, and List shows the map.
The map is kept in the drawing, so it looks the same and plots to the same widths on every computer that has the replacement fonts. The User option keeps your own map for every drawing. Everything one FONTMAP changes is one undo step. The screen, text measurement (wrapping, justification, picking) and PDF plots all use the replacement.
SHX fonts are never drawn as SHX: Stratal CAD reads no SHX files, so an SHX font is always drawn with its font map replacement, the alternate or Arial.
Options
| Option | What it does |
|---|---|
| Text Styles: New | Copies the selected style under a new name. |
| Text Styles: Delete | Removes a style no text uses. Standard and the current style always stay. |
| Text Styles: Set current | The style new text gets. |
| FONTREPORT | Lists each font the styles use, the styles and how many texts, multiline texts and attribute definitions use it, and whether it is installed or what it is drawn with and why. |
| Embed fonts (where each font's licence allows it) | In Export PDF, Plot Layout and Publish. See below. |
Fonts in PDF files
Export PDF, Plot Layout and Publish have Embed fonts (where each font's licence allows it), on by default. With it on, each line of text is drawn in its style's installed TrueType font (or its font map replacement), embedded in the PDF and cut down to the characters used. The PDF then looks the same on any computer, and its text can be searched and copied.
- A font is embedded only where its own licence allows it (installable, editable, or preview and print).
- A font whose licence forbids embedding or allows only bitmaps, an OpenType font with PostScript outlines, and a font that is not installed are drawn in Helvetica, and the export report names them with the reason.
- A font whose licence forbids cutting it down is embedded whole.
- Characters a font has no glyph for show as its missing-glyph box, and the report counts them.
Example
Your office standard uses ISOCPEUR at a width factor of 0.8. Open Text Style…, select Standard, click New,
name it ISO-NOTES, choose ISOCPEUR as the font, set Width factor to 0.8, click Set current and OK. A
drawing from a supplier uses romans.shx: run FONTMAP, choose Add, type romans.shx, then ISOCPEUR.
Tips and common mistakes
- Fonts you embed in a PDF are those installed on your computer, under their own licences.
- Run FONTREPORT on drawings from other offices before plotting, so you know which fonts are being replaced.
Troubleshooting
| Message or symptom | What it means and what to do |
|---|---|
| A warning that a font is not installed when the drawing opens | The text is drawn with Arial or the font map replacement. Install the font, or add a font map entry. |
| Text looks narrower or wider than expected after opening | A replacement font has different widths. Map the font to a closer installed font. |
| Delete is not available for a style | The style is used by text, is Standard or is current. |
| The PDF export report lists fonts drawn in Helvetica | Those fonts' licences do not allow embedding, or they are not installed. |
Related
Related
- Fitting an object into a space
- Grid, snap, ortho and polar tracking
- Object snaps and object snap tracking
- Entering exact points, distances and angles
- Constraint hints while drawing
- Drawing lines
Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.