回复:the max-width for css-style should be taken into consideration when drawing text

2017-11-06 Thread 谷宝剑(剑白)
great work,  specific width and height,  improve text measure performance. --发件人:xing zhang 发送时间:2017年11月6日(星期一) 10:55收件人:dev 主 题:Re: the max-width for css-style should be taken into consideration when drawing text It's re

Re: the max-width for css-style should be taken into consideration when drawing text

2017-11-05 Thread xing zhang
It's related with the algorithm drawing text: consider width first, if the css width is not specified, (consider about max-width now ) then we use `infinite` width as it's width meassuring the height. But people may don't know it's text width , the max-width is set. In a words, calculate text hei

Re: the max-width for css-style should be taken into consideration when drawing text

2017-11-04 Thread Adam Feng
Thanks for your contribution,  I have seen the pull request and reviewed the code,  it looked good to me,   can `max-height` also be supported? Thanks. Adam Feng On 5 Nov 2017, 12:22 PM +0800, xing zhang , wrote: >     Hi , I open an issue for support max-width in iOS, as it works well both > o

the max-width for css-style should be taken into consideration when drawing text

2017-11-04 Thread xing zhang
Hi , I open an issue for support max-width in iOS, as it works well both on Android and web. As I test the css for `max-width`, it works well both on Android and Web platform except iOS. Here is the test code on DotWe website: http://dotwe.org/vue/7e556c582a55630518d0bf6336ddde0e When meass