Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liblouis UTDML, Join word opcode and hyphenation not cooperate right #46

Open
hammera opened this issue Jul 16, 2018 · 0 comments
Open

Comments

@hammera
Copy link
Contributor

hammera commented Jul 16, 2018

A hungarian user reported me an interesting think for Liblouis UTDML and hyphenation for hu-hu-g2.ctb table related:
Some time Liblouis UTDML file2brl command not hyphenate few text line if used the us-table.dis, hu-hu-g2.ctb and hyph_hu_HU.dic tables.
The display table is not interesting, because I reproduced this issue for unicode.dis table too.

Usual, this issue happening when the hu-hu-g2.ctb table need using the joinword opcode.
With hungarian grade2 standard need joining the a and az werbs with the next word, and after the comma character followed word not need putting the space character between the comma character and the next word.

Few example strings for usa braille output:
Normal text
"Nem hiába mondja azt a példabeszéd, hogy minden füstnek tűz"

Usa Braille lines if use the us-table.dis,hu-hu-g2.ctb,hyph_hu_HU.dic tables:
"nemhi@ba mondja a<t
1p*ldabe:*d1h mden f(stnek t)<

The first line end of the 20 TH character (maximum line length is 32 characters), and the next line have the other parts.
The példabeszéd word louis.hyphenate function right hyphenated:
pél-da-be-széd

Normal text:
"Olyan könnyű helyen tartja a fogait."
The first line end of the 24 TH character, and the next line have the other parts.
Braille output this text if used the us-table.dis,hu-hu-g2.ctb,hyph_hu_HU.dic tables:
o_an kq$$) he_en tartja
1fogait'

The fogait, and fogait. words right hyphenate with louis.hyphenate function:
Hyphenated words:
fo-ga-it
fo-ga-it.

The user need preparing an embossable braille document, 20 and 24 character line length is wery short this example texts.

If the hungarian user using the hu-hu-g1.ctb table, this issue is not reproducable, because this table not using the joinword opcode for werbs and comma characters.

Attila

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant