Jump to content
LarryO

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

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.

×
×
  • Create New...