Skip to content

Commit c48f7f0

Browse files
committed
Update todo list
1 parent 48df426 commit c48f7f0

File tree

2 files changed

+53
-49
lines changed

2 files changed

+53
-49
lines changed

parley-todo.md

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
Parley:
2+
- Text truncation with ellipsis
3+
- serde support for some types (the selection ones at least)
4+
- Vertical alignment options, especially for InlineBox
5+
- Ability to set line.offset
6+
- This can't just be a visual thing because of hit testing; Layout needs to agree on where everything is
7+
- Absolute line height
8+
9+
Here:
10+
- Text rendering
11+
- Implement max_rows for wrapping
12+
- Sometimes when resizing the Font Book window, the text doesn't wrap properly
13+
- Investigate whether swash is being too conservative with its shape bounds and cutting off rendered glyphs
14+
- We don't need to do all the weird DPI stuff now, probably
15+
- (see https://github.com/emilk/egui/issues/3664 for an example of the hacks we can get rid of)
16+
- A bunch of font atlas stuff
17+
- I think it's a bit broken right now
18+
- Automatically switch between multiple atlases if one isn't enough
19+
- There will not be any "the font texture" anymore
20+
- Use etagere instead of rolling our own atlas?
21+
- Use monochrome texture for font atlas (R8 format)
22+
- Does the current one only use RGBA so we can use the same shader for everything?
23+
- Probably needs support in the backends for mask-only textures (gl.ALPHA and whatever the wgpu equivalent is)
24+
- Have separate atlases for color emoji and glyphs/discs
25+
- Colored emoji
26+
- Text selection and editing
27+
- Unify the three different cursor types and move to a Parley-like API before moving to the actual Parley API
28+
- Rewrite selection code to use parley's API
29+
- AccessKit integration(?)
30+
- Text styling
31+
- Fix FontDefinitions and adding fonts
32+
- Get fallback/ordering working properly
33+
- Auto fallback to faux italics (and perhaps faux bold)
34+
- run.synthesis()
35+
- Actually render text decorations (underline, strikethhrough, etc) and backgrounds
36+
- Strikethrough and underline
37+
- Better (more CSSish) font API
38+
- move font db into FontDefinitions
39+
- Families and not just files
40+
- Option to load system fonts
41+
- FontTweak is very not-implemented
42+
- Can we do bold now?
43+
- Revamp TextFormat in general
44+
- Can it cascade?
45+
- Letter spacing
46+
- Hinting enable/disable
47+
- Cross-cutting concerns
48+
- Global/scoped RTL? Do we get bidirectional support for free if we use Parley's APIs?
49+
- Actually remove all the ab_glyph stuff
50+
- Perf optimizations!
51+
- Stop using TreeBuilder so we don't have to allocate a bunch of strings
52+
- https://github.com/emilk/egui/issues/1098
53+
- Enable shape_run_cache

parley-todo.txt

-49
This file was deleted.

0 commit comments

Comments
 (0)