• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

bVisual

  • Home
  • Services
    • How Visio smartness can help your business
    • Visio visual in Power BI
    • Visio Consulting Services
    • Visio Bureau Services
    • Visio Training and Support Services
  • Products
    • Visio Shape Report Converter
    • SS Plus
    • LayerManager
    • visViewer
    • Metro Icons
    • Rules Tools for Visio
    • The Visio 2010 Sessions App
    • Multi-Language Text for Visio
    • Document Imager for Visio
    • multiSelect for Visio
    • pdSelect for Visio
  • Case Studies
    • Case studies overview
    • Using Visio in Education for GIS
    • Visualizing Construction Project Schedules
    • Visio Online Business Process Mapping
    • Nexans Visio Template
    • CNEE Projects, WorldCom
    • Chase Manhattan Bank
  • News
    • Recent news
    • News archive
  • Resources
    • Articles➡
      • ShapeSheet Functions A-Z
      • Comparing Visio for the Web and Desktop
      • Customising Visio Shapes for the Web App
      • Key differences between the Visio desktop and web apps
      • Using the Visio Data Visualizer in Excel
      • Using Visio in Teams
      • Creating Visio Tabs and Apps for Teams with SharePoint Framework (SPFx)
      • Designing Power Automate Flows with Microsoft Visio
      • Innovative uses of Visio Lists
    • Webcasts ➡
      • Visio in Organizations
      • My session and other Visio sessions at MSIgnite 2019
      • Power up your Visio diagrams
      • Vision up your Visio diagrams
      • The Visio 2010 MVP Sessions
    • Visio Web Learning Resources
    • Books➡
      • Visualize Complex Processes with Microsoft Visio
      • Mastering Data Visualization with Microsoft Visio
      • Microsoft Visio Business Process Diagramming and Validation
      • Visualizing Information with Microsoft Visio
  • Blog
    • Browse blog articles
    • Visio Power BI articles
    • Visio for Web articles
    • A history of messaging and encryption
  • About us
    • About bVisual
    • Testimonials
    • Bio of David Parker
    • Contact Us
    • Website Privacy Policy
    • Website terms and conditions
    • Ariba Network
You are here: Home / Visio / Visio 2016 / More about Visio document fonts

Published on July 15, 2016 by David Parker

More about Visio document fonts

Back in 2007, I wrote an article about Visio Document fonts ( see Displaying Document Fonts ), but I did not notice the importance of the screenshot that shows the fonts with the IDs from 10 through to 20, and a few others. These fonts were not installed, and had been substituted by Calibri. So, I have now written some code, this time in C#, that lists all of the Visio document fonts, and indicates if they are installed in Windows.
I use LINQPad for a lot of these ad-hoc queries now, rather than VBA, so please visit my fellow Visio MVPS blog at Getting Started With C# in LINQPad with Visio to find out more about this.

I imported the following namespaces:

System.Drawing
System.Drawing.Text
Visio=Microsoft.Office.Interop.Visio

First, I created a simple class, DocFont:

public class DocFont
{
 public int ID { get; set;}
 public string Name { get; set;}
 public short CharSet { get; set;}
 public bool Installed { get; set;}
}

Then I created the Main():

void Main()
{
 var vApp = MyExtensions.GetRunningVisio();
 if (vApp.ActiveDocument == null) return;
 Visio.Document doc = vApp.ActiveDocument;
 if (doc == null) return;
 FontFamily[] fontFamilies;
 InstalledFontCollection installedFontCollection = new InstalledFontCollection();
 // Get the array of FontFamily objects.
 fontFamilies = installedFontCollection.Families;
 List<DocFont> fonts = new List<UserQuery.DocFont>();
 foreach (Visio.Font fnt in doc.Fonts)
 {
  fonts.Add(new DocFont() {
   ID=fnt.ID,
   CharSet=fnt.CharSet,
   Name=fnt.Name,
   Installed= fontFamilies.Any(f => f.Name.Equals(fnt.Name) )
   });
 }
 foreach (FontFamily fnt in fontFamilies)
 {
  if (!fonts.Any(f => f.Name.Equals(fnt.Name) == false))
     {
   fonts.Add(new DocFont()
   {
    Name = fnt.Name,
    Installed = true
   });
  }
 }
 fonts.OrderBy(f => f.Name).Dump("Visio document fonts");
}

This produces a table like this:

Visio document fonts
5IOrderedEnumerable<DocFont> (282 items)4
IDNameCharSetInstalled
24Agency FB0True
25Algerian0True
26Andy0True
21Arial0True
27Arial Black0True
28Arial Narrow0True
29Arial Rounded MT Bold0True
1Arial Unicode MS0True
30Arvo0True
31Baskerville Old Face0True
32Bauhaus 930True
33Bell MT0True
34Berlin Sans FB0True
35Berlin Sans FB Demi0True
36Bernard MT Condensed0True
37Blackadder ITC0True
38Bodoni MT0True
39Bodoni MT Black0True
40Bodoni MT Condensed0True
41Bodoni MT Poster Compressed0True
42Book Antiqua0True
43Bookman Old Style0True
44Bookshelf Symbol 72True
45Bradley Hand ITC0True
46Britannic Bold0True
47Broadway0True
48Brush Script MT0True
49Buxton Sketch0True
4Calibri0True
50Calibri Light0True
51Californian FB0True
52Calisto MT0True
53Cambria0True
54Cambria Math0True
55Candara0True
56Castellar0True
57Centaur0True
58Century0True
59Century Gothic0True
60Century Schoolbook0True
61Chiller0True
62Colonna MT0True
63Comic Sans MS0True
64Consolas0True
65Constantia0True
66Cooper Black0True
67Copperplate Gothic Bold0True
68Copperplate Gothic Light0True
69Corbel0True
20Cordia New0False
70Courier New0True
71Curlz MT0True
72DengXian0True
17Dhenu0False
8Dotum0False
73Droid Serif0True
74Ebrima0True
75Edwardian Script ITC0True
76Elephant0True
77Engravers MT0True
78Eras Bold ITC0True
79Eras Demi ITC0True
80Eras Light ITC0True
81Eras Medium ITC0True
10Estrangelo Edessa0False
82Felix Titling0True
83Footlight MT Light0True
84Forte0True
85Franklin Gothic Book0True
86Franklin Gothic Demi0True
87Franklin Gothic Demi Cond0True
88Franklin Gothic Heavy0True
89Franklin Gothic Medium0True
90Franklin Gothic Medium Cond0True
91Freestyle Script0True
92French Script MT0True
93Gabriola0True
94Gadugi0True
95Garamond0True
19Gautami0False
96Georgia0True
97Gigi0True
98Gill Sans MT0True
99Gill Sans MT Condensed0True
100Gill Sans MT Ext Condensed Bold0True
101Gill Sans Ultra Bold0True
102Gill Sans Ultra Bold Condensed0True
103Gloucester MT Extra Condensed0True
104Goudy Old Style0True
105Goudy Stout0True
125Haettenschweiler0True
126Harlow Solid Italic0True
127Harrington0True
106HGHeiseiKakugothictaiW3128True
107HGHeiseiKakugothictaiW5128True
108HGHeiseiKakugothictaiW9128True
109HGHeiseiMinchotaiW3128True
110HGHeiseiMinchotaiW9128True
111HGMinchoL128True
112HGPHeiseiKakugothictaiW3128True
113HGPHeiseiKakugothictaiW5128True
114HGPHeiseiKakugothictaiW9128True
115HGPHeiseiMinchotaiW3128True
116HGPHeiseiMinchotaiW9128True
117HGPMinchoL128True
118HGSHeiseiKakugothictaiW3128True
119HGSHeiseiKakugothictaiW5128True
120HGSHeiseiKakugothictaiW9128True
121HGSHeiseiMinchotaiW3128True
122HGSHeiseiMinchotaiW9128True
123HGSMinchoL128True
128High Tower Text0True
124HYSWLongFangSong134True
129Impact0True
130Imprint MT Shadow0True
131Indie Flower0True
132Informal Roman0True
133Javanese Text0True
134Jing Jing0True
135Jokerman0True
136Juice ITC0True
137Kootenay0True
138Kristen ITC0True
139Kunstler Script0True
18Latha0False
140Leelawadee0True
141Leelawadee UI0True
142Leelawadee UI Semilight0True
143Lindsey0True
144Lobster0True
145Lucida Bright0True
146Lucida Calligraphy0True
147Lucida Console0True
148Lucida Fax0True
149Lucida Handwriting0True
150Lucida Sans0True
151Lucida Sans Typewriter0True
152Lucida Sans Unicode0True
160Magneto0True
161Maiandra GD0True
22Malgun Gothic0True
162Malgun Gothic Semilight0True
13Mangal0False
163Marlett2True
164Matura MT Script Capitals0True
165Microsoft Himalaya0True
166Microsoft JhengHei0True
167Microsoft JhengHei Light0True
168Microsoft JhengHei UI0True
169Microsoft JhengHei UI Light0True
170Microsoft MHei0True
171Microsoft NeoGothic0True
172Microsoft New Tai Lue0True
173Microsoft PhagsPa0True
174Microsoft Sans Serif0True
175Microsoft Tai Le0True
176Microsoft Uighur0True
177Microsoft YaHei0True
178Microsoft YaHei Light0True
179Microsoft YaHei UI0True
180Microsoft YaHei UI Light0True
181Microsoft Yi Baiti0True
183MingLiU_HKSCS-ExtB0True
182MingLiU-ExtB0True
184Miramonte0True
185Mistral0True
186Modern No. 200True
187Moire0True
188Moire ExtraBold0True
189Moire Light0True
190Mongolian Baiti0True
191Monotype Corsiva0True
192Motorwerk0True
153MS Gothic0True
154MS Outlook2True
7MS PGothic0True
155MS Reference Sans Serif0True
156MS Reference Specialty2True
157MS UI Gothic0True
158MT Extra2True
159MV Boli0True
193Myanmar Text0True
195News Gothic0True
196Niagara Engraved0True
197Niagara Solid0True
198Nirmala UI0True
199Nirmala UI Semilight0True
194NSimSun0True
200OCR A Extended0True
201Old English Text MT0True
202Onyx0True
203Open Sans0True
205Palace Script MT0True
206Palatino Linotype0True
207Papyrus0True
208Parchment0True
209Pericles0True
210Pericles Light0True
211Perpetua0True
212Perpetua Titling MT0True
213Pescadero0True
214Playbill0True
6PMingLiU0False
204PMingLiU-ExtB0True
215Poiret One0True
216Poor Richard0True
217Pristina0True
218Quartz MS0True
16Raavi0False
219Rage Italic0True
220Raleway0True
221Ravie0True
222Roboto0True
223Roboto Condensed0True
224Roboto Slab0True
225Rockwell0True
226Rockwell Condensed0True
227Rockwell Extra Bold0True
229Script MT Bold0True
230Segoe Keycaps0True
232Segoe Marker0True
231Segoe MDL2 Assets0True
233Segoe Print0True
234Segoe Script0True
235Segoe UI0True
236Segoe UI Black0True
237Segoe UI Emoji0True
238Segoe UI Historic0True
239Segoe UI Light0True
240Segoe UI Mono0True
241Segoe UI Semibold0True
242Segoe UI Semilight0True
243Segoe UI Symbol0True
244Segoe WP0True
245Segoe WP Black0True
246Segoe WP Light0True
248Segoe WP Semibold0True
247Segoe WP SemiLight0True
15Sendnya0False
249Showcard Gothic0True
12Shruti0False
5SimSun0True
250SimSun-ExtB0True
251Sitka Banner0True
252Sitka Display0True
253Sitka Heading0True
254Sitka Small0True
255Sitka Subheading0True
256Sitka Text0True
257SketchFlow Print0True
258Snap ITC0True
259Stencil0True
228SWGamekeys MT2True
282SWMacro0False
9Sylfaen0True
2Symbol2True
260Tahoma0True
261Tempus Sans ITC0True
23Times New Roman0True
262Trebuchet MS0True
14Tunga0False
263Tw Cen MT0True
264Tw Cen MT Condensed0True
265Tw Cen MT Condensed Extra Bold0True
266Verdana0True
267Viner Hand ITC0True
268Vivaldi0True
269Vladimir Script0True
11Vrinda0False
270Wasco Sans0True
271Webdings2True
272Wide Latin0True
3Wingdings2True
273Wingdings 22True
274Wingdings 32True
275Yu Gothic0True
276Yu Gothic Light0True
277Yu Gothic Medium0True
278Yu Gothic UI0True
279Yu Gothic UI Light0True
280Yu Gothic UI Semibold0True
281Yu Gothic UI Semilight0True

By the way, I tested exporting a Visio document with all of the document fonts to SVG and PDF using Visio Pro for Office 365. They all rendered fine, apart from those fonts which are not installed in my English Windows 10.
I have asked Microsoft why Visio documents include the names of fonts that are not normally installed by Windows. I have not had an answer yet ….
 
 
 

Related

Filed Under: Visio 2016

About David Parker

David Parker has 25 years' experience of providing data visualization solutions to companies around the globe. He is a Microsoft MVP and Visio expert.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

  • LinkedIn
  • Twitter

Recent Posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Categories

Tags

Accessibility Add-Ins Connectors Containers Data Export Data Graphics Data Import Data Visualizer Educational Excel GraphDatabase Hyperlinks Icon Sets JavaScript LayerManager Layers Legend Link Data to Shapes Lists MSIgnite MVP Office365 Org Chart PowerApps PowerBI PowerQuery Processes Setup and Deployment Shape Data Shape Design ShapeSheet ShapeSheet Functions SharePoint 2013 SQL Teams Validation VBA Video Visio Visio 2007 Visio for the Web Visio Online Visio Services Visio Viewer Webinar

Footer

bVisual Profile

The UK-based independent Visio consultancy with a worldwide reach. We have over 25 years experience of providing data visualization solutions to companies around the globe.

Learn more about bVisual

  • Amazon
  • E-mail
  • Facebook
  • LinkedIn
  • Twitter
  • YouTube

Search this website

Recent posts

  • Fixing dimensions of 2D shapes
  • Merging Linked Data from Similar Tables
  • Smart Radio Buttons and Check Boxes in Visio
  • Using Button Face Ids in Visio
  • Grid Snapping Revisited

Copyright © 2025 · Executive Pro on Genesis Framework · WordPress · Log in