[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#655201: reproducing with libreoffice



To reproduce the problem and its fix in libreoffice writer:

  Start libreoffice, and click the Text file button.
  
  Type a paragraph consisting of many repeats of

    contrecœur contrecœur contrecœur contrecœur...

  Select all, right-click, select Character style, and change the Language
  (in lower right of dialog box) to French (France).  Click OK.

  Right-click, select Paragraph style, go to the Text Flow tab,
  and tick the Hyphenation > Automatically box.
  
  Optionally go to the Alignment tab in that same Paragraph style dialog box,
  and select Justified.
  
  Click OK.

  Drag the page width (right extent of white area in ruler at top of screen)
  to a little less than three words wide.

  Result: two words per line, no hyphenation opportunities found.
  If justified, then those two words are very widely spaced.

  Save file, exit.
  
  As root, edit /usr/share/hyphen/hyph_fr.dic and append a 5
  to the first line, i.e. change from ISO8859-1 to ISO8859-15.

  Back as a normal user, run libreoffice on the saved file.

  Result: Some lines now end in a hyphenation of contre-/cœur,
  as they should be.

pjrm.



Reply to: