Bug 212516

Summary: [patch] graphics/jpgraph2 missing fonts
Product: Ports & Packages Reporter: ml
Component: Individual Port(s)Assignee: Kurt Jaeger <pi>
Status: Closed FIXED    
Severity: Affects Only Me CC: pi
Priority: --- Keywords: patch
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Subversion patch which adds fonts to the stage dir none

Description ml 2016-09-09 08:13:28 UTC
Created attachment 174572 [details]
Subversion patch which adds fonts to the stage dir

As per subject, fonts are not installed.
This will lead to images not being displayed and replaced with "The image http://... cannot be displayed because it contains errors".

Typically the following will be recorded in httpd-error.log:

PHP Warning:  imageloadfont(/usr/local/shar
e/jpgraph/fonts/FF_FONT1-Bold.gdf): failed to open stream: No such file or directory in /usr/local/share/jpgraph/gd_image.inc.php on line 94, referer: ...


Patch attached.
Comment 1 Kurt Jaeger freebsd_committer freebsd_triage 2016-09-09 08:21:51 UTC
testbuilds@work
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2016-09-09 08:57:11 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-09-09 08:57:36 UTC
A commit references this bug:

Author: pi
Date: Fri Sep  9 08:56:57 UTC 2016
New revision: 421601
URL: https://svnweb.freebsd.org/changeset/ports/421601

Log:
  graphics/jpgraph2: install missing fonts

  - this fixes errors like
    PHP Warning: imageloadfont(/usr/local/share/jpgraph/fonts/FF_FONT1-Bold.gdf):
    failed to open stream: No such file or directory in
    /usr/local/share/jpgraph/gd_image.inc.php on line 94, referer: ...

  PR:		212516
  Submitted by:	Andrea Venturoli <ml@netfence.it>

Changes:
  head/graphics/jpgraph2/Makefile