Administrateur

  • Profile picture of Karim
  • Profile picture of Jean

OpenMusic

Groupe Public active 1 day et 13 hours ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

Change default font for Lisp Editor?

Auteur 2 Utilisateurs souscrits |
Profile photo of lt72music
lt72music

Hello…could someone remind me which .lisp file contains the default font preference for “Lisp Editor” from the “Windows” menu? I’m able to change it during a session via “Text Font” in the edit menu of the buffer, but the preference is not saved after I quit a session. Thanks!

Juin 13, 2018 à 18:18 #26751
Profile photo of Jean
Jean

Hi — there’s two places where you can place Lisp files to have them loaded at OM startup:

1) In the “user” folder of your workspace
2) In “OM 6.13/Contents/Init/”

Just create a .lisp file containing the following line (with the font you like):

(setf om-lisp::*def-text-edit-font* (oa::om-make-font "Arial" 18))

—Jean

Juin 14, 2018 à 08:16 #26753
Profile photo of lt72music
lt72music

Thanks very much!

Juin 14, 2018 à 10:06 #26755

Vous devez être connecté pour répondre à ce sujet.

Log in now