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
-
-
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 -
Open source takes time to do right but will get there. If you want it quicker, feel free to fund the work or contribute!
1 reply 0 retweets 0 likes -
Replying to @raphlinus @pcwalton and
yeah, I know - and I could help but I'd need a guidance because my domain knowledge on text layout is close to zero
1 reply 0 retweets 0 likes
I'm open to mentoring people. No rush on this, as I'll keep my ears and eyes open for people willing to take it on (and am busy today with something else exciting), but appreciate your willingness to consider.
-
-
Replying to @raphlinus @pcwalton and
ok, ping me then :) I'll need to do some text layout anyway
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.