linebender / linebender/piet

CJK characters are rendered as rectangle.

Open
#338 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I was trying out druid label to render some text, but CJK characters are rendered as rectangles.

![Screenshot from 2020-10-13 17-58-38](https://user-images.githubusercontent.com/7972655/95846253-ce691b80-0d7d-11eb-8ed4-dbf1b258c48d.png)

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 reproducing the issue with a druid label containing CJK text and trace the text-rendering and font-handling path. Done means CJK characters render as glyphs rather than rectangles; no specific source file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
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.