Bug 62078 - print/ghostscript-gnu: apply patches to fix CJK PDF handling
Summary: print/ghostscript-gnu: apply patches to fix CJK PDF handling
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-29 19:40 UTC by KOMATSU Shinichiro
Modified: 2004-05-28 03:56 UTC (History)
0 users

See Also:


Attachments
file.diff (14.04 KB, patch)
2004-01-29 19:40 UTC, KOMATSU Shinichiro
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description KOMATSU Shinichiro 2004-01-29 19:40:17 UTC
Apply the patches from 

    http://www.aihara.co.jp/~taiji/gyve/

These patches do the followings:

    - handle NeverEmbed CJK TrueType into PDF
    - write correct glyph widths of CJK TrueType into PDF, 
      and not to write CIDToGIDMap of NeverEmbed CJK TrueType and 
      Encoding of CIDFont into PDF


Added files:

    patch-lib:gs_cidfn.ps
    patch-lib:ps2pdfwr
    patch-src:gdevpdff.c
    patch-src:gdevpdff.h
    patch-src:gdevpdfs.c
    patch-src:gdevpdfw.c
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2004-03-13 22:54:40 UTC
State Changed
From-To: open->feedback

When I try to install using these patches on 4.9, I get the following: 

 extracting ghostscript fonts ... 
 /usr/bin/tar: fonts/COPYING: Cannot open: No such file or directory 
 /usr/bin/tar: fonts/ChangeLog: Cannot open: No such file or directory 
 
 ... and so one for many more files. 
 
 Can the submitter confirm this? 
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=62078 
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2004-03-26 17:41:43 UTC
State Changed
From-To: feedback->open

Feedback received from submitter in private email (following).  But 
at this point I think I'll let someone else try to work on this PR. 

Thank you for verifying my PR, 
but when I retried to install this port on 4.9 
(both with and without my patches applied), 
this problem did not occur.  

Looking into the place where this error occured, 
I think ghostscript-fonts-std-8.11.tar.gz and/or 
ghostscript-fonts-other-6.0.tar.gz on your machine are broken. 
Would you recheck the size and checksum of them? 
On my machine, these are as follows: 

% ls -l /usr/ports/distfiles/ghostscript/ghostscript-*fonts* 
-rw-------  1 koma2  pkgbld   796086 Apr 29  2003 /usr/ports/distfiles/ghostscript/ghostscript-fonts-other-6.0.tar.gz 
-rw-------  1 koma2  pkgbld  3752871 Sep 25 16:00 /usr/ports/distfiles/ghostscript/ghostscript-fonts-std-8.11.tar.gz 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62078 

Adding to audit log:

  I can now confirm that these patches apply correctly.  Unfortunately,
  since I don't really understand the impact of the changes, I'm not
  really comfortable committing them.

Comment 3 Mark Linimon freebsd_committer freebsd_triage 2004-05-27 17:18:01 UTC
Responsible Changed
From-To: freebsd-ports-bugs->linimon

Take.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2004-05-28 03:55:57 UTC
State Changed
From-To: open->closed

Committed, thanks.