Skip to content

Function suggestion: Horizontal Scrolling from right to left #11154

Open
@heangfat

Description

@heangfat

Attach (recommended) or Link to PDF file here:

Configuration:

  • Web browser and its version: Any
  • Operating system and its version: Any
  • PDF.js version: Any (master)
  • Is a browser extension:

Steps to reproduce the problem:

  1. Load any PDF file.
  2. Choose Horizontal Scrolling from Tools menu.

What is the expected behavior? (add screenshot)
In Horizontal Scrolling mode, there should be 2 order options for pages: left to right (existing) and right to left (desired). The desired RTL page order is for reading CJK vertical texts. Below shows a correct screenshot:
correctOrderRTL

What went wrong? (add screenshot)
Currently there is only one order in Horizontal Scrolling: left to right. But for CJK vertical texts, lines are ordered from right to left, i.e., Line k+1 is on the left of Line k, thus Page N+1 should be placed on the left of Page N.

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension): N.A.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions