这是indexloc提供的服务,不要输入任何密码
Skip to content

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
@Finii Finii force-pushed the feature/Add-Cascadia-Mono branch from c2ed5e9 to 3e043dc Compare November 16, 2023 16:39
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 Finii force-pushed the feature/Add-Cascadia-Mono branch from 3e043dc to 496c17b Compare November 16, 2023 16:42
@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
@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?

3 participants