Ticket #1828 (closed bug: fixed)
PDF content is not centered in the frame
Reported by: | deyan | Owned by: | diana |
---|---|---|---|
Priority: | major | Milestone: | M10_BETA2 |
Component: | uncategorized | Version: | 2.0 |
Keywords: | Cc: | ||
Category: | unknown | Effort: | |
Importance: | Ticket_group: | ||
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | deyan | Design_owners: | diana |
Imp._owners: | diana | Test_owners: | |
Analysis_reviewers: | diana | Changelog: | |
Design_reviewers: | meddle | Imp._reviewers: | meddle |
Test_reviewers: | Analysis_score: | 4 | |
Design_score: | 4 | Imp._score: | 4 |
Test_score: | 4 |
Description
When you insert a pdf, the frame appears with proper size, but there are 60px at the top and at the right sides of the frame that are blank, respectively - left and bottom 60px of the pdf content are not shown.
Attachments
Change History
Changed 16 years ago by deyan
- Attachment 200x100.pdf added
comment:1 Changed 16 years ago by deyan
- Status changed from new to s1b_analysis_finished
Screenshot-2.png shows the problem - the pdf frame is with proper size and 1px black border.
comment:2 Changed 16 years ago by diana
- Design_owners set to diana
- Status changed from s1b_analysis_finished to s2a_design_started
- Imp._owners set to diana
In PDFContentView class set the created rectangle for the image to start at point (0,0) instead of (50,50).
source code: [4809]
comment:3 Changed 16 years ago by diana
- Status changed from s2a_design_started to s2b_design_finished
comment:5 Changed 16 years ago by diana
- Owner set to diana
- Status changed from s2c_design_ok to s3a_implementation_started
comment:6 Changed 16 years ago by diana
- Status changed from s3a_implementation_started to s3b_implementation_finished
comment:7 Changed 16 years ago by meddle
- Status changed from s3b_implementation_finished to s3c_implementation_ok
- Analysis_reviewers set to diana
- Analysis_score changed from 0 to 4
- Imp._reviewers set to meddle
- Design_score changed from 0 to 4
- Design_reviewers set to meddle
- Imp._score changed from 0 to 4
FIXED, merged to the trunk in [4906].
4p (10m)
Note: See
TracTickets for help on using
tickets.
Test with this pdf. This just a rectangle with 10px red border and size 200x100px