[css-houdini-drafts] [css-typed-om] Should Houdini support line break API? (#1060)

FrankYFTang has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [css-typed-om] Should Houdini support line break API? ==
I am proposing a enhancement of Intl.Segmenter API (adding line break support) to TC39 for ECMA402 (see https://github.com/tc39-transfer/proposal-intl-segmenter-v2 ) The API expose "line break opportunity" of text which implement the
UnicodeĀ® Standard Annex #14 UNICODE LINE BREAKING ALGORITHM (see https://www.unicode.org/reports/tr14/) 
so it can be used for developer to use it with
1) multitple line of text rendering in <canvas>
2) jsPDF and other context which need to layout text into multiple lines
3) SVG multiple lines of text
  
During the stage advancement discussion, one delegate suggest me to reach out to Houdini to see which one of the following is better
1) Houdini add such API to allow developer to use it for <CANVASE>, SVG , or jsPDF (therefore there are no need to add them into ECMA402), OR 
2) TC39 add such API into ECMA402 so developers using Houdini could use that WITH Houdini API

Please comment so we can move forward better in TC39 / ECMA402. Thanks

Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/1060 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 16 December 2021 02:31:26 UTC