Search
7:58:31
Shinmera
The original Slug paper was published in 2017
7:58:41
Shinmera
talk of the patent being recognised only popped up this year
7:58:59
Shinmera
Which would mean either the patented technique is different, or the patent is not valid due to prior publication, yeah?
7:59:24
|3b|
have to look at filing date i think
7:59:32
|3b|
ACTION has no idea about details of that stuff though
7:59:39
Shinmera
I sent the author a tweet, maybe he'll be so kind to respond.
8:12:45
Shinmera
Anyway, looking at the text stack:
8:12:56
Shinmera
- Line wrapping (done, UAX9)
8:13:06
Shinmera
- Bidi reordering (done, UAX9)
8:13:27
Shinmera
- Text layout (not done, ??)
8:13:39
Shinmera
- Glyph rendering (not done, ??)
8:13:55
Shinmera
* Line wrapping (done, UAX14)
8:16:10
Shinmera
There's also UAX29 and UAX50 to worry about
8:16:49
Shinmera
For text layout I mean stuff like alignment options and an algorithm that actually selects line break options.
8:17:07
Shinmera
So it would need glyph metric information
8:41:13
Shinmera
|3b|: He replied that the paper was published after filing the patent
8:42:51
Shinmera
RIP that technique for good, then
8:45:16
Shinmera
What do you think of the Pathfinder approach?
8:49:25
Shinmera
https://github.com/servo/pathfinder
8:49:25
Colleen
github.com/servo/pathfinder Website (HTML), Title: GitHub - servo/pathfinder: A fast, practical GPU rasterizer for fonts and vector graphics
8:49:29
Shinmera
Uses GPU tesselation, iiuc
8:53:33
Shinmera
Though figuring out which part of that stuff to tear out to get glyph rendering is giving me a headache
9:07:31
|3b|
doesn't sound too bad, looking at https://nical.github.io/posts/a-look-at-pathfinder.html
9:07:31
Colleen
nical.github.io/posts/a-loo... Website (HTML), Title: Eight million pixels and counting – A look at pathfinder
9:08:08
Shinmera
Looking forward to 3bpf :)
9:08:39
|3b|
heh, that might be a while :p
9:08:51
|3b|
(though does sound like an interesting project)
9:09:12
Shinmera
Maybe it'll be ready by the time I've worked myself up from the gutters to the top of the stack
9:09:42
|3b|
ACTION will probably just use (m)sdf atlas for now, with bmfont metadata
9:10:06
Shinmera
Yeah, thought so. I just really like the idea of something that doesn't need an atlas.
9:10:16
|3b|
possibly mixed with whatever you have for layout etc by the time i need text
9:10:54
|3b|
ACTION is also wondering about whether it would be reasonable to generate sdf atlas on GPU at runtime
9:11:26
|3b|
seems like it would be a good fit for GPU stuff
9:11:30
Shinmera
Maybe, but needing a texture large enough to hold all glyphs in a font can still be bad
9:11:53
|3b|
well, how many glyphs do you actually display at once though?
9:12:12
|3b|
and how quickly does that set change over time?
9:12:20
Shinmera
Hmm, good questions.
9:12:43
Shinmera
Though having to recompute atlases at runtime when the set changes might introduce unwanted stutters if it's not fast enough.