XpsToPdf / XpsToPdf

A single package to convert XPS to PDF.
MIT License
22 stars 10 forks source link

RTL Layout Issues #13

Open PsychoDad9999 opened 4 months ago

PsychoDad9999 commented 4 months ago

Converting a xps document that contains right-to-left and left-to-right strings seems to be an issue.

I've added something like this to my xps document

<StackPanel Orientation="Horizontal" FlowDirection="RightToLeft" >
    <TextBlock Text="משתמש: "/>
    <TextBlock Text="Test 1P" FlowDirection="LeftToRight"/>
</StackPanel>

The xps file looks like this when openend with a xps viewer (this looks correctly):

xps

After converting with XpsToPdf the pdf file looks like this (hebrew strings are flipped):

pdf

UserDinDF commented 4 days ago

DocumentViewer will help

PsychoDad9999 commented 2 days ago

DocumentViewer will help

How?