Visio Guy

Visio Discussions => General Visio => Topic started by: larryg on April 20, 2022, 01:23:25 PM

Title: "Smart Scale" fonts
Post by: larryg on April 20, 2022, 01:23:25 PM
Quite a while ago, someone posted an updated graphic drawing scale smart shape, similar to the "scale symbol" in the walls, shell and structure" stencil, but one that actually was useable for architectural drawings.  Only issue I'm having is the size of the fonts is not sizeable and wondering if anyone was familiar with this shape and could offer some guidance.

thanks,

Larlry
Title: Re: "Smart Scale" fonts
Post by: Yacine on April 20, 2022, 01:25:26 PM
Can you upload it?
Title: Re: "Smart Scale" fonts
Post by: Surrogate on April 21, 2022, 10:32:44 AM
Quote from: larryg on April 20, 2022, 01:23:25 PMarchitectural drawings
in Visio ? You dont kidding ?
Title: Re: "Smart Scale" fonts
Post by: Yacine on April 21, 2022, 12:05:09 PM
Quote from: Surrogate on April 21, 2022, 10:32:44 AM
Quote from: larryg on April 20, 2022, 01:23:25 PMarchitectural drawings
in Visio ? You dont kidding ?

Not really, fonts can be sized by "mm" numbers, but I still have no clue of what the O.C. means.
Title: Re: "Smart Scale" fonts
Post by: vojo on April 21, 2022, 12:30:42 PM
One trick from circa 2005

in shape sheet

user.scale = width / 5mm
character size = 12pt * user.scale

this way if shape gets bigger, font increases....shape gets smaller font gets smaller
Title: Re: "Smart Scale" fonts
Post by: Visio Guy on April 21, 2022, 12:46:27 PM
Text Resizing with ShapeSheet Formulas (http://www.visguy.com/2007/08/21/text-resizing-with-shapesheet-formulas/)
Resize Text With Metafiles! (http://www.visguy.com/2007/08/24/resize-text-with-metafiles/)

Casting Units in Visio's ShapeSheet (http://www.visguy.com/2006/10/03/casting-units-in-visios-shapesheet/)
Title: Re: "Smart Scale" fonts
Post by: Surrogate on April 21, 2022, 12:50:11 PM
Quote from: Yacine on April 21, 2022, 12:05:09 PMfonts can be sized by "mm" numbers
Of course you can set font size in "mm" via MS Visio user interface, but real font height not correspond these settings.
(http://indians.ru/fig/a-font-sizes/font-sizes-large.gif)
Different fonts have different equalents:
|2,5 mm|3,5 mm|5 mm|7 mm
ISOCPEUR|11pt|15pt|22pt|31pt
Arial|10pt|14pt|20pt|28pt
Times New Roman|10,5pt|15pt|21pt|29pt
Title: Re: "Smart Scale" fonts
Post by: wapperdude on April 21, 2022, 03:38:42 PM
Similar to what Vojo indicates...
1) Create a User-defined Cell, call it User.AntiScale, but set its value = ThePage!PageScale/ThePage!DrawingScale

2) Set the Character Size value = GUARD(12 pt*User.AntiScale*Width/4.75)  Adjust the initial size, 12 pt, or the width factor, 4.75, to get the desired beginning size and the amount of variation with shape resizing.