Giter VIP home page Giter VIP logo

Comments (27)

Finii avatar Finii commented on May 19, 2024 3

Created a PR with all the changes discussed here.

from delugia-code.

Finii avatar Finii commented on May 19, 2024 2

Well, I also wondered why Microsoft choose to use different families for the italics fonts.
But then, mother knows best, so I kept it the way they do it.

Lets see how other fonts that I have do it...

  • Family Name
    • Human Name (Weight)

Archeron

  • Archeron Pro
    • Archeron Pro Regular (Medium)
    • Archeron Pro Regular italic (Medium)
    • Archeron Pro Bold (Bold)
    • Archeron Pro Bold italic (Bold)
  • Archeron Pro Book
    • Archeron Pro Book (Book)
    • Archeron Pro Book italic (Book)
  • Archeron Pro Heavy
    • Archeron Pro Heavy (Black)
    • Archeron Pro Heavy italic (Black)
  • Archeron Pro Light
    • Archeron Pro Light (Light)
    • Archeron Pro Light italic (Light)
  • Archeron Pro Medium
    • Archeron Pro Medium (Medium)
    • Archeron Pro Medium italic (Medium)

Baron Neue

  • Baron Neue
    • Baron Neue (Regular)
  • Baron Neue Italic
    • Baron Neue Italic (Regular)
  • Baron Neue Bold
    • Baron Neue Bold (Bold)
  • Baron Neue Bold Italic
    • Baron Neue Bold Italic (Bold)

Radal

  • Radal
    • Radal Regular (Normal)
    • Radal Italic (Normal)
    • Radal Bold (Bold)
    • Radal Bold Italic (Bold)
  • Radal UltraBold
    • Radal UltraBold (ExtraBold)
    • Radal UltraBold Italic (ExtraBold)
  • Radal Black
    • Radal Black (Black)
    • Radal Black Italic (Black)

And the unpatched (non Nerd Font) JetBrains Original:
JetBrains Mono

  • JetBrains Mono Light
    • JetBrainsMono Light (Light)
    • JetBrainsMono Light Italic (Light)
  • JetBrains Mono
    • JetBrains Mono Regular (Book)
    • JetBrains Mono Regular Italic (Book)
    • JetBrains Mono Bold (Bold)
    • JetBrains Mono Bold Italic (Bold)
  • JetBrains Mono Medium
    • JetBrains Mono Medium (Medium)
    • JetBrains Mono Medium Italic (Medium)
  • JetBrains Mono ExtraBold
    • JetBrains Mono ExtraBold (Heavy)
    • JetBrains Mono ExtraBold Italic (Heavy)

Hmm. This looks different then @Mellbourn 's screenshot. Lets check the NF version... Ah, they drop the different family names while patching 🙄

ANYHOW. I must admit that I wondered why MS put the italics in a separate family, and I tend to change that, so that we have a 'basic' group of 4 fonts with the usual normal suspects, and all the others get into additional families, as it is custom.

Have to tend the children, mompl.

from delugia-code.

Finii avatar Finii commented on May 19, 2024 2

I guess this can be closed? Please reopen if this is still an issue with release v2105.24.2.

from delugia-code.

Finii avatar Finii commented on May 19, 2024 1

Well, this is the same as #44 and #45.

Cascadia has a lot of weights and styles included in the lineup.
Delugia is just the ordinary regular (in weight) and normal (in style).

The basic font modifications (bold, italic, bold-italic) are simulated by a lot applications / font renderers, if the font itself does not provide them (just because ppl expect that).

Cascadia follows two approaches: It has one very modern font file, that holds all the weights and styles, by describing just the differences. It further has a lot of 'simple' font files, with all the style-weight combinations rendered out.
Unfortunately, I believe, fontforge is unable to handle these 'new' font format files. At least am I not able to generate modern OTF featured fonts with it. This leaves us with the option to generate 'old style' files. I.e. one file per style-weight.

This is what we do at the moment. But now we have the request to also supply

  • bold (#44)
  • light (#45)
  • italic (#58)
  • bold-italic (will come I bet)
  • light-italic (*sigh*)

At the moment we generate 5 'output' fonts just for 'regular'. Of course we can generate all that individual files, to a sum of 6*5 output files. I'm not sure if this is kind of overkill?

Anyhow, the change to produce them is (expected to be) very simple. And in some issue I promised to set this up. Hmm, need to get my arse up ;)

from delugia-code.

Finii avatar Finii commented on May 19, 2024 1

Thanks @raprocks for the feedback! I really appreciate it.

Unfortunately no one of the related issues sent any feedback. So I invite explicitely @Mellbourn @slurps-mad-rips @jebej and @offero to have a look and check if their issues would be solved with this.

I would just pull the fixes into master here, but as the complete naming has changed etc, maybe @adam7 has an opinion?

Thanks, Fini

from delugia-code.

Finii avatar Finii commented on May 19, 2024 1

Just noticed a flaw in the changes: The version is not deduced correctly. Fixing...

The new artifacts can be found here: https://github.com/Finii/delugia-code/actions/runs/960573187

from delugia-code.

Finii avatar Finii commented on May 19, 2024 1

It was the latest master commit 22d4cae which broke our font versioning... actions/checkout update from 1 to 2 was the culprit 🙄 Fixed now of course.

from delugia-code.

bruxisma avatar bruxisma commented on May 19, 2024 1

I'll take a look later today. I'm only subscribed to the issue I had opened, so I wasn't aware there were other issues 😅

from delugia-code.

Finii avatar Finii commented on May 19, 2024 1

I will change the repo above to put the bread-and-butter fonts (regular, bold, italic, bold italic) into one family.

Did not and do not understand why it is different at Cascadia, but obviously it can cause problems ;-)

from delugia-code.

adam7 avatar adam7 commented on May 19, 2024 1

I’m away on mobile only for the weekend, looks good at a quick glance but I’ll try and do a proper review Monday

from delugia-code.

Mellbourn avatar Mellbourn commented on May 19, 2024 1

I can confirm that it works for me now! 🎉
italics

from delugia-code.

Mellbourn avatar Mellbourn commented on May 19, 2024

The new Italics in Cascadia look really good, so I for one would not think that it would be overkill to generate 30 files.

from delugia-code.

Finii avatar Finii commented on May 19, 2024

I have not even looked at the output 🙄, but you can check it out here:

https://github.com/Finii/delugia-code/actions/runs/890686198

Note:

  • The naming changed a bit when we added the light and bold fonts.

  • Group the created fonts by interest (small (powerline), complete, book) and release as zip packages.

  • To reduce the font name length the 'Nerd Font' has been dropped out of the (file) names.

  • The actual naming scheme changed to accommodate the new fonts.

  • and for your convenience we pack fonts that one particular user might want to use together in a zip archive.

  • Scoop installation needs to be repaired after a naming change, I guess.

Possible fix for #44, #45, and #58.

from delugia-code.

raprocks avatar raprocks commented on May 19, 2024

@Finii , these the files from this build work flawlessly. I was trying to manually patch Cascadia since 3 days and didn't have any luck but i came across Delugia yesterday and tried the complete zip today. Works flawlessly on windows Terminal. Thanks 😄.

from delugia-code.

raprocks avatar raprocks commented on May 19, 2024

Didnt notice the version being different, i was lost in the happiness of the italics working 😂.

from delugia-code.

Finii avatar Finii commented on May 19, 2024

@slurps-mad-rips Thank you!

I did the backlink to your issue, but probably obviously one does not get notified for those:
image

Smarter every day :-D

from delugia-code.

Mellbourn avatar Mellbourn commented on May 19, 2024

@Finii unfortunately this does not fix my original problem.

I don't really know a lot about fonts, but I think the fonts you have prepared are not classified correctly according to font family. Dragging and dropping your font files into ~/Library/fonts will cause this look in Font Book (on macOS):

delugia font book

Note how there are many "folders" of fonts, I believe that means that they are different font families.

Compare this with JetBrainsMono Nerd Font:

JetBrains Mono in Font Book

All variants are in the same font family.

Why does font family matter? Because terminal programs like iTerm, which have the ability to show both normal and italic versions of text, have to be able to "find" the italic version. iTerm can only find different versions in the same font family. So, iTerm can show both normal and italic versions of JetBrainsMono Nerd Font, but if you configure it to show Delugia Book it will not be able to find the corresponding italic, because Delugia Book Italic is registered as a separate font family.

from delugia-code.

raprocks avatar raprocks commented on May 19, 2024

@Mellbourn I thought the same way before trying it out, the thing is Cascadia is bring shipped similarly. As i said, i didn't know Delugia was a thing because i was trying to patch Cascadia manually using the NF patcher but i was getting the problem you mentioned. I use Windows Terminal and this works Flawlessly and renders italics in the new font and the normal text in the original font. Give it a try. I can provide a screenshot if you need.

from delugia-code.

bruxisma avatar bruxisma commented on May 19, 2024

OK, finally had time to test this. When installed the "Delugia" font does not come with a "normal" setting on Windows, so I have the choices of using light (which looks... I'll be honest not great) or bold, which... results in everything being bold. For some reason the default 'font' setting is the italic version. There is no "regular", "default", or "medium". The GOOD NEWS is that the weirdness with the bold fonts is gone with this setting. The bad news is that I just can't use this... 😅

from delugia-code.

raprocks avatar raprocks commented on May 19, 2024

where are you using the font and where are these settings? @slurps-mad-rips

from delugia-code.

bruxisma avatar bruxisma commented on May 19, 2024

This was in gVim on Windows 10, in the font picker. (Edit > Select Font...)

image

from delugia-code.

raprocks avatar raprocks commented on May 19, 2024

well i cant say for sure about that but in windows terminal if i select Delugia i get the italic version when its needed but if i select the Delugia Italic every thing is rendered in the italic font. maybe some font family naming problems but it is how Cascadia is

from delugia-code.

Finii avatar Finii commented on May 19, 2024

At least in Writer it looks good:

delugia_styles_in_writer

Light is in a different font, but the 4 basic fonts can be reached by one entry in the font chooser.

The artifacts can be found in this new run: https://github.com/Finii/delugia-code/actions/runs/973562182

Please have a look ;-)

from delugia-code.

Finii avatar Finii commented on May 19, 2024

The naming change is explained here: Finii@aea4156

from delugia-code.

Finii avatar Finii commented on May 19, 2024

RFC:

With {} being our 5 styles:
  PL, MonoPL, Complete, MonoComplete, Book

We ship via 3 archives: Delugia Powerline, Delugia Complete, and Delugia Book.

Powerline contains PL and MonoPL.
Complete contains Complete and MonoComplete
Book contains Book

I believe normally people install / need only one of the 5 font sets.

Would it be better to create 5 archives to make clear what belongs together? Or is the current shipping good? Or any other ideas?

from delugia-code.

raprocks avatar raprocks commented on May 19, 2024

from delugia-code.

adam7 avatar adam7 commented on May 19, 2024

I think the 5 archives would be clearer and if people usually only want one of the 5 no need to bundle them

from delugia-code.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.