(Windows XP).
I have this is a few widgets. On most of our PC's its fine, on one laptop the font is about 1/4 the size of the other PC's. Can anyone tell me where this font comes from? -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
If I am looking at the correct place, they both say "Normal".
Jim Harsh wrote: > > I would assume you've checked that Control Panel -> display -> > appearance, the same default font is set. > > Jim > > At 09:55 AM 5/20/2008, you wrote: >> (Windows XP). >> >> I have this is a few widgets. On most of our PC's its fine, >> on one laptop the font is about 1/4 the size of the other PC's. >> >> Can anyone tell me where this font comes from? >> >> -- >> Dennis Smith +1 416.798.7948 >> Cherniak Software Development Corporation Fax: +1 416.798.0948 >> 509-2001 Sheppard Avenue East [hidden email] >> Toronto, ON M2J 4Z8 sip:[hidden email] >> Canada http://www.CherniakSoftware.com >> Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP >> >> _______________________________________________ >> vwnc mailing list >> [hidden email] >> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc > > > -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
In reply to this post by Dennis smith-4
It's defined in VariableTextAttributes class>>initializeFixed (or maybe
TextAttributes class>>initializeFixed). Unlike the #systemDefault font, which is overridden in Win*LookPolicy class>>defaultSystemFontDescription, I don't think this is overridden by Windows. Any additional formatting like #bold is applied based on CharacterAttributes.DefaultAttributes, set in that class's #initializeDefaults and all its <stylesWithOrder:> pragma methods. My guess is that the PC in question has an extra font matching 'courier*'. You may want to change #initializeFixed to use something more accurate first, e.g. #('courier new*' 'courier*' '*'). To make the change visible, try the following code - suggestions for improvement welcome! TextAttributes initialize. VariableSizeTextAttributes initialize. Cursor wait showWhile: [TextAttributes setDefaultTo: (UI.UISettings preferenceFor: #textSize). TextAttributes resetViews. StandardSystemController flushMenus. FontPolicy allGeneralInstancesDo: [:each | each resetFontCache]. Screen default receiveAndProcessAllEvents] Steve > -----Original Message----- > From: [hidden email] [mailto:[hidden email]] On > Behalf Of Dennis Smith > Sent: 20 May 2008 18:55 > To: VWNC, > Subject: [vwnc] Question on the "Standard Fixed" font ... > > (Windows XP). > > I have this is a few widgets. On most of our PC's its fine, > on one laptop the font is about 1/4 the size of the other PC's. > > Can anyone tell me where this font comes from? > > -- > Dennis Smith +1 416.798.7948 > Cherniak Software Development Corporation Fax: +1 416.798.0948 > 509-2001 Sheppard Avenue East [hidden email] > Toronto, ON M2J 4Z8 sip:[hidden email] > Canada http://www.CherniakSoftware.com > Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP > > _______________________________________________ > vwnc mailing list > [hidden email] > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
That sounds reasonable -- thanks.
Steven Kelly wrote: > It's defined in VariableTextAttributes class>>initializeFixed (or maybe > TextAttributes class>>initializeFixed). Unlike the #systemDefault font, > which is overridden in Win*LookPolicy > class>>defaultSystemFontDescription, I don't think this is overridden by > Windows. Any additional formatting like #bold is applied based on > CharacterAttributes.DefaultAttributes, set in that class's > #initializeDefaults and all its <stylesWithOrder:> pragma methods. > > My guess is that the PC in question has an extra font matching > 'courier*'. You may want to change #initializeFixed to use something > more accurate first, e.g. #('courier new*' 'courier*' '*'). To make the > change visible, try the following code - suggestions for improvement > welcome! > > TextAttributes initialize. > VariableSizeTextAttributes initialize. > Cursor wait showWhile: > [TextAttributes setDefaultTo: (UI.UISettings > preferenceFor: #textSize). > TextAttributes resetViews. > StandardSystemController flushMenus. > FontPolicy allGeneralInstancesDo: [:each | each > resetFontCache]. > Screen default receiveAndProcessAllEvents] > > Steve > > >> -----Original Message----- >> From: [hidden email] [mailto:[hidden email]] On >> Behalf Of Dennis Smith >> Sent: 20 May 2008 18:55 >> To: VWNC, >> Subject: [vwnc] Question on the "Standard Fixed" font ... >> >> (Windows XP). >> >> I have this is a few widgets. On most of our PC's its fine, >> on one laptop the font is about 1/4 the size of the other PC's. >> >> Can anyone tell me where this font comes from? >> >> -- >> Dennis Smith +1 416.798.7948 >> Cherniak Software Development Corporation Fax: +1 416.798.0948 >> 509-2001 Sheppard Avenue East [hidden email] >> Toronto, ON M2J 4Z8 sip:[hidden email] >> Canada http://www.CherniakSoftware.com >> Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP >> >> _______________________________________________ >> vwnc mailing list >> [hidden email] >> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc >> -- Dennis Smith +1 416.798.7948 Cherniak Software Development Corporation Fax: +1 416.798.0948 509-2001 Sheppard Avenue East [hidden email] Toronto, ON M2J 4Z8 sip:[hidden email] Canada http://www.CherniakSoftware.com Entrance off Yorkland Blvd south of Sheppard Ave east of the DVP _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |