linebender / linebender/piet

Load fonts from raw data on cairo backend

Open
#457 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

See https://stackoverflow.com/a/10846042/5799890 for a hacky solution
We can also write the font to a tmp file.

Tagging @ForLoveOfCats as they got their name on the note

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

Start by reviewing the cairo backend and the linked Stack Overflow solution for loading fonts from raw data. Compare that approach with writing the font to a temporary file, then clarify the supported input and backend behavior. Done means the chosen approach loads a font from raw data through the cairo backend.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.