The indicator panel
The bottom strip holds the attributes that new objects get and that the current mode needs. As in xfig, which buttons appear depends on the mode: a drawing mode shows what that shape has; editing modes such as Update show all of them. Every button works with the mouse like xfig's: the left button opens a menu of choices, the middle button steps to the previous value and the right button to the next (the three words "Menu", "Dec/Prev" and "Inc/Next" under the strip remind you).
Buttons that exist (labels as in xfig):
| Button | What it sets |
|---|---|
| Zoom | the zoom factor |
| Grid Mode | grid style and spacing (Snap and grid) |
| Point Posn | how points snap while drawing (Snap and grid) |
| Depth | the depth (stacking order): lower is in front |
| Rotn Angle | the angle of the rotate modes |
| Num Sides | sides of a regular polygon |
| Vert Align, Horiz Align | alignment of the align mode |
| Angle Geom | constrains line directions (Angle Geom) |
| Smart Links | attached lines follow (Smart links) |
| PenColor, FillColor | line (or text) colour and fill colour; the menu has xfig's standard colours, your own colours, the colours used lately, and More… (see Colours below) |
| Fill Style | none, solid, tints and the pattern fills |
| Arc Type | open or pie-wedge arcs |
| Line Width | in 1/80 inch; thickness 0 draws no line |
| Line Style | solid and the dash styles (Line styles) |
| Tangent/Norm Length | Tangent and normal |
| Join Style, Cap Style | corners and line ends (miter, round, bevel; butt, round, projecting) |
| Arrow Mode, Arrow Type, Arrow Size | arrowheads |
| Box Curve | corner radius of rounded boxes |
| Text Just, Text/Ellipse Angle, Text Flags, Text Size, Text Step, Text Font | text settings |
Text Flags shows one flag at a time as xfig does (hidden=off, TeX=on, rigid=off); the right or middle button shows the next or previous one, a click opens the panel that sets all three. Text Size shows two decimals (12.00). The number pop-ups (Depth, Rotation Angle, …) have a Value field with Cancel and Set.
Text Font opens the font chooser (also in the edit panel's Font row). The switch PostScript / LaTeX picks xfig's two lists: the 35 PostScript fonts, or the six LaTeX fonts (Default, Roman, Bold, Italic, Sans Serif, Typewriter). Every name is drawn in its own font (with only the built-in fonts, every name is drawn in the fallback and tagged "(substitute)"); the current font is marked with a dot and highlighted. Type in Search fonts to narrow the list (every word must occur in the name). Size sets the Text Size, and the preview line shows sample text in the font under the pointer (or the current font) at that size. Click a name to choose it.
Which fonts are used. Text is drawn with the fonts installed on your system: for each of xfig's 35 PostScript fonts RustFig looks for Times, Helvetica, Courier, Symbol, Zapf Dingbats, Palatino, Bookman, Century Schoolbook and so on (or their URW and TeX Gyre clones), then for the nearest serif, sans-serif or monospaced face, and last for its built-in fonts. The TeX Gyre fonts (metric clones of the PostScript fonts) are used when a TeX installation or system package provides them. If you have none, Help > Install TeX Gyre fonts... downloads them from CTAN (about 21 MB), checks the download's SHA-256 checksum, and keeps only the OpenType files and their licence in RustFig's user data folder; a failed or cancelled download leaves nothing behind, and the fonts are used from then on. Setting FIG2DEV_BUILTIN_FONTS=1 makes RustFig use only its built-in fonts (the same drawing on every machine).
Arrow Size opens xfig's panel: Absolute Values or Multiple of Line Width, each with Thickness, Width and Length (0.1 to 10000; absolute values are in 1/80 inch). Only the set you chose is used for new arrows; with the multiples (xfig's start state: 1, 4 and 8) an arrow grows with the line width. Set (or Return) applies, Cancel keeps the old values. "Use current attributes as defaults" keeps the choice for the next start.
Number pop-ups (Line Width, Text Size, Depth, Rotn Angle, Num Sides, copies, Box Curve, Text Step, Zoom and others) work as xfig's: type or drag a value, then Set or Return applies it and closes the pop-up; Cancel closes it without a change. The Zoom pop-up also has Integer zoom: zoom values above 1 become whole numbers when you set them there (rounded) or use Fit (truncated).
Grid Mode has nine choices: none, four square grids and four isometric grids (vertical lines and lines at plus and minus 30 degrees; points snap to the crossings, Snap and grid). Vert Align and Horiz Align have xfig's seven choices: none, start (left or top), centre, end (right or bottom), distribute centres, distribute edges and abut (Transform).
The Update Control box (in Update mode) says which attributes Update applies. Edit > Global settings has "Use current attributes as defaults" to keep the panel's values as the start values for new drawings (Preferences).
Colours
Click PenColor or FillColor for the colour menu: Default, the 32 standard colours, the colours of the drawing and your own colours. Under them are the recent colours (the last twelve you used, kept in your settings, not in the drawing) and More….
- More… (also Edit > Colours…) opens the Colours window:
- Pick in the hue/saturation square and the hue strip, or type Red, Green, Blue and Hue, Saturation, Value.
- Type a hex value (
#rrggbbor#rgb) or an X11 colour name such asDark Orange(case and blanks do not matter; matching names are offered while you type) into Hex or name. - Use as pen colour and Use as fill colour make the colour current; a colour that is not one of the 32 standard colours becomes a user colour of the drawing.
- Colours in this drawing lists the user colours (numbers 32 to 543), saved in the Fig file. Click one to edit it, then Change colour N (every object that uses it changes), Delete colour N (refused while an object uses it) or Add as new colour. Remove unused colours drops those no object uses.
- Pick from screen takes the colour of any pixel on the screen, also in other programs' windows, and shows it in the window; apply it with Use as pen colour or Use as fill colour (only then does it become a user colour of the drawing). It is an addition: xfig has nothing like it.
On macOS
On macOS the system's colour sampler (a magnifier) opens: click a pixel to take it, Escape cancels. It needs no permission.
On Windows
On Windows the colour under the pointer is shown live next to the button; click to take it (the click also reaches the window you click on), Escape cancels.
On Linux
On Linux the desktop's colour picker opens through xdg-desktop-portal (Wayland and X11, GNOME and KDE provide it); where no portal runs, the message line says so.
In the web app the button is greyed out: the browser's EyeDropper needs JavaScript.
- Keep for all drawings stores the colour under a name in your settings, so it is offered in every drawing.
Scripts and MCP use the color.* commands (color.parse, color.new, color.edit, color.delete, color.recent, …).
Styles
View › Manage Styles… (Ctrl+Y with xfig's keys on) keeps named sets of attributes in families, as xfig's style manager does, so a look you use again and again is one click away.
- The window shows two lists side by side: Family (a name field, Add, Delete) and Style (a name field, Add, Delete, Set). Pick a family to see its styles.
- A style holds the indicator's drawing attributes: depth, line width, style, join, cap, dash length and dot gap, pen and fill colour, fill style, box radius, arrows, the text font, size, angle, justification and flags, and the arc type.
- Set the indicator panel as you want it, pick a family, type a name and press Add under Style (a style of the same name is replaced).
- Set sets the indicator, so what you draw next looks like the style; objects already drawn are not changed (as in xfig). Delete removes the selected family or style. Close (or Escape) closes the window.
- Limits: 32 families, 64 styles per family (xfig: 16 and 16), names of 1 to 64 characters.
- Styles are kept in your settings file, for all drawings. They are never written to the .fig file, which stays as xfig reads it.
Scripts and MCP use style.family_add, style.family_delete, style.family_rename, style.save, style.apply, style.rename, style.delete and style.list, each with a family parameter.