01-08-2008 03:15 AM
01-08-2008 08:28 AM
01-08-2008 08:34 AM
Hello Ian,
I have no information about the settings on these machines. I assume that NI Dialog doesn't map to the MS Sans Serif font. I'm probably just going to use this font directly instead of using the NIDialog font, and put the font in the installer.
01-08-2008 09:00 AM
02-03-2017 09:44 AM
You do not need to install the fonts on Windows, for using it in your application.
You can copy the font file during the installation of your program in a sub-folder, such as "\\fonts".
In main () you must add the SDK function (you must also include the library "gdi32.lib")
#include "windows.h"
AddFontResource ("fonts\\xxxxxxxx.ttf");
This allows you to use the fonts without installing it in Windows, for the duration of the user's login session.
It works even if you logged in as a standard user.
Fabrizio