Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 338948 Details for
Bug 494785
itext: *.afm files missing from com.lowagie.text.pdf.fonts?
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A patch
pdftk.patch (text/plain), 1.25 KB, created by
Andrew Haley
on 2009-04-09 17:11:21 UTC
(
hide
)
Description:
A patch
Filename:
MIME Type:
Creator:
Andrew Haley
Created:
2009-04-09 17:11:21 UTC
Size:
1.25 KB
patch
obsolete
>--- pdftk/pdftk.cc 2009-04-09 18:07:27.000000000 +0100 >+++ /home/aph/pdftk.cc 2009-04-09 18:09:20.000000000 +0100 >@@ -2669,6 +2669,44 @@ > strcmp( argv[ii], "-h" )== 0 ); > } > >+ { >+ // Set up CLASSPATH so that we can find property files in >+ // itext.jar. Do this the official way, calling build-classpath. >+ >+ char new_classpath[4096]; >+ char itext_classpath[1024]; >+ char *environ_classpath = getenv ("CLASSPATH"); >+ >+ FILE *p = popen ("/usr/bin/build-classpath itext", "r"); >+ if (!p) >+ { >+ perror ("Can't popen /usr/bin/build-classpath itext"); >+ exit (1); >+ } >+ >+ char *s = fgets(itext_classpath, sizeof itext_classpath, p); >+ if (!s) >+ { >+ perror ("Can't get ouput from /usr/bin/build-classpath itext"); >+ exit (1); >+ } >+ >+ char *nl = strchr (itext_classpath, '\n'); >+ if (nl) >+ *nl = 0; >+ >+ pclose (p); >+ >+ strcpy (new_classpath, "CLASSPATH="); >+ strncat (new_classpath, itext_classpath, sizeof new_classpath); >+ if (environ_classpath) >+ { >+ strncat (new_classpath, ":", sizeof new_classpath); >+ strncat (new_classpath, environ_classpath, sizeof new_classpath); >+ } >+ putenv (new_classpath); >+ } >+ > if( help_b ) { > describe_full(); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 494785
:
338715
| 338948