OpenDCL Forums

OpenDCL => Runtime/AutoLISP => Topic started by: velasquez on November 06, 2007, 10:26:42 AM

Title: ToolTip Font Drop List
Post by: velasquez on November 06, 2007, 10:26:42 AM
Hi Owen, 
Tooltip with the example of the font in the ComboBox style Font Drop List shown in the file.ODCL is not same to the editor. Should not it be? 
Excuse my English it is not good, I posted the images. 
Thanks

[attachment deleted by admin]
Title: Re: ToolTip Font Drop List
Post by: velasquez on November 26, 2007, 03:31:59 AM
Is an answer possible for this question? 
Thanks
Title: Re: ToolTip Font Drop List
Post by: owenwengerd on November 26, 2007, 06:45:24 AM
Quote from: velasquez on November 06, 2007, 10:26:42 AM
Tooltip with the example of the font in the ComboBox style Font Drop List shown in the file.ODCL is not same to the editor. Should not it be?

  There seems to be a discrepancy in the image used, but .shx fonts are not shown in the editor by design.  In your image of the editor font dropdown, RomanS is a TrueType font.  In a form displayed in AutoCAD, the font dropdown should include both the TrueType RomanS font (if it is installed), and the RomanS.shx font.  The .shx version is not rendered using the actual font (rendering a .shx font would require a custom font renderer).

Therefore, I think the only bug here is that the wrong image is displayed in the editor font dropdown for fonts derived from .shx fonts.  Please submit a bug report about this.
Title: Re: ToolTip Font Drop List
Post by: velasquez on November 29, 2007, 05:08:40 AM
I posted a report bug on this problem I didn't get to post there for this reason here the image this.

[attachment deleted by admin]
Title: Re: ToolTip Font Drop List
Post by: owenwengerd on November 30, 2007, 11:52:36 PM
The fact that .shx fonts are not rendered is not a bug -- that is by design. The bug is that the wrong icon is displayed in the editor's font dropdown for TrueType versions of the .shx fonts.
Title: Re: ToolTip Font Drop List
Post by: velasquez on December 01, 2007, 05:01:02 AM
Hi Owen, 
Please do excuse my ignorance the one what I don't understand the discrepancy it is among font dropdown in OpenDCL and the one what is shown in the command Style of AutoCAD, should not the same thing be?
Title: Re: ToolTip Font Drop List
Post by: dkh007 on December 02, 2007, 04:03:22 AM
QuoteTooltip with the example of the font in the ComboBox style Font Drop List shown in the file.ODCL is not same to the editor. Should not it be?
What Owen is saying is in AutoCAD, there is a part of the program that reads the SHX file and then renders (or draws) an exact representation of of the SHX file. In the code for OpenDCL, it does not have anything to render the SHX file. So it only echos the name using a font like Ariel, instead of using the SHX file. Does that help?
Title: Re: ToolTip Font Drop List
Post by: velasquez on December 11, 2007, 09:28:29 AM
Image of font dropdown in OpenDCL Studio 4.1.2.0

[attachment deleted by admin]