adam7 / delugia-code Goto Github PK
View Code? Open in Web Editor NEWCan we add Nerd Fonts to Cascadia Code Font using a GitHub Action
License: MIT License
Can we add Nerd Fonts to Cascadia Code Font using a GitHub Action
License: MIT License
At the moment we have a crash (sigsegv) when we try to patch Cascadia Code 2007.01.
Working on it.
I'm using OpenType.js via https://proxzima.dev/CharacterMap/ to preview the unicodes.
Delugia version: v2111.01.2
Delugia Complete
(No scaling of unicodes as expected)Delugia Book
(Scaling of all other unicodes as expected except Powerline Extra Symbols
)Caskaydia Cove
(Scaling of unicodes as expected)There's been a new cascadia code release - 2008.25 https://github.com/microsoft/cascadia-code/releases/tag/v2008.25
Would be great to have delugia code update as well.
P.S. Thank you for the font, it's my primary in Windows Terminal
The lowercase letters in Delugia Code Italic (Cursive) don't match up with their counterparts in Cascadia Code Italic.
I think this improvement made would be beneficial to many Delugia Code users who want consistency between Delugia and Cascadia (including me!).
The current version of the font 1910.040. It might be worth adding a third value (1910.040.x) to the font so that Windows will update the font when you install them. It's not clear what the current behavior is (does an install update or ignore) and it's hard to confirm that anything changed.
Microsoft obviously changed the filenames in their release package.
Thus CascadiaCodePLItalic-Italic.ttf
can not be found.
I am on vacation with no laptop etc, will not be able to fix this before Aug 3.
But it should be simple to adapt the file names in our workflow.
Fini
I'm using Windows Terminal with PowerShell (pwsh.exe
)
Before with Delugia Nerd Font
Version 22d4cae
(v2105.24):
Now with Delugia
(Delugia-Complete.zip
), v2105.24-1-ga2e91f1
:
Hi i can use Delugia Nerd in cmd or powershell console, but not the latest Delugia. It is a bug or normal behaviour ?
When I use ''Delugia PL"(installed with scoop),But Delugia PL can work well in other Console (Windows Terminal)
Warning:
can't found font "Delugia PL"
please select "Cosoloas"
please install font of lack or select other
As I understand, this font updated when new cascadia code updated. But, when new nerd fonts updated with its added icons and bug fixes, this font not updated, just waiting for new cascadia code.
Please support updating font for the most updated cascadia code and nerd fonts.
Thank you.
OK. Great. It worked!
Now how do we go about re-run the actions on commits of upstream?
While examining the v2106.17
release files, I noticed that the version inside the files is wrong:
It shows as v2105.24.2-1-ga2e91f1
which is technically correct, but wrong.
Strangely the release shows the correct tag:
This means the tagging and releasing were performed instead as releasing and then tagging.
Maybe the reason is the merge commit and that I did it with the web GUI stuff where nobody knows what happenes ;) usually I use git push --follow-tags
to transfer a new commit and its tags in one go to create a new release.
Unfortunately the workflow changed a bit and I did only look superficial on the code.
Not sure if we want/need to re-release with correct version number embedded?
@adam7 Would you be open to extending the project to produce a Delugia font from Cascadia Mono?
Cascadia Mono is the version of Cascadia Code without ligatures. Supporting it may be useful for those environments that don't allow disabling ligatures (e.g. Windows Terminal).
I have a commit with these changes here: https://github.com/ArturDorochowicz/delugia-code/commit/a5ac037f5630df6038227c1bd38127bfc3da616b and I could open a PR if you're OK with this.
Noticed when I ran yo doctor
that the checkboxes were missing. Seems Cascadia Code hasn't included this character for some reason. I have posted an issue to them to include it.. But I've also noticed this version of the font adds another checkbox character (
with charcode 0xF00C).
I figured I could just copy that character into 0x221A in the fontforge desktop app. Could that be done by the script somehow? And should it, or should we wait for the Cascadia Code team to update their font instead? I got no idea how long it is until they start working on the symbols parts.
When I'm using backticks, rather than them appearing before the letter, they appear on top
so `a
comes up as à
instead.
I'm using a personal access token to tag and trigger a build if there's a new version of Cascadia. That's a pretty lame solution and it'd be much nicer to use Workflow Dispatch instead via this action https://github.com/marketplace/actions/workflow-dispatch
First let me say what an brilliant project - so useful! I was previously using the Nerd Font version of Cascadia and it was getting pretty old (2007.01 I think, which is from June last year and has been updated several times since).
The issue I want to report is that the icons appear too small in Delugia Nerd Font Complete. I almost ditched it completely to go back to the NF version, but thought I'd check for closed issues first. I found #31 which gave me the clue to try the Book version. This looks fine although icons sit a bit high perhaps - could do with aligning to center line rather than top?
Perhaps mention use of book for more usefully sized icons in the installation instructions?
Screenshots:
Icons too high:
Visually adjusted manually - this is about where I think they should be:
Choose an appropriate license (needs to be compatible with cascadia) and add it.
The Cascadia Code release 2105.24 now includes the Italic version.
But it seems to me that the italic version is not really used. Example:
The font is italic, but this is the "old" italic that has always existed, it looked exactly like this even before release 2105.24 (I guess this old italic is generated?). Note the letter "l". In the true italic version, it should have a loop, not just be slanted.
I am using the Delugia.Nerd.Font.Book.ttf.
Hello, first: Thanks for the project. I think it is a great idea to have many more decentralized but also automated projects turning fonts into nerd fonts instead of a single big one. And this shows how it can be done
I have noticed that basically all nerd font specific glyphs are being displayed very small compared to official unicode glyphs. It looks like all glyphs are occupying a single "width".
echo -e "\uf015HALLO\n🚀HALLO"
Is this expected? Is it the same for other users?
How do I install this on MacOs? thanks
When Cascadia Code Nerd Font
comes out (see https://www.github.com/microsoft/cascadia-code/pull/720) we should consider if this project is still needed or not.
For me, personally, I still use Delugia albeit I improved the Caskaydia Nerd Fonts version. I believe we should think about the differentiation of the three projects (i.e. Delugia, Caskaydia NF, Cascadia).
Anyhow, I guess we should halt the auto-release of a Delugia version on Cascadia releases until we can see and examine the outcome of Cascadia NF, and how good it will fit our 'customers' needs.
We could also think about updating Delugia to Nerd Fonts v3.2.1, if it has any merrit.
I hope to start some open discussion and brainstorming here.
When using the Delugia Nerd Font the back tick character is not displaying correctly.
This is quite apparent in JavaScript code that uses a template literal.
const displayText = /api/Person/${personId}
;
This seems to move the back tick over the semi colon making it harder to determine if the backtick is actually present.
const displayText = someFunction(/api/person/${personId}
);
With this issue when combined with a closing bracket the back tick is removed but the character remains when you move the cursor with the arrow keys.
Thanks for your post and the repo. Although the README does not explain how to actually patch the fonts, your post and (hidden) workflow helped a lot. I think there is an error in the script that downloads the source fonts for patching tho, two files aren't download correctly, these two lines are missing ?raw=true
so they would be downloaded correctly.
I also would like to ask if I can create a repo based on yours with a shell script to patch any font. Cloning the whole Nerd Fonts just to patch a few fonts seems like an overkill.
Regards
Looks like a new update to Cascadia code to base a new release off of.
After #6, the font name isn't showing up correctly in Windows:
The full name is "Delugia Nerd Font" and it does show up that way in Visual Studio.
Looks like a disconnect between the Windows display name and the font name?
It seems Scoop has been abandoned, so the bucket should be available to install with Chocolatey, which seems to be actively mantained
Hey!
I used to painstakingly patch Cascadia Code manually to include Nerd glyphs, before I found this repo. Many thanks for this!
But I'm facing a similar issue that I faced with Caskaydia (nerd font version of Cascadia) - when installing, two fonts show up:
Is this expected? Shouldn't the Light variant show up along with Regular and Bold in the Delugia
font itself?
For now, I manually edited family name in the font files DelugiaCompleteLight.ttf and DelugiaCompleteLight-Italic.ttf from "Delugia Light" to "Delugia" in Fontforge and then installed it to solve the issue.
I love using Delugia Code since it is currently the only "working" version of Cascadia Code with all Nerd Fonts patched.
The Nerd-Fonts font has rendering issues (with my setup). The official PL-version of Cascadia Code does not include all Nerd Fonts, but only the Powerline Symbols.
So any chance of updating Delugia Code with the newest font version. Currently that is 2102.03: https://github.com/microsoft/cascadia-code/releases/tag/v2102.03 and it was just released yesterday - maybe this can also automated with a Github action?
Terminal config:
"fontFace" : "Delugia Nerd Font",
"fontWeight": "light",
"fontSize" : 10,
Results in bold font
Thank you for this awesome project! It would be great if we can add more symbols.
delugia-code/.github/workflows/ci.yaml
Line 82 in a16ac8c
According to the above two links, font-patcher
used in this repo is older than the one which has support for codicons. So why not use the latest version in order to get more symbols?
Hello! When using the bold font for Delugia, the font is rendered extremely wrong. I've attached a comparison of this happening within gvim on Windows.
This is as of the last two releases for Delugia. I've upgraded (and downgraded) a few times and it's a very recent change.
At the moment, the default option is 0 with a dot, and only in some editors it is possible to use an alternative
I'm trying to use the complete set in Terminal, but it can't seem to find it....
I have it installed for all users
But despite setting the fontFace to what I believe the correct value to be (and trying lots of other variations), I can't seem to get Terminal to pick it up:
Not sure if the string value is correct or if there's possibly an issue in Terminal.
Update: Looks like the correct value in the profiles.json is: Delugia Nerd Font
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.