Commits

od  committed befd552

#i105571# method <SwFntObj::GetCrsrOfst(..)>
- skip character cells also for CJK

  • Participants
  • Parent commits eaa08d4

Comments (0)

Files changed (1)

File sw/source/core/txtnode/fntcache.cxx

     const xub_StrLen nEnd = rInf.GetIdx() + rInf.GetLen();
 
     // skip character cells for complex scripts
-    if ( rInf.GetFont() && SW_CTL == rInf.GetFont()->GetActual() &&
+    // --> OD 2009-10-14 #i105571# - skip also character cells for CJK
+    if ( rInf.GetFont() && 
+         ( SW_CTL == rInf.GetFont()->GetActual() ||
+           SW_CJK == rInf.GetFont()->GetActual() ) &&
          pBreakIt->GetBreakIter().is() )
+    // <--
     {
         aLang = rInf.GetFont()->GetLanguage();
         bSkipCell = sal_True;