10-03-2009 12:43 PM
LabVIEW 8.6.1 - Windows Vista and XP.
I'm trying to make a report page that either gets printed or sent to PNG file (user choice).
The PAGE TITLE is set to 48 pt Georgia, because I think it looks nice.
The rest of it is set to 24 pt Application font (the image will get shrunken as it's printing).
The data itself is bold, units are in italics, the labels are plain, but it's all 24-pt app font.
The first pic below is how it looks on my machine (screen cap). I diddled with it to get it to look nice.
My client notices the print looks wonky. Even the PNG file looks wonky. He opens up the source code and it looks wonky (like the second pic).
The font is bigger and bolder all the way around.
We've confirmed that he is NOT using the LARGE FONTS Windows setting (neither do I).
Given that the PAGE TITLE is 100% identical, and since that is a specified font face, then I have to believe that his APPLICATION font is set differently from mine.
Is that a reasonable assumption?
I don't even know what mine is set to - the FONTS option box is not smart enough to tell me what it is set to now, so I can't tell him to set it to "X".
QUESTIONS:
1... I learned what little I know about fonts on the Mac, where a 15-point font is a 15-point font. On Windows, the 15-pts has only the vaguest connection to the real size of it.
On a page where physical layout and spacing is important, should I specify a particular font-face and size and forget the "application" font setting?
2... How do I learn what my "application font" is set to?
3... If I build an app (EXE) using 37-pt Martian bold, does the font get built into the app? Or does the app look in the running system for 37 pt Martian and substitute Venusian if it can't find it?
4... What is the "application font" setting for an EXE app? Is that in the app's INI file?
5... How else do I make the thing look the same here, there and yonder?
Blog for (mostly LabVIEW) programmers: Tips And Tricks
10-03-2009 08:22 PM
Compare your LabVIEW.ini files. And if this is an exe file, compare any .ini file that has the same base name as your exe. So MyApp.exe would have a MyApp.ini file.
Also look at these links
http://forums.ni.com/ni/board/message?board.id=170&message.id=419228&query.id=291181#M419228
http://forums.ni.com/ni/board/message?board.id=170&message.id=90687&query.id=291181#M90687