Confluence macro specifying font and special character?

Robert Lauriston
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2015

I use ⋮ (U+22EE) in my Confluence content, but it is not supported by the fonts I use with Scroll PDF Exporter, and I don't want to change the default font to any of the ones that include that glyph. Is there some way to wrap it in a macro that will specify the font?

3 answers

0 votes
Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2015

Hi Robert,

This will help: https://confluence.atlassian.com/display/DOC/Writing+User+Macros

And as a macro content (template) you will need to put

## @noparams
<span style="font-family: EversonMono;">⋮</span>
Robert Lauriston
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2015

The ⋮ does not appear in the PDF.

Alex Medved _ConfiForms_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2015

that is because EversonMono font does not get embedded into the pdf, but this is another story

Robert Lauriston
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 20, 2015

EversonMono is installed in the Scroll PDF Exporter template. PDF export is the issue here. The ⋮ character appears fine in Confluence.

0 votes
Robert Lauriston
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 18, 2015

I don't understand how to translate that into a macro and Atlassian's docs are not helpful. All I really want is this: <span style="font-family: EversonMono;">⋮</span>

0 votes
Steven F Behnke
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2015

Sure is! Do you know the font or the source of the font? The user macro will be something like: {code} ##@param Content|title=User supplied content|Textbox <span style="font-family: WorkingFont;">$paramContent</span> {code} The content MUST use a parameter and not the body to remain INLINE.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events