Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
poppler
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 613
    • Issues 613
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 38
    • Merge Requests 38
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • poppler
  • poppler
  • Merge Requests
  • !610

Closed
Opened Aug 13, 2020 by ninist@ninist
  • Report abuse
Report abuse

Rotate LineAnnotation caption if text would be upside down

  • Overview 8
  • Commits 5
  • Pipelines 5
  • Changes 1

The caption of LineAnnotation always renders from the start of the arrow to end. When the arrow points left, the text is rendered upside down. This commit rotates the text 180° in the latter case.

I apologize if there's already an option that enables this behavior.

Edited with a short example:

Before patch on top, after patch on bottom. beforeafter

The pdf-file and two full-page screenshot comparisons are attached in a later comment.

Edited Aug 18, 2020 by ninist
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: poppler/poppler!610
Source branch: master