Bug 14859 - Bounding Box / Font metrics issues in Card Creator: item.dateaccessioned is being truncated in PDF
Summary: Bounding Box / Font metrics issues in Card Creator: item.dateaccessioned is b...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Label/patron card printing (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Chris Nighswonger
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-18 19:59 UTC by Barton Chittenden
Modified: 2015-09-18 20:04 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments
output from layout 1 -- broken -- using 9 point Times New Roman, Bold (10.41 KB, application/pdf)
2015-09-18 19:59 UTC, Barton Chittenden
Details
output from layout 2 -- working -- using 7 point Times New Roman, Bold (10.41 KB, application/pdf)
2015-09-18 20:01 UTC, Barton Chittenden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Barton Chittenden 2015-09-18 19:59:11 UTC
Created attachment 42711 [details]
output from layout 1 -- broken -- using 9 point Times New Roman, Bold

template_id: 21
      profile_id: 5
   template_code: Template-for-all
   template_desc: 16-06-71 Library Store Sample 
5 Columns; 10 Rows
1" X 1.5"
      page_width: 8.5
     page_height: 11
     label_width: 1.5
    label_height: 1
 top_text_margin: 0.15
left_text_margin: 0.25
      top_margin: 0.5
     left_margin: 0.28
            cols: 5
            rows: 10
         col_gap: 0.2
         row_gap: 0
           units: INCH
         creator: Labels

    layout_id: 1
 barcode_type: CODE39
  start_label: 1
printing_type: BIB
  layout_name: Broken
     guidebox: 0
         font: TB
    font_size: 9
        units: POINT
callnum_split: 1
 text_justify: L
format_string: callnumber, item.dateaccessioned
   layout_xml: 
      creator: Labels

    layout_id: 2
 barcode_type: CODE39
  start_label: 1
printing_type: BIB
  layout_name: Works
     guidebox: 0
         font: TB
    font_size: 7
        units: POINT
callnum_split: 1
 text_justify: L
format_string: callnumber, item.dateaccessioned
   layout_xml: 
      creator: Labels
Comment 1 Barton Chittenden 2015-09-18 20:01:20 UTC
Created attachment 42712 [details]
output from layout 2 -- working -- using 7 point Times New Roman, Bold
Comment 2 Barton Chittenden 2015-09-18 20:04:27 UTC
item.dateaccessioned is being truncated when the font is Times New Roman Bold 9 pt, but not when the font is Times New Roman Bold 7 pt. See attached PDF files.

For some reason, the first label on the page is not truncated.