Bug 14859

Summary: Bounding Box / Font metrics issues in Card Creator: item.dateaccessioned is being truncated in PDF
Product: Koha Reporter: Barton Chittenden <barton>
Component: Label/patron card printingAssignee: Chris Nighswonger <cnighswonger>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: output from layout 1 -- broken -- using 9 point Times New Roman, Bold
output from layout 2 -- working -- using 7 point Times New Roman, Bold

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.