Font size in executable​s

I have been struggling somewhat to make my executables look the same way as my source code now, and managed in the end to sort this mess out, using the setttings in the ini-file etc. I have also experienced many times the last years that my source-code forgets my font-size and put them all back to the system standard, to my great frustrations. After programming LabVIEW in 20 years, and never had these problems with font sizes that has emerged the last years (after Win 7 ?), I must say I am a bit frustrated about this behaviour.
I also read on the net that changing the font size under Win 7 shall NOT influence the font size in my programs.
Doesn't this mean that NI is breaking the rules on how font size is suppposed to be handled under Windows 7 ?
Martin

MartinP wrote:
I have been struggling somewhat to make my executables look the same way as my source code now, and managed in the end to sort this mess out, using the setttings in the ini-file etc. I have also experienced many times the last years that my source-code forgets my font-size and put them all back to the system standard, to my great frustrations. After programming LabVIEW in 20 years, and never had these problems with font sizes that has emerged the last years (after Win 7 ?), I must say I am a bit frustrated about this behaviour.
I also read on the net that changing the font size under Win 7 shall NOT influence the font size in my programs.
Doesn't this mean that NI is breaking the rules on how font size is suppposed to be handled under Windows 7 ?
Martin
Just an observation.  Reading your post as a requirement, I would think that it was Windows 7 that is at fault because it is causing a change in an application by the way it was worded.  But that is an aside.
This might be interesting reading for you: How Do I Set the Default Application Font, Dialog Font, and System Font Size in LabVIEW?  It explains that LabVIEW takes the font sizes from the operating system.  An extremely wild guess by me would be it has something to do with cross-platform compatibilty so if you made a VI on a Mac you could be assured of having a usable font in Windows, for instance.  Anyway, Google gets massive hits on "LabVIEW font problems" for this forum.  I tend to use Google search before I post.  I find the forum search that posting requires to be too confusing and usually not too helpful.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

Similar Messages

  • Change Font size in RichText Datawindow 1 column

    Running PB 12.1  Classic.
    Whatever I do; font size does not want to change in a Richtext presentation style external datawindow size of column = string 20000000 bytes
    Why = long story - converting unix reports to PB for Archiving.
    I do this after the only column is populated.  You can actually see all text
    dw_1.SelectTextall()     Actualy selects ALL text in dw
    I have tried to setColumn(1) returns -1
    src = dw_1.Modify("a.Font.Height='-8'")      a = column name     Line 1  Column 15: incorrect syntax.
    li_rtn = dw_1.SetRichTextSize(8)    li_rtn = -1
    I could use 2 datawindows with different Font sizes but I would like to know how can I accomplish this with code.
    Anything else works
    src = "DataWindow.Print.Orientation='1'
    src = dw_1.Modify("DataWindow.Print.PrinterName='Xerox Phaser 5500DX PS Tray 3'")
    src = dw_1.Modify( "datawindow.print.preview=yes" )
    ls_default_printname = dw_1.Object.DataWindow.Print.PrinterName
    li_PageCount =  long ( dw_1.describe  ("evaluate('pagecount()'," + string ( dw_prt.rowcount() ) + ")"))
    src = dw_1.Modify( "datawindow.print.preview=no" )
    ls_page_range =dw_1.describe ( "DataWindow.Print.Page.Range" )
    li_noCopies =  integer( dw_1.describe ("DataWindow.Print.Copies"))
    src = "DataWindow.Print.Copies='" +String(astr_spool.copies)+"'"
    src = dw_1.Modify( src )
    src = "DataWindow.Print.duplex='" + String(astr_spool.duplex)+"'"
    src = dw_1.Modify( src )
    src = "DataWindow.Print.paper.Source='2'"
    src = dw_1.Modify( src )
    dw_1.Object.DataWindow.Print.PrinterName= 'Sybase Datawindow PS'

    Luis,
    Not according to the examples in PB help under the Controls in a DataWindow and their properties section. While there are no specific examples for Font.Height, there are for other properties expecting numeric values
    ie (copied from PB help) -
    dw_1.Modify("emp_name.X=10")
    dw_1.Modify("empname.Height=50")
    dw_1.Modify("emp_stat.Protect=1")
    dw_1.Modify("DataWindow.Print.Margin.Top=500")
    etc
    None of the examples I've seen use quotes around the property value where the value is expected to be numeric.
    Although, like I said, I've seen Modifys using numeric arguments work both with and without quotes.
    The setColumn(1) returning -1 is a concern. Seems to indicate there's something fishy going on ... wonder what happens if you try SetColumn with the column name. What event/function is this code executing from?
    Nathan

  • Change Font Size in SMARTFORMS

    Hi Experts,
    I am developing a smartform for label printing.
    for that according to the size of the label i have to adjust the content.
    How can I change the font size of the entire content including the logo?
    I tried to reduce the font size in the new style but it doesn't reflect in the print.
    Please suggest how to proceed for this situation.
    Regards,
    Ashesh Chokhawala.

    Hi Ashesh,
    I too agree with kaushik...i too faced the same problem...
    One solution is provided by kaushik..another is if u want to use single smartform then go for program lines or coding lines for the particular window...You can design the smartform as per the requirement and once the smartform is executed the particular window will execute as per the condition provided...big one or small one...
    Regards,
    Vamshi

  • Compositing text modifications with font size modifications for undo

    Hey TLF gurus,
    So here's my situation.  I have a text flow.  The user starts typing "The lazy brown dog..." and after each character is typed I'm modifying the font size of all the text to make it fit inside the container.  Here's how I'm doing that: http://aaronhardy.com/flex/size-text-to-container/ (you can right-click the app to see the source).
    That all works well, but undo isn't working so well.  When I hit undo, I would like it to remove the text.  But when I call undo on the undo manager, it gets to EditManager.performUndo() where it checks to see if operation.endGeneration is different than textFlow.generation.  In my case, they aren't the same because I updated the font size after the last keystroke.  Because they're different, the undo fails.  Because I updated the font size after the last text insert, TextFlow.processModelChanged() was called and increased the text flow's generation while the insert text operation's end generation stayed the same.
    Ultimately I think I want to create a composite operation that contains any text modifications with their following text auto-sizing.  Either that or I want to prevent my font auto-sizing operation from affecting the text flow generation.  Either way, I'm not sure how to go about pulling it off.  I'm sure I can make some sweet hacks but I'd really appreciate some guidance.  Thanks.
    Aaron

    I'm able to successfully merge the sizing operations with the text operations.  I did it in a round-about way but afterward I found a more appropriate way: executing the ApplyFormatOperation by calling back into EditManager.doOperation when the FlowOperationEvent.FLOW_OPERATION_END event is dispatched from TextFlow (essentially making it recursive).  This way the EditManager will composite the operations.  This is described pretty well in the code and documentation of EditManager.doInternal().  I didn't test it, however.
    Instead, for a couple reasons I decided not to go with that plan at all but instead went with my Plan B which was to prevent my font auto-sizing operation from affecting the text flow generation.  I essentially want the auto-sizing to occur without it going into the undo history, modifying the text flow generation, etc., etc.  I want it to go incognito.  The way I did this was to store the text flow's generation, make the font size modifications, then set the text flow's generation back to what it was before the font size was applied.  This may have some negative repercussions but for now I think it's the best approach for my needs.
    Thanks for letting me talk to myself!  Feel free to add ideas.

  • Setting a Pre determined Font size for an Application.

    I have a Swing application that is running on Windows and the FONT size
    expands on the GUI if I change the Appearance of the Font in Windows XP
    This normally should not happen as the appearances of the Windows Font size
    should have no impact on the application that is running.
    But to be on a safer side,can can I use any method that will have a predetermined
    FONT size when the Swing application executes:
    like : setFont(new Font("Courier", Font.PLAIN, 12));
    The code below is the starting point of the application.
    public class RFApp extends SingleFrameApplication {
         private RFMainFrame mainFrame;
         @Override
         protected void startup() {
              mainFrame = new RFMainFrame();
              setMainFrame(mainFrame);
              show(mainFrame);
    public class MainFrame extends JFrame {
         private final ToolBar toolBar = new ToolBar(this);
         private final StatusBar statusBar = new StatusBar(this);
         private final MainPanel mainPanel = new MainPanel(this);
         public MainFrame() {
              super("Main Frame"); // This has a BIG FONT increase
              initComponents();
         private void initComponents() {
              setLayout(new BorderLayout());
              getContentPane().add(toolBar, BorderLayout.NORTH);
              getContentPane().add(mainPanel, BorderLayout.CENTER);
              getContentPane().add(statusBar, BorderLayout.SOUTH);
    }

    Since you really need to change foreground and etc. Use the following code to list all the resources that may set the font colors you want (the example only excludes background color resource, so it may set more than what you want, you need to pin point specific color resouces from the print out to suit your own need).
    UIDefaults defaults = UIManager.getLookAndFeelDefaults();
    for(Iterator i = defaults.keySet().iterator(); i.hasNext();) {
    String name = (String)i.next();
    Object value = defaults.get(name);
    if (value instanceof ColorUIResource && !name.endsWith("Background")
    && !name.endsWith("background")) {
    System.out.println(name);
    UIManager.put(name, new ColorUIResource(Color.red));
    }

  • Font Size Difference between Exe and Labview IDE

    I'm stumped on the following issue and surprizinglycan't find any references that are similar on this forum.
    I've developed an application which, when built to an Exe, has different font sizes than when executed on the same computer in the Labview Integrated Development Environment.  In each instance the screen resolution is the same.  I've used the "Application Font".  I'm having trouble figuring why the font would render differently in each case.  Of possible signifigance is that I'm running the Exe by simply browsing to the folder where the build procedure drops it instead of building an installation.
    I've attached one of the most glaring examples that shows the rendering in each case.
    I'm hoping that someone can point me in the right direction to resolve this issue.
    Attachments:
    Font Differences1.zip ‏1704 KB

    Hi Doctor,
    two notes:
    for the font size differences: I would try to change the font settings
    to a more 'specific' font like Arial 14pt. The application font is set
    somewhere in an ini-file and the setting may change with the
    environment (IDE vs. exe-rt).
    for your attachment: please convert pictures to jpg or png. This will
    reduce size by orders of magnitude :-) And please crop them, unless you
    have a very (VERY) beautiful desktop background picture!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to change the font size of pdf reports

    hi,
    in my project i'm using wad for my reports
    when i execute these reports from wad and convert it into pdf format the font size of the pdf report is very small.
    what can i do in order to rectify this?
    are there any settings where i can change the font size?
    thanks in advance

    I do not have AA6 available right now (I can check at home this evening). I am also using AA Pro, not Std. In AA7, there is a text box tool that is a commenting tool. When I started typing, a properties toolbar came up that had the font size and such. I haven't figured out how to get the toolbar after the fact. In AA8, I selected the text box tool and then went to view and selected the properties bar (the font size and all showed then), or use Ctrl-E when editing the text. I have not been able to figure out how to edit the text in a text box after you have created it - think it is a mental block right now. Bill

  • Using a javascript to change the font size used by the measurement tool

    A couple years ago I saw a javascript written that would allow me to chang the font size used by the measurement tool in Acrobat 9.  When the IT department deliverd my new laptop with Acrobat X Pro, they had wiped out the script and I am not expert enough to recreate it from scratch.  Any suggestions?  I believe it was in an older post by Dave Merchant, but I truly can't find the post or a way to recreate the script.  Thanks for any help.

    Executing this code from the JS console will change the font size of all the Measurement annotations to 20. You can change the value in the first line to use a different font size:
    var newTextSize = 20;
    this.syncAnnotScan();
    var annots = this.getAnnots();
    for (var i in annots) {
        var annot = annots[i];
        if (annots[i].type=="Line") {
            var richText = annot.richContents;
            for (var i in richText) {
                richText[i].textSize = newTextSize;
            annot.richContents = richText;

  • To change Font size and style in a cell

    HI! .
    I would to know if it is possible to change to the source and the text of alv.
    I have seen that with class CL_SALV_WD_UIE_TEXT_VIEW and method SET_DESIGN, Font size and style in a cell can be changed, but i don´t know how do it and what objects and methods have I to use. Somebody me can write the code necessary to change the style of source of a cell, or row, or of the whole table, please?
    Thanks in advance.

    Hi Maksim!.
    Thanks for your answer. I have followed the manuals. My code is this:
    DATA: lr_column TYPE REF TO cl_salv_wd_column,
           ld_text type ref to CL_SALV_WD_UIE_TEXT_VIEW.
    CREATE OBJECT ld_texto.
    lr_column =
    l_value->if_salv_wd_column_settings~get_column( 'name_column' ) .
    ld_text->SET_DESIGN ( '06' ).
    lr_column->set_cell_editor( ld_text ).
    I don´t know that I have incorrect, but when executing it shows the column with any data.

  • Need to change font size and style in output of report

    hi experts,
                      im having a requirement of changing the font size in the output of report ( alv grid display).
    regards,
    andrews.

    hi rob,
                   When i execute the report i want in the output of the report (alv grid display report)
    regards,
    andrews.

  • Font Size for Dropdown List Box

    Hi All,
    We are in ECC 6.0 with Integrated ITS. We have a 'Z' EWT transaction with a corresponding service maintained in SICF being executed via ITS and/or Portals.
    The problem is that the font sizes for the dropdown list values for all these input fields are very small. The same transaction when run in ECC has no such font issues.
    Does anyone have any idea of why that is happening and if the font sizes for these dropdown list fields can be changed or not?
    Thanks in Advance
    Shounak

    Hello Shounak,
    If this is in Portals then you may be able to change the size of the font through the Portal Theme Generator. 
    Edgar

  • How to increase the Font Size in Write Statement?

    I found the Code in the initial search  I found the syntax "PRINT-CONTROL SIZE 6 LPI 6."
    But the font size seems same in the Report output.
    How can I see the size if it is changed? Is the changes only reflected in the Print-out?
    Thanks

    Hi,
    not sure if I understand your requirement. Anyways, have a look at the sap help, maybe this helps you:
    You can manipulate the output of a list during the print process from within the executable program (report). The statements SET MARGIN and PRINT-CONTROL, described in the topics below, take effect only if the list is directly sent to the spool. The statements do not affect a list that is displayed on the screen and printed from there using List ® Print.
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba60935c111d1829f0000e829fbfe/frameset.htm
    Br,
    Tim

  • Screen size and font size unreadable to set the access permissions for Flash Player.

    I can increase my screen view size to make everything appear larger but the screen on Adobe website to manage the use of the Flash Player has very tiny writing that DOES NOT increase in size when I increase the size of my screen view.  It is not use user friendly nor compliant with common standards of web pages being accessible for people who have visual disablilities.  The font size looks like 6pt.
    What does it take to make this giant company allow the window size of the settings to be enlarged or magnified? 

    They will stay on the screen.  However, Process Monitor is only intended for advanced users.  It is recommended that users try to navigate to the troublesome registry key using regedit, and see if they can access it or not without an error.  This is far easier than trying to use Process Monitor, which is very complicated.
    I used Process Monitor to confirm that it was just that key which was causing the problem, and not others.  Process Monitor is not to be confused with the new Resource Monitor which is accessible via Task Manager in Windows 7 (and possibly Vista).  If you must experiment (and Process Monitor is very useful for diagnosing many deep-level problems if you know what you're looking for) Process Monitor can be downloaded from here:
    http://technet.microsoft.com/en-us/sysinternals/bb896645
    It replaces the older Sysinternals "FileMon" and "RegMon".  For those interested in the technical side, I had to setup a number of filters to be able to get the results display as in the screenshot.  First of all to just show Registry events.  Then to just show events from the manual Flash activeX installer executable.  The I added a filter to show only non-successfull results.  And finally, for the purposes of the screenshot, added a filter to just show those with "Access Denied", since other non-critical errors are also picked up due to missing keys because installation has not yet been fully completed I guess.   When experimenting, most of these filters were applied using the "is not" boolean logic, which will make sense if you experiment with the program.
    Without adding any filters, it picks up so many events (hundreds per second) that it's otherwise unusable.  e.g. 40,000 events within the first few seconds of opening the program. For this reason, I recommend simply using Regedit to diagnose the problem with the particular Flash registry key.

  • Increase ALV Printout Font and Font Size

    Hi Experts,
    Is there a way of increasing the font size on the ALV Grid printout the comes from a printer? Also, how can I print the Logo at the top of the page of the ALV List? It only appears on the ALV List screen, but not on the printed copy. I am using the method set_table_for_first_display and the class cl_gui_alv_grid to display the output in the ALV.
    Thank you in advance for your contributions.
    Regards.

    Hello Vijay,
    I tried your suggestion along with I039643's suggested SET_PRINT_PARAMETERS FM in INITIALIZATION event. But I still do not see the format I specified in my report when I go to Report execute -> List -> Print -> Properties.
    I am not sure what I am missing here. Please let me know. Thanks.

  • WAD template issue:Change Font Size of Tab page in a tab strip container

    Hi Gurus,
    Is it possible to change the font size and face of a "tab" in a tabstip container.
    For example: I have a Tab strip container with 3 tabs:
          Tab1 : North Region
          Tab2: South Region
          Tab3: Central Region.
    When we name the tabs as above, it displays in a default font size and font face in the output while executing the WAD template. I want to increase the font size of say " North Region" Tab so that it appears bigger.
    Can some one guide me as to how this can be achieved.
    Regards,
    Sandeep

    Hi Benni,
    Could you please explain where i am supposed to enter the code mentioned by you "<style type="text/css" >.urBtnStd </style>"
    The XHTML code looks as below-->
    html
           head
                <title >BEx Web Application</title>
                meta http-equiv="Content-Type" content="text/html; charset=utf-8"
                 head
            body
                <bi:QUERY_VIEW_DATA_PROVIDER name="DP_1" >
                    <bi:INITIAL_STATE type="CHOICE" value="QUERY" >
                        <bi:QUERY value="RBEI_BICM_HR_RRF_PERIOD" />
                    </bi:INITIAL_STATE>
                </bi:QUERY_VIEW_DATA_PROVIDER>
                <bi:TEMPLATE_PARAMETERS name="TEMPLATE_PARAMETERS" >
                    <bi:SYSTEM_MESSAGES_VISIBLE type="CHOICE" value="X" text="" />
                    <bi:VARIABLE_SCREEN value="" />
                    <bi:MELT_VARIABLES value="" />
                    <bi:HAS_MAIN_TEMPLATE_OBJECT type="CHOICE" value="" />
                    <bi:WEB_TEMPLATE_ACTIONS type="COMPOSITE" >
                        <bi:ACTION_BEFORE_FIRST_RENDERING type="COMPOSITE" />
                    </bi:WEB_TEMPLATE_ACTIONS>
                </bi:TEMPLATE_PARAMETERS>
                <p >
                    <br />
                </p>
                <bi:TABSTRIP_CONTAINER_ITEM name="TABSTRIP_CONTAINER_ITEM_1" designwidth="600" designheight="600" >
                    <bi:TABPANEL_LIST type="ORDEREDLIST" >
                        <bi:TABPANEL type="COMPOSITE" index="1" >
                            <bi:CAPTION value="North Region" />
                        </bi:TABPANEL>
                    </bi:TABPANEL_LIST>
                </bi:TABSTRIP_CONTAINER_ITEM>
                <br />
                <br />
            </body>
    html
    Thanks,
    Sandeep
    Edited by: Sandeep Rupert Saldanha on Feb 17, 2010 10:53 AM

Maybe you are looking for

  • Memory upgrade question

    Hey all - I'd like to increase the memory in my 400 mhz G4 Yikes (PCI). Right now I have one 128MB and 2 256MB cards, both 100. I've always been led to believe that the max I can install is 4 256MB cards. But I was just reading that I can in fact ins

  • HELP PLEASE Backing up

    Ok I'm using win xp, i have the iphone 3G and when i go to back it up it starts backing up and stops Half way and thats it, I can't seem to get the 3.0 on here because of this, theres not little X where when i click it to cancel the backing up it the

  • Regarding: How to Get the Tax Amount

    Hai Friends,                         I have the Input of  Amount + Tax Group.                        I  need the amount for every Tax from Tax group.                        How to get the Tax amount for differnt tax type. Please help me. Regards, K S

  • Material Reservation List

    Hello All For the open material reservation after executing the transaction MB25 for the given Requirement period from date  to to date some of the Reservation are missing in the out put of report even tho their requirement date lies in between selec

  • How can I filter (send to trash) all non-english messages?

    I am getting an overload of oriental language (Chinese) and slavic langauge (Russian or similar) emails. I a perfect world Thunderbird would filter all non-english messages into my trash folder or block them. Does anyone have any ideas?? Thank you