Fonts in 11.03

Fonts in 11.03

Postby TimStone » Wed Apr 13, 2011 3:38 pm

I derive my fonts from the system using:

cSysFont := GetSysFont( )
DEFINE FONT oMfont NAME cSysFont SIZE 0,-12 BOLD

All dialogs inherit from this same font, and all displays were sized to work properly.

With version 11.03, this changed. Now a new font is used, and it clips all of my predefined text. Prompts no longer fit in the button space allocated, and labels for fields ( defined in the .rc file ) are being chopped.

I saw no mention in the notes of any change. Reverting back to 10.12 resolves the problem, which means once again I have no 2011 useable FWH.

Can anyone tell me what has happened here ? It is clearly a change between 10.12 and 11.03.

Thank you.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Fonts in 11.03

Postby nageswaragunupudi » Wed Apr 13, 2011 5:10 pm

GetSysFont() function returns "Ms Sans Serif" in both 11.03 and 10.12. There was no change in this function in the recent past.

Interestingly, contrary to what we may expect, the return value is actually hard coded as "Ms Sans Serif". This function does not acertain the font configured on the system.

You can test this by "msginfo( getsysfont() )" on both 11.03 and 10.12.

You can also compare the source code of the function in both the versions. \fwh\source\function\getsysin.prg
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Fonts in 11.03

Postby TimStone » Wed Apr 13, 2011 9:20 pm

OK ... but with absolutely NO CHANGE in my code, with 10.12 we see the following:
Image

And with 11.03 we see:
Image

Please note how the letters are dropped off the end in .03, suggesting a rendering issue with the new version. Again, I emphasize that the exact same code is used in both cases, and the only difference is which FWH version is used in the build.

So, obviously something has changed in FWH 11.03 that is not documented related to fonts.

Thanks.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Fonts in 11.03

Postby Daniel Garcia-Gil » Wed Apr 13, 2011 9:36 pm

Tim

Please download FWH again, (from official site)

this problem is solved: http://forums.fivetechsupport.com/viewtopic.php?p=112702#p112702
User avatar
Daniel Garcia-Gil
 
Posts: 2365
Joined: Wed Nov 02, 2005 11:46 pm
Location: Isla de Margarita

Re: Fonts in 11.03

Postby TimStone » Wed Apr 13, 2011 10:21 pm

OK ... still a bit different but I can live with that. Its got an issue on the button bar ... the prompt used to fit but not now. I'll work with it.
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2944
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 79 guests