Jump to content
Developer Wiki and Function Reference Links Read more... ×

get default font

Recommended Posts

Is there a procedure that returns the font id or name of the current default setting?

Or does everyone simply create a piece of text and check the font of what was created?

When checking for an installed font such as Wingdings or Arial Unicode MS will the procedure GetFontID return nil if it is not installed?


The Arial font installed on Windows 10 platforms is incomplete compared to the Mac and doesn't print tick/check marks and boxes with check marks and some other useful glyphs.

Share this post

Link to post

GetPrefString(100);  will return the name of the currently active font in a document.


GetFontID returns -1 when the font names is not installed.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.