Skip to content

Commit

Permalink
Temporarily deprecate RUN_DIRECTION_LTR and RUN_DIRECTION_RTL and add…
Browse files Browse the repository at this point in the history
… comment about their issue.
  • Loading branch information
andreasrosdal committed Nov 29, 2018
1 parent 507715a commit 8f0bb04
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openpdf/src/main/java/com/lowagie/text/pdf/PdfWriter.java
Original file line number Diff line number Diff line change
Expand Up @@ -2743,13 +2743,17 @@ public void setSpaceCharRatio(float spaceCharRatio) {
public static final int RUN_DIRECTION_DEFAULT = 0;
/** Do not use bidirectional reordering. */
public static final int RUN_DIRECTION_NO_BIDI = 1;

/* TODO: There are currently some issues with RUN_DIRECTION_LTR and RUN_DIRECTION_RTL which will be fixed in a future release. */
/** Use bidirectional reordering with left-to-right
* preferential run direction.
*/
@Deprecated
public static final int RUN_DIRECTION_LTR = 2;
/** Use bidirectional reordering with right-to-left
* preferential run direction.
*/
@Deprecated
public static final int RUN_DIRECTION_RTL = 3;

protected int runDirection = RUN_DIRECTION_NO_BIDI;
Expand Down

0 comments on commit 8f0bb04

Please sign in to comment.