English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Problem with classes or i need help
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-02-06 (06:36)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] Ugly fonts in ocamlbrowser/editor
> Newbie here, just successfully installed ocaml-3.06 on my Redhat box. 
> Was testing out labltk and ocamlbrowser and found that both the browser 
> and editor uses the ugliest monospace font ever..
> Any clues to how to change the default font for all labltk's 
> applications? Or perhaps this is a tk issue?

You can change fonts in camltk and labltk applications by writing tcl
commands in $HOME/.camltkrc.

For instance, here are my fonts:
option add *Font -*-helvetica-medium-r-normal--14-*-iso8859-1
option add *Text.Font -*-clean-medium-r-normal--14-*
option add *Listbox.Font -*-clean-medium-r-normal--14-*

For other possibilities of configuration, you can read the Tcl/Tk man

Jacques Garrigue
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners