dcsimg
Results 1 to 8 of 8

Thread: MS Sans Serif font problem on WIN7

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2011
    Posts
    2

    MS Sans Serif font problem on WIN7

    Hi,
    I face a strange problem with VB6 applications on my new machine (WIN7 64 bit/NVIDIA graphics card).
    The controls (listboxes, buttons etc) uses MS Sans Serif 8pt in my application. When I take the app. to my new computer all fonts will be too large and sometimes donīt fit in the control. I also discovered that I canīt choose smaller font size for Ms Sans Serif than 10 pt on my new computer.
    I also know that this problem is not on every WIN7 machine.
    Does anyone have any ideas why I face this problem .

  2. #2

    Thread Starter
    New Member
    Join Date
    Feb 2011
    Posts
    2

    Re: MS Sans Serif font problem on WIN7

    I found the solution for the font issue. I post the link here if anybody else have same problem.

    https://community.dynamics.com/produ...namics-gp.aspx

  3. #3
    PowerPoster
    Join Date
    Feb 2006
    Posts
    19,765

    Re: MS Sans Serif font problem on WIN7

    Yes, the fact that Windows 7 will automatically shift a new machine into High DPI settings will probably impact more and more people over time.

    Right now it's only an issue for those who spend too much on monitors: it only kicks in somewhere around 1920x1080 resolution.

    Microsoft underestimates the impact of this decision in Follow-up on High DPI resolution, suggesting that High DPI defects only impact about 9% of applications.

    This was based on flawed metrics, because Windows 7 adoption has been slower among those who (a.) don't buy hi-res monitors until prices fall and the market takes their choices away and (b.) use legacy applications and those created with older development tools.

    For example they haven't and won't do squat about updating VB6 to accomodate this more easily, so those of us who must deal with it have to use more and more API-level code to deal with it. Micrsoft tried in .Net WPF, but the result was things like "fuzzy fonts" effects until VS 2010, which has addressed most of those issues. Avoiding bitmap fonts in VB6 programs helps a lot, but VB6 defaults to MS Sans Serif so you see a lot of funky looking Forms out there these days.
    Last edited by dilettante; Feb 10th, 2011 at 06:55 AM.

  4. #4
    Frenzied Member
    Join Date
    Mar 2008
    Posts
    1,139

    Re: MS Sans Serif font problem on WIN7

    I came accross this issue a couple of months ago in a big old app; in the end I replaced all references in the ui to MS Sans Serif (Bitmap) to Microsoft Sans Serif (TruType). The switch was pretty painless from the coding point of view because the width of the 2 fonts is very near identical. That did the trick but I still prefer the look of the old font on monitors running at 96dpi. Setting ClearType Fonts improves appearance a little. On monitors running >96dpi Microsoft Sans Serif looks fine.

    Along the way I considered the Segoe UI font, but that is only installed by default in Vista and 7, I needed support back to W2k.
    So the next choice was Tahoma (the UI font in W2K and XP), at 8 (7.8 in a .vbf file) point it appears significantly smaller (narrower) than MS Sans Serif at the same point size. At 9 (9.2 in a vbf file) point it appears too big. However there is an an intermediate Tahoma point size of 8.4; it cannot be set from the VB6 IDE (where setting 8 gives you 7.8, setting 9 gives you 9.2, the ui will not accept decimals) but can be set by editing .vbf files; I did that and still did'nt like the results.

    Any similar stories?
    Any other favorite ui fonts to replace MS Sans Serif 8 point?
    What is the recommended ui font and point size for new general business applications?

  5. #5
    PowerPoster
    Join Date
    Feb 2006
    Posts
    19,765

    Re: MS Sans Serif font problem on WIN7

    I use FontWiz for this.

    Segoe UI 9 is the standard for Win 6.x and Tahoma 8 is for Win 5.x.

    NT 4.0 and Win9x were where MS Sans Serif were standard I think.


    I like Microsoft Sans Serif, but it isn't standard and may not even be present without Office installed... but I'm not sure.

  6. #6
    Frenzied Member
    Join Date
    Mar 2008
    Posts
    1,139

    Re: MS Sans Serif font problem on WIN7

    Thanks.

    http://www.microsoft.com/typography/...t.aspx?pid=161
    and
    http://www.microsoft.com/typography/...t.aspx?PID=149
    suggest Microsoft Sans Serif is still usually supplied/ installed with the Vista and 7 OSs.

  7. #7
    PowerPoster
    Join Date
    Feb 2006
    Posts
    19,765

    Re: MS Sans Serif font problem on WIN7

    Good to know. It's a nice font but I try to avoid using non-stadnard UIs when I can.

    FontWiz will pick up the system font even if the user changes it... though of course it still needs to fit properly in your labels, buttons, etc. which is always fun too.

  8. #8
    Frenzied Member
    Join Date
    Mar 2008
    Posts
    1,139

    Re: MS Sans Serif font problem on WIN7

    >though of course it still needs to fit properly in your labels, buttons, etc. which is always fun too

    So the ui has to be able to support 9 (9.2) point instead of the previous 8 (7.8) point. So we do that to the old app and it is'nt much fun too! After that there seems little advantage in having 8 point text swimming around in Controls which are large (tall) enough to contain 9 point whatever OS is in use.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width