Skip to content
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

[Keyman Developer] Font size and settings not applying to Code view of Touch Layout Editor #1724

Closed
mcdurdin opened this issue Apr 18, 2019 · 1 comment · Fixed by #4198
Closed

Comments

@mcdurdin
Copy link
Member

Describe the bug
The Code view of the Touch Layout Editor in Keyman Developer 11 does not appear to inherit the right font settings.

From https://community.software.sil.org/t/enlarge-text-size-in-code-editor/2070:

When I am working on a touch layout the Code editor in Keyman Developer is taxing my eyesight. There must be a way to enlarge the text I can not find it.

A workaround is to right-click, select Command Palette, search for 'Font' to change the size. However, this is not sufficient because it doesn't change all fonts in use, only the quoted text font size.


Keyman Developer:

  • OS: any
  • Keyman Developer version: 11.0.1353.0
@mcdurdin
Copy link
Member Author

A better workaround: you can press F12 to bring up the Developer Tools Console, and paste in the following code snippet and press Enter:

editorGlobalContext.setFonts({
  codeFont: {name:'Consolas', size:'16pt'},
  charFont: {name:'Consolas', size:'16pt'}
});

You can of course tweak those font names and sizes to match your needs.

@mcdurdin mcdurdin added this to the Future milestone Aug 8, 2019
@mcdurdin mcdurdin modified the milestones: Future, 14.0 Feb 25, 2020
@mcdurdin mcdurdin modified the milestones: 14.0, P10S4 Mar 8, 2020
@mcdurdin mcdurdin modified the milestones: P10S4, P10S10 Apr 7, 2020
@mcdurdin mcdurdin modified the milestones: P10S10, P10S15, P10S11 Jul 9, 2020
@mcdurdin mcdurdin modified the milestones: P10S15, 14.0 Sep 4, 2020
@mcdurdin mcdurdin modified the milestones: 14.0, B14S5 Nov 22, 2020
@mcdurdin mcdurdin modified the milestones: B14S5, B14S7 Dec 21, 2020
@mcdurdin mcdurdin modified the milestones: B14S7, B14S2 Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant