Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Cursor traveling and Writer input when a non-CTL script needs CTL processing | ||
---|---|---|---|
Product: | Writer | Reporter: | hdu <hdu> |
Component: | code | Assignee: | AOO issues mailing list <issues> |
Status: | ACCEPTED --- | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | frank.meies, issues |
Version: | OOo 2.2.1 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | 78749 | ||
Issue Blocks: |
Description
hdu@apache.org
2007-07-16 13:08:14 UTC
The info about the typographic complexity of a font should be requested from the subsystem responsible for typographic layout, e.g. by calling the OutputDevice::GetFontMetric() method. Until this gets implemented here is a temporay workaround to enable CTL-processing for all interactive text input into Writer: --- sw/source/core/text/itrform2.cxx 23 Jan 2007 08:31:48 -0000 1.99 +++ sw/source/core/text/itrform2.cxx 16 Jul 2007 11:59:07 -0000 @@ -2020,8 +2020,10 @@ // --> FME 2004-09-27 #i28795#, #i34607#, #i38388# // step back six(!) more characters for complex scripts // this is required e.g., for Khmer (thank you, Javier!) +#if 0 // removing the if() unconditionally enables CTL for text input into Writer const SwScriptInfo& rSI = GetInfo().GetParaPortion()->GetScriptInfo(); if ( ScriptType::COMPLEX == rSI.ScriptType( nReformat ) ) +#endif { if ( nReformat > GetInfo().GetLineStart() + 6 ) nReformat -= 6; Reset assigne to the default "issues@openoffice.apache.org". |