-
Notifications
You must be signed in to change notification settings - Fork 1
Install a true monospace font that supports glyphs
Our program, with particular reference to command line environment, relies on Unicode, Monospaced fonts and ANSI escape sequence to give a clear representation of game component.
A great effort was made in order to print and format accordingly special characters like '⚀','\u001B[' on Window's powershell.
While UTF-8 and ANSI support are managed by the application itself, mainly by Console class recalling Kernel32.dll functions, font has to do with the enviroment. Searching online we got in touch with DejaVuSansMono (https://github.com/powerline/fonts, https://en.wikipedia.org/wiki/List_of_monospaced_typefaces) that seems to fit perfectly our needs.
This repository also carries a version of DejaVuSansMono that was used during the develpoment.
- This can be installed double-clicking on it.
- Adding an entry for DejaVuSansMono font on powershell https://www.johndcook.com/blog/2009/07/24/windows-console-fonts/
- Selecting it under powershell enivronment.
Alternative B
- installing the entire powerline font suite following these steps https://medium.com/@slmeng/how-to-install-powerline-fonts-in-windows-b2eedecace58
In order to test correctness of the procedure we encourage to run project.ing.soft.cli-Console#main to ensure everything is running smoothly.
Progetto di ingegneria del software (SWENG for friends)