If I want to fill the ToC
line between items and page numbers with dots I use
tocItemMarkup = \tocItemWithDotsMarkup
If I want to change the font used for ToC items, including the
font used for the page numbers, I use something like
tocItemMarkup = \markup \override
#'(font-name . "Spectrum MT SC") {
\fill-line { \fromproperty #'toc:text \fromproperty #'toc:page }
But I haven't been able to find how to combine the two, to get
both the dots and also to override the font used for the page
numbers? In the following, for example, I can override the font
used for each tocItem, but the page numbers are still in the
default font.
tocItemMarkup = \markup
\override #'(font-name . "SpectrumMT SC") \fill-with-pattern #1
#RIGHT .