pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/47485: [PATCH] graphics/tgif won't get 8th bit for eps print output.

>Number:         47485
>Category:       pkg
>Synopsis:       tgif won't get 8th bit for eps print output.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 22 02:50:01 +0000 2013
>Originator:     Makoto Fujiwara
>Release:        NetBSD 6.0.1
KINU Corporation
System: NetBSD modena 6.0.1 NetBSD 6.0.1 (GENERIC) amd64
Architecture: x86_64
Machine: amd64

Get three files from

  Xresource-tgif-min    (tgif setup for X11)
  window-kanji.obj      (tgif input)
  window-kanji-7bit.eps (Bad reference)
And at shell:
xrdb Xresource-tgif-min
tgif window-kanji  
  * You may get following line, but please ignore for the moment:
    Warning: Cannot set InitialFont to 'Ryumin-Light-EUC-H'.
  * Probably following two are already set, but
  - Select LaTeX(EPS)
  - Select Font as Ryumin
  - Hit Control-P to get print file generated.
 Use gs (ghostscript) to preview *.eps
  (You need ghostscript-cidfonts-ryumin also installed after
   ghostscript installed with
   PKG_OPTIONS.ghostscript+=       disable-compile-inits
   to view Japanese Kanji characters)
gs window-kanji.eps 
  If you see Ak, it is bad.
  If you see Kanji character Window, it is fine.  

You will find following diff if kanji charactor is properly processed.
  diff -u windows-kanji{-7bit,}.eps
-            (\101\153) SH
+            (\301\353) SH
  This diff is after patched. You won't get this part of diff
  with before patched version of tgif 4.2.5nb1.


Index: graphics/tgif/Makefile
RCS file: /cvs/cvsroot/pkgsrc/graphics/tgif/Makefile,v
retrieving revision 1.66
diff -u -r1.66 Makefile
--- graphics/tgif/Makefile      6 Oct 2012 14:11:22 -0000       1.66
+++ graphics/tgif/Makefile      22 Jan 2013 02:32:02 -0000
@@ -2,13 +2,15 @@
 DISTNAME=              tgif-4.2.5
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            graphics
 COMMENT=               Fully-featured X11 drawing program
+PATCHFILES+=           tgif-QPL-4.2-patch5b.gz
 USE_IMAKE=             yes
Index: graphics/tgif/distinfo
RCS file: /cvs/cvsroot/pkgsrc/graphics/tgif/distinfo,v
retrieving revision 1.12
diff -u -r1.12 distinfo
--- graphics/tgif/distinfo      12 Jul 2011 19:04:00 -0000      1.12
+++ graphics/tgif/distinfo      22 Jan 2013 02:32:02 -0000
@@ -3,3 +3,6 @@
 SHA1 (tgif-4.2.5.tar.gz) = 834e8c83b46eaa4dc6af89c44d1a6d63259f5f0c
 RMD160 (tgif-4.2.5.tar.gz) = 01eaa93105c23a9af27f267cfd800b92196bb897
 Size (tgif-4.2.5.tar.gz) = 3115237 bytes
+SHA1 (tgif-QPL-4.2-patch5b.gz) = 36c943dc4968eacf9f8b04558cab0ddf2e424573
+RMD160 (tgif-QPL-4.2-patch5b.gz) = d6633856263fb74943dcc21f8bfbb097d4fab422
+Size (tgif-QPL-4.2-patch5b.gz) = 925 bytes


Home | Main Index | Thread Index | Old Index