Community
Participate
Working Groups
+++ This bug was initially created as a clone of Bug #247700 +++ The fix for bug 247700 should be improved in the TM 3.1 timeframe. The Problem: ------------ There are two distinct problems: (1) The Font Preference is declared in the tm.terminal.view plugin which is not installed in JEE, therefore there is no Control to change the Preference. We either need to move the org.eclipse.ui.themes extension into the Terminal Widget, or create an org.eclipse.ui.themes extension in the RSETerminal. (2) In the Terminal, StyleMap.java uses the hard-coded Preference slot for reading the font to use. I think that we'll need API like StyleMap#setFontName(String) in order to change the font in a specific StyleMap. Then, multiple different clients can each pick their own font if they want, and set it through ITerminalViewControl#setFont(Font). Proposed Solution: ------------------ * Create API in tm.terminal such that fonts can be changed. * Use two separate org.eclipse.ui.themes extensions in rse.terminals and tm.terminal.view * We'll also want to fix bug 220299 along the way.
Bulk update of target milestones to 3.2
Moving deferred 3.3 api items to 3.4
Created attachment 215190 [details] patch v1 Attached patch implements ITerminalViewControl#setFont(String fontName) which takes a fontName from the JFace font registry and pushes the new font all the way through to the StyleMap, which is needed for calculating font grid size. This should allow setting the Terminal widget to an arbitrary font, including boldface and italic variants.
committed for 3.4 M7.