Skip to content

Parley GlyphRun rendering + Parley widget#608

Closed
dhardy wants to merge 12 commits intomasterfrom
parley
Closed

Parley GlyphRun rendering + Parley widget#608
dhardy wants to merge 12 commits intomasterfrom
parley

Conversation

@dhardy
Copy link
Collaborator

@dhardy dhardy commented Nov 26, 2025

Uses #607.

Adds support for rendering Parley GlyphRun objects. Since we already use Swash for rastering glyphs, this isn't too hard.

Caveat: this code probably loads the fontique font database and each used font twice (once by Parley and once by kas-text). This should be solvable but probably requires changes to Parley (linebender/parley#373).

Adds support for sizing Parley text objects and a Parley text widget. This code is hacky and badly rebased (originally written in May, rebased now but without fixing much of the code).


This was written as a proof-of-concept, motivated in part by the differences between kas-text (greater focus on performance) and Parley (more capabilities, modelled to some extent on CSS).

I'm not really convinced we want this.

@dhardy dhardy closed this Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments