Ask Your Question
0

Line-breaks do no working correctly with Lao OpenType font [closed]

asked 2014-03-06 05:01:30 +0200

Nhoui gravatar image

updated 2015-09-11 20:36:51 +0200

Alex Kemp gravatar image

I am using Writer 4.2.1.1 to type Lao document on Mac OSX, when I use Opentype fonts e.g Saysettha OT or Phetsarath OT the lines do not break correctly (it breaks at space not word like I use Saysettha MX)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-20 06:22:17.413516

1 Answer

Sort by » oldest newest most voted
0

answered 2014-03-06 10:24:35 +0200

oweng gravatar image

It appears that the Lao Script Windows extension (or use of Zero Width Space, U+200B) is required to obtain correct breaking for Lao text. This is what it states under the Add-on Functions / Break heading:

Insert breaks between Lao words and syllables in the selected text, with optional hyphenation of dictionary-listed words, to allow correct wrapping of Lao text. For Unicode fonts, the break inserted is the "Zero-Width Space" character (U+200B, ZWSP), recognized by most applications as a discretionary line-breaking character. For Writer, inserted ZWSP characters can be displayed or hidden on screen by pressing Ctrl F8, and they never appear on printed documents. Although in Calc the ZWSP characters are always visible on screen, they do not appear in printed documents.

It is very likely that future upgrades to LibreOffice/OpenOffice will include display time wrapping of Lao text, making insertion of break characters unnecessary. However the Check function (see below) will still be useful for checking Lao spelling.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-03-06 05:01:30 +0200

Seen: 167 times

Last updated: Mar 06 '14