Want to Display the Right-to-Left PDF
Would you please add right edge binding PDF(like a Japanese comic) display function? The two-page display is a nice feature ("Hidden PDF Toolber" too), but now it is displayed in reverse pages.
I tried about using the "InjectScript" function of "WebView2APISample", but PDF objects would not accept operations. (Chronium specification?)
I'm afraid there is little demand this feature and it is difficult to support right-bind PDF. If so, isn't it possible to operate PDF objects in JavaScript?
Hey @Atsushi-Johara - Thanks for the feature request! What's the current behavior in the browser (Microsoft Edge or Google Chrome)? It feels like there should be a localization feature which would let the PDF feature know to default to Right-to-left page display.
I too would strongly prefer this feature be added. In Google Chrome, the right edge binding PDF displays as follows:
| page 1 | page 2 | | page 3 | page 4 |
The expected order is as follows:
| page 2 | page 1 | | page 4 | page 3 |
@champnic I would like to provide some information because I need this feature. What can I tell you that would assist you in adding this feature?
I've added this as a scenario on our backlog and reached out to our PDF team. I think this may need to be a feature built by Chrome/Edge, rather than WebView2, but I'll let you know what I learn. Thanks!
The PDF team already has this request on their backlog and they say it's relatively high priority. I don't have a timeline yet. Thanks!
What is the status of this case since then?
I hope this issue will be resolved as soon as possible.
If ViewerPreferences«/Direction/R2L» is specified, images must be aligned from right to left.
See pages 362-363 of the PDF 1.7 specification for details.