chenglou / chenglou/pretext

Thank you for open-sourcing this project

Open
#12 1 comment 14 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
50.3k
Forks
2.7k
Avg merge
2h 40m
Merged PRs (30d)
69

Description

I've always been troubled by these issues(Shaping, BiDi, clusters...) with text rendering in WebGL/WebGPU.
I previously documented some of my practices(bidi-js + arabic-reshaper) in this section, and now I can finally replace them with this solution.
https://infinitecanvas.cc/guide/lesson-015

I can provide an example of `text-baseline` and `max-lines + text-overflow: ellipsis | clip`, rendered with SDF / MSDF in WebGL/WebGPU:
https://infinitecanvas.cc/example/pretext

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the linked lesson-015 documentation and pretext example, which demonstrate the text-rendering practices and requested baseline, line-limit, and overflow cases. No source files, tests, implementation entry point, or acceptance criteria are identified; done would require defining the supported scope for these cases and adding corresponding implementation coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.