linebender / linebender/runebender

Move UI icons to a UFO file in the resources directory

Open
#248 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
799
Forks
35
PR merge metrics
No merged PRs in 30d

Description

An idea from a discussion in this pull request: https://github.com/linebender/runebender/pull/247

Would it be possible to load icons from a UFO file in the `resources` directory? Currently, I am drawing the icons in Runebender and pasting them into the `toolbar.rs` file (see the screenshot below).

rb-icons

I have a git repo for the icon UFOs I have worked with so far [here](https://github.com/eliheuer/runebender-icons/tree/main/ufo-icon-source/toolsbar-icons.ufo). It might be nice to just add a UFO like this to the resources directory so an external repo isn't needed to track these files.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting toolbar.rs and the resources directory, then compare the existing pasted icon definitions with the UFO source linked in the issue. Determine how Runebender currently loads resources and verify that the toolbar icons are loaded from a UFO file in resources rather than embedded in toolbar.rs.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.