Answers.Body: <p>In 4.7.3 the TCPDF package was moved to civicrm/vendor/tecnickcom  from civicrm//packages/tcpdf.</p>
  
  <p>I just tested on a WP 4.5.2 and CiviCRM 4.7.8 install and was able to create mailing labels.</p>
  
  <p>Can you give us the steps to reproduce?  This may be a bug that needs an issue filed at <a href="https://issues.civicrm.org" rel="nofollow">https://issues.civicrm.org</a></p>
  
  <p>One additional thought - try and empty the caches in WP the url is <code>https://yourdomain.org/wp-admin/admin.php?page=CiviCRM&amp;q=civicrm/admin/setting/updateConfigBackend&amp;reset=1</code></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T19:53:52.717Z
Answers.Text: I realised when I saw this that I had added a variable setting in the past to ensure that CiviCRM could find the font files: this correction is of course now wrong. Obviously, I had missed the change in package positioning - was this ever announced?
Answers.UserDisplayName: David Christie
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-06T20:04:32.997Z
Answers.Text: I realised when I saw this that I had added a change in the past to ensure that CiviCRM could find the font files: this correction is of course now wrong. Obviously, I missed the package positioning change in 4.7.3: was this ever announced? If I remove that change, then things work correctly again for me. I had marked my change: "Force TCPDF to work when open basedir is enforced - see CiviCRM Jira CRM-14345", and I had to override 'K_PATH_MAIN' with '$civicrm_root . '/packages/tcpdf/' and 'K_PATH_IMAGES' with '$civicrm_root . '/packages/tcpdf/include/'. So please link new Jira with CRM-14345
Answers.UserDisplayName: David Christie
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-05T15:24:01.520Z
Answers.LastActivityDate: 2016-06-05T15:24:01.520Z
Answers.UserDisplayName: Kevin Cristiano
Body: <p>I recently upgraded to vesion 4.7.3 (I'm running under Wordpress), and for some reason the TCPDF package was missing!</p>
  
  <p>This led to the error: "Warning: opendir(/nhldata/631/106631/data/web/predigerforum/htdocs/wordpress/wp-content/plugins/civicrm/civicrm//packages/tcpdf/fonts/): failed to open dir: No such file or directory in /nhldata/631/106631/data/web/predigerforum/htdocs/wordpress/wp-content/plugins/civicrm/civicrm/vendor/tecnickcom/tcpdf/tcpdf.php on line 4148
  TCPDF ERROR: Could not include font definition file: helvetica"</p>
  
  <p>...when trying to create labels. I copied the directory "tcpdf" from the previous version into the packages directory and it seems to be OK now.</p>
  
  <p>Perhaps there is a slip up in V 4.7.3, because I did nothing more than the normal upgrade process.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-07T11:27:10.537Z
Comments.Text: Still missing in 4.7.7 ;-(  As before, I simply did a standard upgrade.
Comments.UserDisplayName: David Christie
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-05-31T19:22:44.440Z
Comments.Text: I can confirm the same issue is in 4.6.16 version for Drupal. The 4.6.12 had those files so copying the civicrm/packages/tdpdf/ folder (from an older version of CiviCRM or a backup before the upgrade) to the newly upgraded CiviCRM solves the problem
Comments.UserDisplayName: Kasia W
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-04T15:13:34.290Z
Comments.Text: Still missing in 4.7.8 ;-( As before, I simply did a standard upgrade.
Comments.UserDisplayName: David Christie
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-05T15:24:22.367Z
Comments.Text: Have opened an issue @ [CRM-18755: TCPDF uses incorrect font path after upgrade](https://issues.civicrm.org/jira/browse/CRM-18755). If your site is affected by this, maybe hit us up on https://chat.civicrm.org/ so we can debug a bit better :)
Comments.UserDisplayName: Chris Burgess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-06T20:05:33.440Z
Comments.Text: Please see comment below. Cheers, David
Comments.UserDisplayName: David Christie
Tags: <wordpress><upgrade><pdf>
Title: Version 4.7.3: TCPDF package seems to be missing
ThreadText: # Version 4.7.3: TCPDF package seems to be missing
  
  (Asked by: username_0 on 2016-03-22)
  
  I recently upgraded to vesion 4.7.3 (I'm running under Wordpress), and for some reason the TCPDF package was missing!
  
  This led to the error: "Warning: opendir(/nhldata/631/106631/data/web/predigerforum/htdocs/wordpress/wp-content/plugins/civicrm/civicrm//packages/tcpdf/fonts/): failed to open dir: No such file or directory in /nhldata/631/106631/data/web/predigerforum/htdocs/wordpress/wp-content/plugins/civicrm/civicrm/vendor/tecnickcom/tcpdf/tcpdf.php on line 4148
  TCPDF ERROR: Could not include font definition file: helvetica"
  
  ...when trying to create labels. I copied the directory "tcpdf" from the previous version into the packages directory and it seems to be OK now.
  
  Perhaps there is a slip up in V 4.7.3, because I did nothing more than the normal upgrade process.
  
  **Tags:** wordpress, upgrade, pdf
  
  > **Comments:**
  > **username_0**: Still missing in 4.7.7 ;-(  As before, I simply did a standard upgrade.  
  > **username_1**: I can confirm the same issue is in 4.6.16 version for Drupal. The 4.6.12 had those files so copying the civicrm/packages/tdpdf/ folder (from an older version of CiviCRM or a backup before the upgrade) to the newly upgraded CiviCRM solves the problem  
  > **username_0**: Still missing in 4.7.8 ;-( As before, I simply did a standard upgrade.  
  > **username_2**: Have opened an issue @ [CRM-18755: TCPDF uses incorrect font path after upgrade](https://issues.civicrm.org/jira/browse/CRM-18755). If your site is affected by this, maybe hit us up on https://chat.civicrm.org/ so we can debug a bit better :)  
  > **username_0**: Please see comment below. Cheers, David  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2016-06-05. Score: 2 | Accepted answer
  
  In 4.7.3 the TCPDF package was moved to civicrm/vendor/tecnickcom from civicrm//packages/tcpdf.
  
  I just tested on a WP 4.5.2 and CiviCRM 4.7.8 install and was able to create mailing labels.
  
  Can you give us the steps to reproduce? This may be a bug that needs an issue filed at <https://issues.civicrm.org>
  
  One additional thought - try and empty the caches in WP the url is `https://yourdomain.org/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/setting/updateConfigBackend&reset=1`
  
  > **Comments:**
  > **username_0**: I realised when I saw this that I had added a variable setting in the past to ensure that CiviCRM could find the font files: this correction is of course now wrong. Obviously, I had missed the change in package positioning - was this ever announced?  
  > **username_0**: I realised when I saw this that I had added a change in the past to ensure that CiviCRM could find the font files: this correction is of course now wrong. Obviously, I missed the package positioning change in 4.7.3: was this ever announced? If I remove that change, then things work correctly again for me. I had marked my change: "Force TCPDF to work when open basedir is enforced - see CiviCRM Jira CRM-14345", and I had to override 'K_PATH_MAIN' with '$civicrm_root . '/packages/tcpdf/' and 'K_PATH_IMAGES' with '$civicrm_root . '/packages/tcpdf/include/'. So please link new Jira with CRM-14345  
  
  ---
  
  