ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Font functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The following functions are used to manage fonts (drawing fonts, print fonts, etc.):
dFontDeclares the font to be used by the dText function:
  • in an Image control,
  • in an Image variable,
  • in a WDPic variable (on the background layer),
  • in a picLayer variable.
FontCreateCreates a font definition.
FontListReturns the list of valid fonts installed on the current computer (TrueType, Postscript, ...).
New in SaaS
FontLoad
Loads a custom font from a file (or buffer). After loading, the fonts and variants declared by the file will be available throughout the application.
This new function is available from WINDEV Suite SaaS 2025 Update 1.
FontSelectOpens the standard Windows font selection window by selecting the specified font.
New in SaaS
FontUnload
Unloads a font previously loaded with FontLoad.
This new function is available from WINDEV Suite SaaS 2025 Update 1.
gFontBuilds a sequence of characters describing the font that will be used for the text.
gFontBoldBuilds a sequence of characters used to specify whether the text that follows the call to this function is in bold or not.
gFontItalicBuilds a sequence of characters used to specify whether or not the text that follows the call to this function is in italic type.
gFontSizeBuilds a sequence of characters used to specify the size of the font for a text found in a graphic string.
gFontUnderlinedBuilds a sequence of characters to specify whether or not the text that follows the call to this function is underlined.
grAxisTitleFontModifies the font used for the titles of the chart axes.
grLabelFontModifies the font used for the category labels of a chart.
grLegendFontModifies the font used for the chart legend.
grTitleFontModifies the font used for the chart title.
iCreateFontCreates a new print font.
iDidotFontSelects the unit to be used for font height (created with function iCreateFont): DIDOT point or PICA point.
iFontSelects the default font.
iSelectFontCreates a new print font from the standard Windows font selection window...
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/13/2025

Send a report | Local help