The Typography Toolbar Extension for LibreOffice
Off the Beat: Bruce Byfield's Blog
LibreOffice Writer is not actually a word processor -- it is more of an intermediate desktop publisher. Thanks to features such as page and list styles, you can design in Writer with much greater precision and ease than in Microsoft Office or Abiword. However, it lacks several features that would make it an advanced publisher, which is where the Typography Toolbar extension comes in.
As with other extensions, you can install the Typography Toolbar from Tools -> Extension Manager. The next time you re-start LibreOffice, the toolbar is listed in View -> Toolbars, currently lacking the penultimate "h" but all the same opening down the left side of the editing window. With 36 features, it forces you to scroll to see everything that's available, so you might want to drag it to the top or bottom of the window, or, better yet, undock it and resize the floating window so that it displays in two columns.
The Typography Toolbar is designed to work with Graphite-aware fonts. Graphite is a smart font technology -- that is, intended to make advanced typography features easier to use.
LibreOffice supports Graphite, but relatively few Graphite-enabled fonts are available. The three most widely-used are Gentium Plus; Linux Libertine G, a metrical replacement for Times Roman, and Biolinum G, a sans serif similar to Helvetica or Arial but with somewhat more tightly spaced characters.
All three of these fonts are also available in versions that are not Graphite-enable. A Gentium Basic is in widespread use, and both Linux Libertine and Biolinum have non-Graphite versions, which have the same name except for ending in an O. If you have any of these non-Graphite versions installed, you can delete them in favor of the Graphite-enabled versions; there is no advantage to keeping two versions, and telling the versions apart can be difficult in LibreOffice's narrow fields and drop-down lists.
Why you should use it
Besides punctiliousness, why should you care about Graphite features? Often, as with ligatures -- redesigned versions of letter combinations with awkward spacing, such as "ff" or "st" -- or an en dash, using the Typography Toolbar is simply quicker and more convenient than selecting Insert -> Special Character and scanning the rows and columns to find the character you want.
In other cases, the answer is consistency. LibreOffice is often at a loss about how to handle fonts with old style figures and small caps, in some cases using them by default, and in others listing them as separate weights of the font family. Not only is the inconsistency confusing, but, in the case of small caps, only they may available, but not the regular or Roman weight.
In still other cases, LibreOffice can cobble together an approximation of a proper character, such as a superscript, subscript or small cap, just as other word processors and publishers do. However, these makeshift substitutions rarely match the design of the font as well as the same characters that are part of the font design. Using the Typography Toolbar, you can use the features that are built-in to the metrics of the font, adding a small but definite improvement to the look of your document.
In addition, the Typography Toolbar also includes some features not found in LibreOffice. One such feature aligns the bottom of a page of text with footnotes by adjusting the vertical margins. Others reduce especially large spaces between words in fully justified text in favor extra spacing between words and can be applied as a finishing touch, or toggle a TeX mode for extra precision.
Applying features
The Typography Toolbar is set up for both manual and style-based formatting.
To manually apply a feature, highlight a section of text, then click the appropriate button on the toolbar. The highlighted text is only changed.
Alternatively (and more efficiently), you can make using the feature part of a character or paragraph style. The quickest way to do so is manually apply a feature, then select the update button while you are using the Default button. With a few minutes' work, you will have made all the changes you want.
However, if you prefer, you can enter the features you want directly into the Family field on the Font tab for styles, after the general name. For example, adjusting the Familyl field to read:
Linux Libertine G:smcp=1&onum=1
will set the current paragraph always to use small caps rather than regular capital letters, and old style figures. Notice that an ampersand (&) separates features, and that a "1" turns a feature on. If you want to disable a feature but not delete it altogether, all you would need is to change the 1 to zero. The Typography Toolbar's Help file gives a list of feature codes, as well as an example of the changes adding each feature results in.
Closing the last mile
Some users will find LibreOffice's built-in features are all they need. And fair enough -- the end of days will not descend on us if a two page memo that is recycled two minutes after it is read is not formatted to the highest standards.
However, for more permanent documents, or for those who want their work to be as polished as possible, the Typography Toolbar offers the finishing touches that LibreOffice lacks as installed. For such users, the extension fills a major gap in functionality.
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
First Release Candidate for Linux Kernel 6.14 Now Available
Linus Torvalds has officially released the first release candidate for kernel 6.14 and it includes over 500,000 lines of modified code, making for a small release.
-
System76 Refreshes Meerkat Mini PC
If you're looking for a small form factor PC powered by Linux, System76 has exactly what you need in the Meerkat mini PC.
-
Gnome 48 Alpha Ready for Testing
The latest Gnome desktop alpha is now available with plenty of new features and improvements.
-
Wine 10 Includes Plenty to Excite Users
With its latest release, Wine has the usual crop of bug fixes and improvements, along with some exciting new features.
-
Linux Kernel 6.13 Offers Improvements for AMD/Apple Users
The latest Linux kernel is now available, and it includes plenty of improvements, especially for those who use AMD or Apple-based systems.
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.