I have a stencil where all the shapes use Comic Sans, however when I drop a shape on the canvas that is changed to Calibri. In fact i don't want Comic Sans so I changed one of the master shapes to use another typeface but it still is not honoured. Do I need to add some sort of 'guard action in the shape sheet?
Thank you.
is comic sans installed on the system (system using the stencil is different from system creating the stencil)?
yes, and i can change manually. It's just when first dropped it does this.
Yes, you can use one of these font properties (https://shapesheet-kb.github.io/en/pages/categories/Fonts.htm).
For example:
Guard(Font("Tahoma"))
As far as I know, "GUARD" protects things only from user changes. I.e. it will not allow user to modify the font.
I doubt it can stop Visio from doing whatever it wants to do.
I would try to investigate, why the font is "automatically changed" when you drop a shape. This does not happen normally.
Maybe you have a theme selected that enforces "Calibri" for all shapes that do not support theming?
guard also seems to make sure visio uses the formula included.
shape.1!pinx = 20mm
shape.2!pinx = shape.1!pinx + 10mm = 1733 mm // and oh by the way, it seems to trash multiple pages in the file
// took 60 minutes to get it back to operational
shape.2!pinx = guard(shape.1!pinx + 10mm) = 30mm // all worked as expected...I usually do it this way but forget on
//on one child shape...launch codes issued, planet destroyed ;-)
RE fonts: Please check the font desired is installed in the system
before I think 2010, font was time to a relative index number for all fonts in the system
(my font =12 might be arieal...but your font = 12 might be Calabria)
afet 2010, fonts were some sort of absolute index....so if your font is not in target system, not sure what it does
@Nikolay, do you remember this thread (https://www.translatetheweb.com/?ref=TVert&from=&to=en&a=https%3A%2F%2Fvisio.getbb.ru%2Fviewtopic.php%3Ff%3D3%26t%3D1362%26p%3D12468) in Russian Visio forum ?
But there user had problem with change font from Arial (default font before Visio 2007) to Calibri (after 2007)