12
8
Fork
You've already forked logo
2

Rebase shading of Zero on original svg to reduce filesize #26

Merged
andrewrk merged 2 commits from db1386cf-9f9c-4d33-a890-c48f6a1847a3/zig-logo:patch-shading into master 2026年03月12日 02:11:00 +01:00
Contributor
Copy link

The shading on Zero appears to be done in Inkscape, which destructively altered the original geometry's integer coordinates during file save.

This PR extracts the shading components and manually appended them to the original svg file, significantly reducing the file size.

This PR also re-adds the original unshaded version as zero-unshaded.svg

Personal recommendation: while not included in this PR, I'd suggest that the filenames be inverted -- that zero.svg be the OG unshaded reference and name the shaded version zero-shaded.svg instead.

The shading on Zero appears to be done in Inkscape, which destructively altered the original geometry's integer coordinates during file save. This PR extracts the shading components and manually appended them to the original svg file, significantly reducing the file size. This PR also re-adds the original unshaded version as zero-unshaded.svg Personal recommendation: while not included in this PR, I'd suggest that the filenames be inverted -- that zero.svg be the OG unshaded reference and name the shaded version zero-shaded.svg instead.
andrewrk left a comment
Copy link

Thanks. Feel free to send your file renaming suggestion patch as well

Thanks. Feel free to send your file renaming suggestion patch as well
Author
Contributor
Copy link

Thanks! Opened a separate PR for that.

Thanks! Opened a separate PR for that.
Sign in to join this conversation.
No reviewers
Labels
Clear labels
bounty
https://ziglang.org/news/announcing-donor-bounties
bug
Observed behavior contradicts documented or intended behavior.
contributor-friendly
This issue is limited in scope and/or knowledge of project internals.
downstream
An issue with a third-party project that uses this project.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
infra
An issue related to project infrastructure, e.g. continuous integration.
optimization
A task to improve performance and/or resource usage.
question
No questions on the issue tracker; use a community space instead.
regression
Something that used to work in a previous version stopped working
upstream
An issue with a third-party project that this project uses.
use case
Describes a real use case that is difficult or impossible, but does not propose a solution.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ziglang/logo!26
Reference in a new issue
ziglang/logo
No description provided.
Delete branch "db1386cf-9f9c-4d33-a890-c48f6a1847a3/zig-logo:patch-shading"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?