Plug-ins: text.similarFonts is not callable from a plug-in

text.similarFonts lists every family text.fontList lists, the fonts
installed on the system included, so it joins the commands a plug-in may
not call, as text.fontList is. every_command_is_reviewed failed because
the command was in neither reviewed list.
This commit is contained in:
dotCooCoo
2026-11-15 17:07:34 -08:00
parent 3d5a8afdbb
commit 65feca6ba8
@@ -703,8 +703,9 @@ pub(super) const ALLOWED: &[&str] = &[
];
/// Commands a plug-in may not call although no rule refuses them, in order: they change the
/// preferences, a tool's options, a drag's state or the font names the whole app knows, run
/// plug-ins again, or read a file and report where it is on disk.
/// preferences, a tool's options, a drag's state or the font names the whole app knows, list the
/// fonts installed on the system as `text.fontList` does, run plug-ins again, or read a file and
/// report where it is on disk.
pub(super) const DENIED: &[&str] = &[
"addon.cleanup.splitText",
"addon.pathtools.movePointsTogether",
@@ -717,5 +718,6 @@ pub(super) const DENIED: &[&str] = &[
"object.pathfinder.options",
"stroke.arrowheads.edit",
"stroke.arrowheads.list",
"text.similarFonts",
"type.compositeFonts.set",
];