To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=76296





------- Additional comments from [EMAIL PROTECTED] Fri Apr 13 14:37:58 +0000 
2007 -------
o.k. This is also what I was afraid of. But it is not a big deal.

Actually for now we don't need really a script id for Coptic, but
the unicode range of it is no where defined (starting at U2c80)
otherwise it can be treated as latin. This was a problem in 
adding my Spell checker: the Coptic letters were not recognized.
The patch I mentioned works fine (hopefully someone takes care of
it soon) but it is not a "clean" way to solve the problem, since
I had to "hard code" the char range of Coptic in the break iterator:

...
  if( 1 == currentChar || 2 == currentChar || 0x20 == currentChar
      || 0xA0 == currentChar)
  nRet = ScriptType::WEAK;
  // workaround for Coptic
  else if ( 0x2C80 <= currentChar && 0x2CE3 >= currentChar)
    nRet = ScriptType::LATIN;            
  else
    nRet = unicode::getUnicodeScriptType( currentChar, typeList, 
ScriptType::WEAK );

....

thanks anyhow

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to