DDgui Programmers Reference Guide by Nicholas J. Kingsley - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

DDgui_UpdateFont: bWantKerning%

    [, iPixelsSpaceBetweenLettersIfKerning%=2]

 

Enable or disabling proportional fonts

 

Example :

 

DDgui_UpdateFont(TRUE)

 

Result :

 

This command enables or disables proportion fonts.  These type of fonts look nicer, but as each character can take up a different amount of space, aligning words to a specific position could be a problem.

 

In V9.052 onwards, the second parameter is not used and has been left in to remain compatible with previous versions of Ddgui.