Trace Fonts For Text Styles

Version 01.07.00
Added 20 Aug 2020 (last updated 06 Sep 2020)

For use with Sibelius 7.5, Sibelius 8.x, Sibelius 18.x, Sibelius 19.x, Sibelius 20.x, Sibelius 21.x, Sibelius 22.x, Sibelius 23.x and Sibelius 24.x

Original version 20 August 2020. Version 01.06.00. Writes, to the plugin Trace window, the initial font name and font size for a set of built-in text styles in the current score.

A plugin can call API_TraceTextStyleFonts(score, fTraceFonts), and will get back an array of the strings that would be traced, with blank lines and header lines removed. Setting fTraceFont False will keep the plugin from writing the data to the trace window.

This plugin is only possible because Daniel Spreadbury added some ManuScript calls at the very end of 7.1.2. They did not get into the build, and were forgotten until I recently checked to see if they were built into later versions, and they did get added into Sibelius 7.5 and later.

Thanks to Daniel and to the Sib developers who made the code changes go through.

Updated 5 September 2020. Version 01.07.00. Added the ability to trace user-defined Text Styles that are used in objects created in the current score, as well as built-in styles from a list.

Plug-in written by Bob Zawalich.