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

Add Cascadia Mono #1412

Merged
merged 3 commits into from
Nov 16, 2023
Merged

Add Cascadia Mono #1412

merged 3 commits into from
Nov 16, 2023

Conversation

Finii
Copy link
Collaborator

@Finii Finii commented Nov 13, 2023

Description

This adds the ligature less Cascadia Mono.

Requirements / Checklist

What does this Pull Request (PR) do?

How should this be manually tested?

Any background context you can provide?

What are the relevant tickets (if any)?

Fixes: #520

Screenshots (if appropriate or helpful)

@Finii Finii added this to the v3.1.0 milestone Nov 13, 2023
@Finii Finii marked this pull request as ready for review November 16, 2023 16:35
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
CascadiaCode: Rehint and use ttf

[why]
A lot people (read: People on Windows) have the variable font (VF) version of
Cascadia Mono installed - it comes bundled with Windows Terminal.

The static Cascadia Mono instances that Microsoft releases are hinted
with ttfautohint which creates small sized glyphs that are visibly very
different. People compare the static Caskaydia Mono with the VF Cascadia
Mono and are surprised.

[how]
We need to re-hint all the fonts, to get hints that are comparable
to the VF hints. We can not use the hints of the VF because the outlines
are different: The VF has (of course) overlapping outlines, while the
static ones (as usual) have not.

The re-hinting can be done with VTT or TTH - both showed results that
are more like the original VF font. The usual ttfautohint has been used
of the static fonts in the font release and can not be used. It is the
reason for this whole problem.

* Used VTT 6.35
* Open font file in VTT
* Import all programs
* Generate 'VTT talk' via Tools -> AutoHint -> LightLatinAutoHint
* Save font file as ...

References:
microsoft/cascadia-code#371
https://learn.microsoft.com/en-us/typography/tools/vtt/

See also commit
  b6301e5 CascadiaCode: Rehint and use ttf

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii
Copy link
Collaborator Author

Finii commented Nov 16, 2023

Needed to force push to resolve changelog.md conflict. Force push.

@Finii Finii merged commit b13b0e1 into master Nov 16, 2023
1 of 2 checks passed
@Finii Finii deleted the feature/Add-Cascadia-Mono branch November 16, 2023 16:43
@wookayin
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version of Cascadia Mono?
2 participants