- From: Mike Bremford via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Apr 2020 08:51:38 +0000
- To: public-css-archive@w3.org
The proposal from @jfkthame is fairly close to the same process you have to go through for OpenType layout - each character has to be assigned to a script, with common, inherited or unknown characters adopting the script of their neighbouring characters. These are [OpenType Script codes](https://docs.microsoft.com/en-us/typography/opentype/spec/scripttags) rather than Unicode Script codes, but for the scripts discussed in the proposal there's no ambiguity mapping between them. I don't think the exact algorithm is specified - I think lots of people use Harfbuzz these days, perhaps someone that knows it can comment better ([ref](https://github.com/harfbuzz/harfbuzz/blob/master/src/hb-buffer.cc#L617)) I can't comment on whether the proposed algorithm is the right one. But if it is, and if you're doing OpenType layout and can retrieve the script property it assigns to each run of text, then reusing it for ink skipping seems to be a good idea. -- GitHub Notification of comment by faceless2 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4276#issuecomment-617644973 using your GitHub account
Received on Wednesday, 22 April 2020 08:51:40 UTC