Controlling GDI+ Features at Run Time
It is possible to specify, through a resource or an environment variable. if you want GDI+ to be used. The following table summarizes the possible values and the effect of each:
GDI+ Resources
Resource (.ini file) | Environment Variable | Value |
---|
UseGdiPlus | ILVUSEGDIPLUS | needed: GDI+ is used only when it is needed, for example, when transparency or anti-aliasing is required. This is the default. true: GDI+ is used each time it is possible. false: GDI+ is never used. |
UseGdiPlusPrinting | ILVUSEGDIPLUSPRINTING | false: GDI+ is not used for printing. By default, GDI+ is used for printing. |
For example, the following views.ini file sets GDI+ to be used each time it is possible:
[Views]
UseGdiPlus=true
Views Cairo integration does not support text rendering using gradients. In order for GDI+ to use identical rendering to Cairo, the GDI+ feature in Views is set, by default, not to use gradients for text renderings. To force Views to allow GDI+ text renderings using gradients, you can set the following resource or environment variable:
GDI+ Resource for text rendering
Resource (.ini file) | Environment Variable | Value |
---|
UseGradientText | ILVUSEGRADIENTTEXT | true: Allow the use of gradients to render text. |
Published date: 05/24/2022
Last modified date: 02/24/2022