Choose a Font for a Text Layout Configuration

In RegexBuddy, you choose fonts by adding them to a text layout configuration. You can select these on Editors tab in the Preferences and configure them via the button there. While editing a text layout configuration, click the Add Font button to get the dialog box shown below. This font selection dialog is specifically designed to help you select the font(s) you need to display all the characters in your text. The options may seem a little daunting, but they actually make the selection process much quicker because they can filter out irrelevant fonts.

Choose a Font for a Text Layout Configuration

Tick “allow only monospaced fonts” to see only monospaced fonts. Fonts that have different widths for the plain and bold variants are still considered monospaced by this option.

Tick “allow only fonts that can dipslay certain characters” to reduce the list of fonts to those that you could actually use to display the text you’re working with.

Select the font you want in the list of fonts. Fonts indicated with (already selected) are already in your text layout configuration. You can still select them. Doing so changes its order in the font list in the text layout configuration.

Most fonts are actually font families with fonts of different weights and/or with italic or oblique styles. The weight and style that you select only applies to that specific font. A text layout configuration can use fonts of different weights and styles. If you want to change the weight or style of a particular font, add the same font to the text layout configuration, selecting the new weight or style that you want. Doing so updates the font in the text layout configuration with the newly selected weight and style.

RegexBuddy’s color palettes allow syntax coloring to make parts of your text bold and/or italic. When a palette wants to make text bold, RegexBuddy uses a heavier weight of the font. It tries to use the same gap between a typical “regular” weight and a typical “bold” weight. But it is obviously limited to the weights the font actually provides. If you select Segoe UI Light as your font then the palette uses Segui UI Semibold as the “bold” weight. If you select Segoe UI Bold as your font then the “bold” weight becomes Segoe UI Black. If you select Segoe UI Black then the palette loses the ability to make text bold, because Segoe UI does not have a heavier variant.

When a palette makes text italic, it toggles the slanting of the text. If you select Segoe UI Regular as your font then Segoe UI Italic becomes the “italic” variant. But if you select Segoe UI Italic as your font then Segoe UI Regular becomes the “italic” variant for the color palette.

The checkbox labeled “display with all fonts in the text layout” determines how your selected font is previewed. If you tick the box then the preview shows how the full text layout configuration handles the sample text after the chosen font is added to the list. This may not make a significant difference if the font is added at the bottom of the list since then the other fonts take precedence. If you untick the box then the preview shows how the text layout configuration would handle the sample text if it were to use only the chosen font. This can make it easier to see exactly which part of your sample text the font can display and what it really looks like, which can help you decide whether to put that font higher or lower in the list of fonts in the text layout configuration.

To actually add the font to the text layout configuration, click the OK button. This closes the dialog. The font is inserted below the font that was selected before you clicked the Add Font button in the text layout configuration window. If the font was already in the list then it is moved to that position.