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

Adds a revision of the logo SVG file with matching font #33

Merged
merged 2 commits into from Aug 18, 2018

Conversation

samueldr
Copy link
Member

@samueldr samueldr commented Aug 17, 2018

This has been re-constructed by using the scale() from @timbertson's nixos-logo-ideas/nixcon.svg file, and manually adjusting it over the metrics of the current logo. (That particular file does not match with the spacing between the x and the O).

The added file, furthermore, specifically asks for Vegur602 as the font family name, which is why there is a derivation that patches the file to have that name. This way it's definitively going to use the right font.

This has been bugging me for a long while: finding the original font matching the metrics.

It is either:

  • Vegur 0.601
  • Vegur 0.602

Version 0.600's i does not match. I have been quite lucky that archive.org had the zip files.

I'll merge this myself soon, unless someone has something against it.

This is to supplement the available information about the logo.
This is a locally available cache for posterity.
@timbertson
Copy link

👍 Nice work! I had no idea my version of Vegur was novel. Sorry, if I'd known I could have given you mine (though I can't remember where it came from). For the record:

$ md5sum ~/.local/share/fonts/Vegur-Regular.otf 
6e0aea27ff3e8fd96519da4001251a4c  /home/tim/.local/share/fonts/Vegur-Regular.otf

(ctime Feb 10, 2013)

And yes, your assumption is correct - I manually adjusted the spacing / scale to make the text a little tighter packed, the default spacing looked a bit loose to me.

I tried this locally, it took me a while to figure out how to get the built font to load though. Perhaps you could add a hint? env XDG_DATA_HOME=(pwd)/result/share inkscape ../nixos.text.svg worked for me (from inside the font directory).

Oh, and eog (default gnome viewer) ends up picking a light font for some reason. Inkscape gets it right though. I made a copy and deleted the "Vegur-L" otf file, and that made it pick up the right font. I don't know the technicalities of how font matching is done in SVGs, but I guess as a hack you could delete the L variant in the build phase 🤷‍♂️

@samueldr
Copy link
Member Author

samueldr commented Aug 17, 2018

(I cheated and copied the built font to ~/.local/share/fonts)

As for the wrong font being picked up, I'm treating this as a non-issue. I should add a note that the svg file is intended for use with inkscape only, to use the baked-in vectors instead. Not only eog would take the wrong font, but using the text-based version would fail spectacularly on the web since the user probably won't have the font.

@samueldr
Copy link
Member Author

As for the file you have, it's vegur 0.701. It doesn't match:

The green parts are the baked-in outlines, and the black is Vegur (0.701) as rendered by inkscape

image

Doing the same exercise with Vegur 602 and 601 results only in minor fringing due to antialiasing.

Either you updated your font since creating the logo, or another user used an earlier version when baking-in the outlines.

Copy link

@timbertson timbertson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, very strange. Oh well, thanks for your work in replicating this!

@samueldr samueldr merged commit 2561be1 into master Aug 18, 2018
@samueldr samueldr deleted the feature/font branch August 29, 2018 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants