Re: [csswg-drafts] Proposal: cjk-dir: new property for RTL horizontal CJK, as well as for vertical CJK together with RTL(Arabic, Persian, etc.) text (#3608)

> So from your replies, there are one common reason for not adding support for this: implementation difficulty.

No, it's the combination of lack of usecase (and proof of usecase) and implementation difficulty. If something has strong usecase, and it's not terribly complicated to implement, browsers may still try to do that. `writing-mode` itself is complicated enough, but it does have strong usecases, which is why it's get added and implemented. However, an imaginary usecase is unlikely to be able to justify a complicated implementation.

> I think the implementation difficulty is primarily due to lack of support of such typography in low-level graphics layer, such as GDK/GTK. I am not sure, but I am interested in looking into this issue in the further.

I don't think so. I believe the main problem is from calculating various metrics like text position and baseline in layout. There are way too many possible combinations of features can affect text layout. They all need to be taken into consideration when implementing.

Graphics side of this should be identical to what other vertical writing modes require, so it's unlikely to be a problem I suppose.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3608#issuecomment-460544833 using your GitHub account

Received on Tuesday, 5 February 2019 07:57:43 UTC