Placeholder in compiled PDF has wrong font

I just updated from Scrivener 2 to Scrivener 3, and I imported all my compile presets.

For my PDF preset, I am using the <$t> placeholder in the Section Layout for my chapter titles, and for some reason it compiles in the Lucida Grande font instead of inheriting the same font as the surrounding text.

I suspect that this is due to the weird font that I am using, although this was not an issue in Scrivener 2.

What does the formatting tab show? Does the preview have the right font applied to “One” / the placeholder tag? And if you try compiling to Word or RTF or PDF using a built-in format, does the font compile correctly or not?

Slàinte mhòr.

Thanks for the quick response! I forgot to check the notify option, so I didn’t realize you had replied.

The preview on the Formatting tab shows the chapter number in the correct font, as does the preview in the Section Layouts panel. (Screenshots attached)

The font issue also shows up in my Web Page format, which wraps the chapter number in a span with this CSS…

span.s6 {font: 14.0px 'Lucida Grande'}

…creating the same basic effect.

My EPUB2 format wraps the chapter number in a span with this CSS…

span.s1 {font-size: 117%}

…which causes the chapter number to have the correct font, but slightly larger than it should be.

I’m not sure what you meant by compiling with a “built-in” format. All of the options I see under “Scrivener Formats” appear to override layouts with their own fonts.


What’s the font you are using there? I’d like to try to reproduce the issue.


The font is Lumos.

Thanks. I’ve looked into this and the problem is that the Lumos font does not contain any symbols, so the “<” in the <$t> tag you are using for chapter numbering ends up using the system font, and that becomes the font of the entire replacement. I have added some code to work around this in title prefixes and suffixes for the next update, so that your titles will look fine, but in general I would recommend using a more comprehensive font.

All the best,