[Therion] labels with <> characters

Martin Budaj m.budaj at gmail.com
Fri Jan 30 21:58:57 CET 2009


On Fri, Jan 30, 2009 at 2:35 AM, Bruce Mutton
<bruce.mutton at paradise.net.nz> wrote:
> Is it possible to include the < or > characters in labels?
> My efforts produce only a dot, or get interpreted as part of a formatting
> keyword, such as <bf> etc.

The standard fonts used in Therion do not contain these characters.
The dot indicates all characters missing in the used fonts.

The latest snapshot contains new code which makes it easy to use new
fonts with unicode support (truetype and opentype). Just edit the
therion.ini file and add the lines:

otf2pfb off
pdf-fonts <rm> <it> <bf> <ss> <si>  # paths to fonts in five styles

Extract from the new docs: Set-up fonts to be used in PDF maps. The
command has to be followed by paths
specifying where regular, italic, bold, sans-serif and sans-serif
oblique fonts are located
in your system. TrueType and OpenType fonts are supported.
Therion requires LCDF Typetools to be installed on your system to use
this command.
Example:
pdf-fonts "/usr/share/fonts/Serif.ttf" \
"/usr/share/fonts/Serif-Italic.ttf" \
"/usr/share/fonts/Serif-Bold.ttf" \
"/usr/share/fonts/Sans.ttf" \
"/usr/share/fonts/Sans-Oblique.ttf"

(LCDF typetools are included in the Windows installer.)

Martin



More information about the Therion mailing list