Skip to content

Change the (default) font of the Coder to use DejaVu #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
peircej opened this issue Feb 19, 2013 · 2 comments
Closed

Change the (default) font of the Coder to use DejaVu #263

peircej opened this issue Feb 19, 2013 · 2 comments
Labels
💻 app/ui PsychoPy app changes (often wxPython issues)

Comments

@peircej
Copy link
Member

peircej commented Feb 19, 2013

There may be several steps to this:

  1. changed the default in the prefs specs (ie. factory defaults) to use this font
  2. check that it is then used. Possibly wx needs informing of the ttf file location. DejaVuSans.ttf is being included in the Standalone packages in the resources location (this can be found using prefs.paths['resources']?)

Ideal additions:
3) it sould be great if changes in prefs were immediately applied to the open documents (currently the code for applying text styles is only run during file load, but it should be moved to a separate method like self.updateStyles() that can be called for each document)
4) if 3) has been done, it would also be great to add a quick keyboard shortcut to expand/shrink font sizes of the coder (default shortcuts might be Ctrl-+/- but determined using the prefs specs as with other shortcuts).

@peircej
Copy link
Member Author

peircej commented Feb 19, 2013

NB the font size thing shows up previously as issue #16 but would be most easily handled after the other parts above.

@ghost ghost self-assigned this Feb 19, 2013
@peircej
Copy link
Member Author

peircej commented Aug 28, 2014

Not actually using dejavu, but we are now using a proper mono font throughout

@peircej peircej closed this as completed Aug 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 app/ui PsychoPy app changes (often wxPython issues)
Projects
None yet
Development

No branches or pull requests

1 participant