Bug 212516 - [patch] graphics/jpgraph2 missing fonts
Summary: [patch] graphics/jpgraph2 missing fonts
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-09-09 08:13 UTC by ml
Modified: 2016-09-09 08:57 UTC (History)
1 user (show)

See Also:


Attachments
Subversion patch which adds fonts to the stage dir (403 bytes, patch)
2016-09-09 08:13 UTC, ml
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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