Ugly font in VW7.0 on Windows 98 
Author Message
 Ugly font in VW7.0 on Windows 98

I finally downloaded VisualWorks 7.0 NC on my Windows 98 and I found out
that significant amount of text (including all menus) is in very narrow,
very hard to read font. Look at http://www.*-*-*.com/
too see screen capture from my desktop. Where can I change this??? My VW
5i.4 NC always displayed and still displays "normal" font.

--
                                          Frantisek Fuka
(yes, that IS my real name)
(and it's pronounced "Fran-tjee-shek Foo-kah")
----------------------------------------------------

My Homepage: http://www.*-*-*.com/
My ICQ:      2745855



Tue, 08 Mar 2005 20:20:38 GMT  
 Ugly font in VW7.0 on Windows 98

Quote:

> I finally downloaded VisualWorks 7.0 NC on my Windows 98 and I found out
> that significant amount of text (including all menus) is in very narrow,
> very hard to read font. Look at http://www.fuxoft.cz/tmp/uglyfont.gif
> too see screen capture from my desktop. Where can I change this??? My VW
> 5i.4 NC always displayed and still displays "normal" font.

I don't know if the following is the easiest way but it should work.
Redefine the font name selectors in the various
VariableSizeTextAttributes class>>#initializeXXX methods.  There is one
for each "font scheme" we support, which can be selected between using
the Launcher->Syetem->Settings->Text slice. e.g. here is
VariableSizeTextAttributes class>>#initializeDefault for the Default
scheme.

initializeDefault

        | style cStyle |
        cStyle := VariableCharacterAttributes newWithDefaultAttributes.
        cStyle setDefaultQuery: (FontDescription new
                        family: #('helv' 'helvetica' 'arial' '*');
                        manufacturer: #('adobe' '*');
                        fixedWidth: false;
                        serif: false;
                        italic: false;
                        boldness: 0.5;
                        pixelSize: 12 "The actual value will be set later").
        style := self new.
        style setCharacterAttributes: cStyle.
        style scalingFactor: 1.0.
        style install.
        self styleNamed: #systemDefault put: style.
        self styleNamed: #default put: style

Change #('helv' 'helvetica' 'arial' '*') to something you prefer, e.g.
#('arial' '*')

save the image (e.g. to something new like testfonts.im) but don't quit,
and start-up testfonts.im.  If you like it save the image.  If you
don't, change it again, save as testfonts.im and startup testfonts.im.
Keep on going until you find a set you like...

We have better font selection facilities on the "to do" list.

HTH
--
_______________,,,^..^,,,____________________________
Eliot Miranda              Smalltalk - Scene not herd



Wed, 09 Mar 2005 02:37:22 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Printing and fonts under windows(98)

2. Moving from Windows 98 to Windows 2000

3. Clarion 5 app, windows 98 and windows XP

4. Windows 98 DDK & Windows in assembly

5. A custom built DLL crashes labview 5.1 in windows 2000 but worked fine in windows 98

6. Help of Fortran 77 in Windows 98 and Windows 2000 or XP.

7. 814078: Security Update (Microsoft Jscript version 5.1, Windows 98 and Windows N

8. Ugly lloking fonts with tk8.0 on HP

9. Ugly font on OWSTR41 Macintosh

10. Clocks: Was: Ugly Ugly BeBox

11. Deperately seeking Tk font expertise (was Re: TIP #64: Improvements to Windows Font Handling)

12. was Re: 4.01Graphics Problem with Windows 98 but not NT or 2000

 

 
Powered by phpBB® Forum Software