linebender / piet

An abstraction for 2D graphics.
Apache License 2.0
1.25k stars 94 forks source link

vertical text support #531

Closed ekicyou closed 1 year ago

ekicyou commented 2 years ago

I'm experimenting with piet-direct2d to incorporate vertical text support.

  1. Is there room to introduce a writing-mode API into piet-common? I can't develop anything other than direct2d.

  2. In vertical-rl, the origin is on the upper right, is there any discussion? Is it possible to support druid?

  3. In vertical, TextLayoutBuilder::max_width is the height specification, is there any discussion?

ekicyou commented 1 year ago

We will close because we do not expect official demand for the time being. I will continue the experiment with a fork.

cmyr commented 1 year ago

Indeed, we are not currently looking to add more features to the text API, although vertical text is definitely something we would want to support in an eventual text API for piet-gpu!