Windows changing label's font??!?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • andrew.ames@thenbs.com

    #1

    Windows changing label's font??!?

    Hi

    I have a pretty basic windows application created in Visual Studio
    2005 and VB.NET.

    I set my Form's font to Arial 8.25pt, so when i added a label and a
    button they automatically have a font of Arial and 8.25pt.

    Great.

    I run it, all is well.

    I created an installer using InstallShield (I doubt this has anything
    to do with the problem but you never know?)

    It has been installed on about 20 machines over 20 different offices,
    every machine runs Windows XP Pro. Everything looks fine on all
    machines with the exception of 1

    On this one machine, the font of the button and label is different, it
    is slightly larger and looks like it may be bold. I'm sure it is still
    Arial but i cannot be 100% sure on that.

    As it is bigger, the label expands (autosize = true) and it expands to
    the right, overlapping the textbox that is positioned to the right of
    the label.

    The button has a caption of "Upload" but on this one machine we just
    see "Uploa" as the button is now not big enough to hold the whole word
    "Upload"

    I do not have access to this machine but i am in contact with someone
    who does.

    My first thought was that it was something they changed in desktop /
    properties / appearances / advanced.

    I went through every setting on my machine, changed the font and
    increased the size.

    Things like my menu (file edit view etc) all change, but no windows
    appearance setting overrides button captions and label fonts.

    I also checked the advanced display options, i increased the DPI to
    125 (desktop - properties - settings - advanced) this increased the
    size of my menu etc but again did not change the button or label.

    the form has other controls like textboxes, a datagridview, etc, and
    the font's of these all seem to be this new variant of the font.

    Does anyone have any ideas as to what is changing the font appearance
    on this machine?

    Thanks in advance

    Andrew Ames

  • Phil

    #2
    Re: Windows changing label's font??!?

    I went through every setting on my machine, changed the font and
    increased the size.
    Did you try changing the Font Size in the Appearance tab?
    It might also be worth checking the display resolution, and that they have
    the correct driver installed for their monitor.

    It's always a good idea anyway, to allow plenty of extra space at the end of
    text labels. You never know when you might be asked to translate the form
    into German, then you'll need all the space that you can get.


    Comment

    • andrew.ames@thenbs.com

      #3
      Re: Windows changing label's font??!?

      Yeah i tried the font size too, sorry i forgot to mention that.

      The resolution is the same as on my machine.

      Monitor driver i am not sure about, i can ask them to check it.

      The chances of needing to translate are slim as it's just a simple
      application for a specific English company, but i agree I should just
      increase the space and i should avoid any further issues.

      Cheers

      Ames

      Comment

      • Chris Dunaway

        #4
        Re: Windows changing label's font??!?

        On Aug 8, 5:46 am, andrew.a...@the nbs.com wrote:
        Yeah i tried the font size too, sorry i forgot to mention that.
        >
        The resolution is the same as on my machine.
        >
        Monitor driver i am not sure about, i can ask them to check it.
        >
        The chances of needing to translate are slim as it's just a simple
        application for a specific English company, but i agree I should just
        increase the space and i should avoid any further issues.
        >
        Cheers
        >
        Ames
        You mentioned changing your DPI setting to 125. Did you try reducing
        it to say 72 to see if that duplicates the problem?

        Chris

        Comment

        • andrew.ames@thenbs.com

          #5
          Re: Windows changing label's font??!?

          I set it to 72 and that just made everything smaller (like the text
          under icons on the desktop) so it did not duplicate the problem. It
          also did not make the button caption or the label text any smaller. no
          matter what i change the dpi to, it does not effect the controls on my
          form that have the problem.

          Thanks

          Comment

          • andrew.ames@thenbs.com

            #6
            Re: Windows changing label's font??!?

            That was something i thought of, but i just assumed they had the font
            as the font i was using was Arial. It is quite possible they deleted
            this font for some reason. This sounds like the most likely cause.
            Thanks! I'll get them to check

            Comment

            • =?Utf-8?B?VGVycnk=?=

              #7
              Re: Windows changing label's font??!?

              Users do funny things sometimes and deleting a font by mistake is one of
              them. I would go so far as to reinstall the Ariel font (if it is there) on
              the chance that it is corrupt.
              --
              Terry


              "andrew.ames@th enbs.com" wrote:
              That was something i thought of, but i just assumed they had the font
              as the font i was using was Arial. It is quite possible they deleted
              this font for some reason. This sounds like the most likely cause.
              Thanks! I'll get them to check
              >
              >

              Comment

              Working...