According @raphlinus (who was working on it) it is unfinished and community will have to continue the effort, which is going to be very hard (or to put it other way, it's much easier to improve something which already kinda works, which is not the case)https://raphlinus.github.io/rust/skribo/text/2019/04/26/skribo-progress.html …
-
-
Skribo does already “kinda work”. Enough that I’m going to be using it for Pathfinder.
1 reply 0 retweets 0 likes -
oh, in that case I've missed something, do you by a chance have some example anywhere? I'd love to give it a try
1 reply 0 retweets 0 likes -
https://github.com/linebender/skribo/blob/master/examples/render.rs … works for me (although I don’t have the Devanagari font installed). It needs to be tidied up into something easier to use—that’s what pathfinder_canvas is for.
1 reply 0 retweets 0 likes -
Just looking into that now, I was originally expecting something a bit closer to pango (text-align, line-height, letter-spacing, linebreaking, etc.) What is the state of the project? I could help with writing the code but I don't have any experience with these things.
1 reply 0 retweets 0 likes -
Ah, yes, the line breaking API is missing. That’ll be a separate project from skribo. Hopefully something can be extracted from or shared with Servo inline layout, which is being rewritten right now…
1 reply 0 retweets 0 likes -
HTML canvas doesn’t have line breaking, though, so that’s why I’m able to use just skribo.
1 reply 0 retweets 0 likes -
I see. I've noticed you have your own text layout in servo, and so it was a bit unclear to me what you're up to with skribo. So it's going to stay, you're just going to improve it a bit, right? Is it a good inspiration? what about minikin/libtxt? Do you have any reading on this?
1 reply 0 retweets 0 likes -
Right, that’s the idea… skribo should be the shaping engine for the next generation of Servo layout (which is being developed at https://github.com/SimonSapin/victor …). Also, I want to implement canvas fillText() using skribo and font-kit.
1 reply 0 retweets 0 likes -
wow, thx for sharing!
2 replies 0 retweets 3 likes
No problem :)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.