Opened 13 years ago

#4002 new defect

incorrect handling of multiline fribidi transformations

Reported by: tbonfort Owned by: sdlime
Priority: normal Milestone:
Component: MapServer C Library Version: unspecified
Severity: normal Keywords:
Cc: woodbri

Description

When the input text in a right-to-left language contains a newline caracter, the fribidi transformed text will be rendered from bottom-to-top which is not usually wanted

here's an example in latin characters for readability:

input text:

Casa
Blanca

fribidi transformed text:

acnalB
asaC

When a native speaker reads that text, it end up being:

Blanca
Casa

which is incorrect.

In the case where we do not have a bottom-to-top language, the fribidi calls should be done line by line, after having split the input string on carriage returns.

Change History (0)

Note: See TracTickets for help on using tickets.