We can read extra fonts from the system.
This commit is contained in:
parent
15767dcd33
commit
74db968eee
17 changed files with 334 additions and 241 deletions
|
|
@ -63,7 +63,7 @@ namespace MatterHackers.MatterControl
|
|||
public TextScrollWidget(PrinterConfig printer, TerminalLog terminalLog)
|
||||
{
|
||||
this.printer = printer;
|
||||
this.typeFacePrinter = new TypeFacePrinter("", new StyledTypeFace(ApplicationController.GetTypeFace(NamedTypeFace.Liberation_Mono), 12));
|
||||
this.typeFacePrinter = new TypeFacePrinter("", new StyledTypeFace(ApplicationController.Instance.GetTypeFace("Liberation_Mono"), 12));
|
||||
this.typeFacePrinter.DrawFromHintedCache = true;
|
||||
this.terminalLog = terminalLog;
|
||||
this.visibleLines = terminalLog.AllLines().ToList();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue