Bug #140 - script command GetFont('Default') returns null list
Product:PageStream 5.0.3.4 (All Platforms)Reported By:Tim Doty
Severity:NormalAssigned To:Deron Kazmaier
Priority:Average sign in to watch (1 is watching)
Status:Fixed in 5.0.4.5Reported:2007-03-04 20:17:00
Category:ScriptingUpdated:2007-03-04 20:17:00
Summary:script command GetFont('Default') returns null list
Keywords:GetFont
Attached Files:No files attached.
 Sign In to add a file.

GetFont('Default') returns an empty list instead of the default font. More precisely:

>>> print GetFont('Default')
{'.error': 1, '.result': ''}

It does not matter whether or not a document is open

Deron Kazmaier wrote...2009-03-02 23:56:46

This was fixed in 5.0.4.5 but not closed. This was broken in GetFont, GetTypeSize, GetTypeWidth, and GetBaseline commands. Tested in 5.0.4.41 as working.

[Status updated to 'Fixed in 5.0.4.5' on Mon, 02 Mar 2009 23:56:46 -0500]

Add a Comment
Sign in to add a comment.

Bug #140 - script command GetFont('Default') returns null list by Tim Doty   GetFont
  created:2007-03-04 20:17:00   last updated:2007-03-04 20:17:00
  Copyright © 1985-2024 GrasshopperLLC. All Rights Reserved.


sign in to add a bug