Custom fonts in a GUI app

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 3 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
apra0904
Posts: 1
Last visit: Tue Jan 11, 2022 11:55 pm

Custom fonts in a GUI app

Post by apra0904 »

Hi,

what is the correct process to incorporate a custom font in a GUI , exe package. So that when the end user runs the exe the gui shows the custom font and not revert back to some standard microsoft font. My thoughts on this was to include the custom font as a file in the exe/MSI package and have a few lines of code to install the font on the end users PC during the execution of the exe or msi package. Not sure if this would be the ideal way to do this, or if Powershell Studio has a better way to do this.

Thank you.
This topic is 3 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked