

Microsoft's fun, new monospace font that includes programming ligatures
source link: https://www.tuicool.com/articles/Mn63AvB
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Welcome!
This repository contains the source code of Cascadia Code.
Other related repositories include:
Installation
You can install the latest version of Cascadia Code from the releases page here: https://github.com/microsoft/cascadia-code/releases
Clicking on the Cascadia.ttf file will download it to your machine. From there, open the file. This will open a new window displaying the characters included in the font along with the font displayed at different sizes. This window should have an "Install" button that will install the font on your machine when clicked.
:point_right: Note: If you have previously installed a version of Cascadia Code, installing a new version should overwrite the previous version. However, in order to ensure it is completely overwritten, it is recommended that you delete the previous version you had before installing another.
Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com .
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
Getting Started
Modifying the Font
Making modifications to the Cascadia Code font requires use, and understanding, of Glyphs (Mac) as well as Microsoft VTT (Windows) and to a lesser extent FontTools . The source for the font is built in Glyphs, and can be modified to a user’s preference. However, please note that hinting built into the font is closely tied to the glyph order and point order—modifications to either will result in needing to manually correct any problems.
Modifying a single glyph
- Make the necessary changes in the Glyphs source and export a TTF file.
- Open the previous VTT TTF source file in VTT and locate the code point that you changed in the source.
- Import the glyph and overwrite the code point in the source file. If it is to be added to the end of the file, on the import screen choose “append to end of font”.
- Hint (or re-hint) the glyph.
- Ship the production font.
Modifying a broad range of glyphs
- Make the necessary modifications to the Glyphs source and export a TTF file.
- Convert both the new TTF and the VTT TTF source file to TTX using FontTools
- Copy the TSI tables from the VTT TTF source to the new TTF source, and rebuild the TTF file.
- Open new TTF file in VTT, compile and check for errors. Correct as necessary.
- Ship the production font.
In cases of extensive glyph modification, the font may need to be re-hinted entirely.
Creating a Pull Request
At the moment, we do not have a testing framework for verifying proper character creation. When creating a pull request, please heavily document the steps you took along with images displaying your changes. Additionally, please provide images of the updated character(s) at different screen sizes to validate proper hinting.
Communicating with the Team
The easiest way to communicate with the team is via GitHub issues. Please file new issues, feature requests and suggestions, but DO search for similar open/closed pre-existing issues before you do .
Please help us keep this repository clean, inclusive, and fun! We will not tolerate any abusive, rude, disrespectful or inappropriate behavior. Read our Code of Conduct for more details.
If you would like to ask a question that you feel doesn't warrant an issue (yet), please reach out to us via Twitter:
Kayla Cinnamon, Program Manager: @cinnamon_msft
Dustin Howett, Engineering Lead: @dhowett
Michael Niksa, Senior Developer: @michaelniksa
Rich Turner, Program Manager: @richturn_ms
Code of Conduct
This project has adopted the Microsoft Open Source Code of Conduct . For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
Recommend
-
78
Ligatures in programming fonts—a misguided trend I was hoping would collapse under its own illogic. But it persists. Let me save you some time— Ligatures in programming fonts are a t...
-
53
Fira Code: free monospaced font with programming ligatures
-
54
README.md
-
11
25 Feb 2020 Updated: 23 Mar 2020 software-dev ...
-
32
refterm v1 refterm is a reference renderer for monospace terminal displays. It was designed to demonstrate that even in the worst-case scenario - extremely slow Unicode parsing with Uniscribe and extremely slow glyph generation with...
-
13
Windows gets two new monospace system fonts Windows 10 and 11 will soon get two new monospace system fonts. System fonts are the default installed fonts that are available to use in any apps and website. This is the first time...
-
6
另外一個 monospace 的字型 Hera Lobsters Daily 上看到的字型 Hera。 以
-
8
Monospace Font Favorites July 26, 2016 20:11 / desktop
-
12
Butterick’s Practical Typography Ligatures in programming fonts:hell noLigatures in programming fonts—a misguided trend I was hoping would collapse under its own illogic. But it persists. Let me save you some time—Liga...
-
8
Aprex Mono: A Classic Monospace Font with Digital Smoothness May 19, 2023 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK