linebender / linebender/piet

impl Text::font_family for cairo

Open
#430 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

missing-impl piet-cairo text
Dominant language
Rust
Stars
1.4k
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Currently this method just blindly succeeds; it should be checking if the input family name can be found, and returning an error if it cannot.

Contributor guide

Open the contributing guide

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

Locate the cairo implementation of Text::font_family and inspect how it currently handles an input family name and reports errors. Verify behavior with the existing cairo-related tests or test entry points, and consider the work done when an unavailable family produces an error instead of succeeding.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.