You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Ruiyi Luo (JIRA)" <ji...@apache.org> on 2014/04/28 04:18:15 UTC

[jira] [Commented] (FLEX-34280) Bengali text diacritics hang too low, can overlap next line

    [ https://issues.apache.org/jira/browse/FLEX-34280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982709#comment-13982709 ] 

Ruiyi Luo commented on FLEX-34280:
----------------------------------

This Bengali text with diacritics will have this problem, seems all other language works well. So the impact is trivial, we could defer it if the impact is a lot. 

FYI. 
Comments from CTS team where the Flash Text Engine based:  
"CTS does not decide the baseline to baseline distance in multi-line text. That decision is in the text component invoked by this .swf. At best, CTS provides ascent, descent, coming from the font. In this case, the font is vrinda, and the ascent+descent is 1.359 em, which is plenty enough to avoid the collisions. I suspect that the text component is simply using 1 em for the baseline to baseline, probably hardwired."

> Bengali text diacritics hang too low, can overlap next line
> -----------------------------------------------------------
>
>                 Key: FLEX-34280
>                 URL: https://issues.apache.org/jira/browse/FLEX-34280
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: TextArea
>    Affects Versions: Apache Flex 4.12.0
>            Reporter: Ruiyi Luo
>            Priority: Trivial
>         Attachments: BN_ERROR.png, TextFlowTextLineFactory_BN.as, _taiWordWrap.zip
>
>
> FAIL: Win7 OS + IE11 & Firefox27 & Chrome + 13.0.0.162
> FAIL: Win7 OS + IE11 & Firefox27 & Chrome + 11.8.800.175   (This is non injection.)
> Problem Description:
> Bengali text containing the " ূ"  diacritic can overlap with text on the next line.
> Steps to Reproduce:
> 1. Open test app at _taiWordWrap.zip\_taiWordWrap\bin-debug\taiWordWrap.html
> 2. Enable a Bengali IME
> 3. Click in text field
>     Type several characters and the "ূ" diacritic. The diacritic is produced by typing the "t" character on a US keyboard with the Windows Bengali IME
> 4. Press enter to go to next line
>     Type several of the "ী" character. This character is produced by typing the "r" character on a US keyboard with the Windows Bengali IME
> 5. Notice the characters overlap
> Actual Result:
> The "ূ" overlaps with the "ী" on the next line
> Expected Result:
> Characters do not overlap. Line spacing is sufficient to clearly identify all characters
> Any Workarounds:
> Using TextField instead



--
This message was sent by Atlassian JIRA
(v6.2#6252)