mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-16 14:17:14 +00:00
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:
@@ -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",
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user