NetBSD Problem Report #47485
From makoto@mx.ki.nu Tue Jan 22 02:49:59 2013
Return-Path: <makoto@mx.ki.nu>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id DBBA863BA5D
for <gnats-bugs@gnats.NetBSD.org>; Tue, 22 Jan 2013 02:49:58 +0000 (UTC)
Message-Id: <201301220249.r0M2nu67023193@mx.ki.nu>
Date: Tue, 22 Jan 2013 11:49:56 +0900 (JST)
From: makoto@ki.nu
Reply-To: makoto@ki.nu
To: gnats-bugs@gnats.NetBSD.org
Subject: [PATCH] graphics/tgif won't get 8th bit for eps print output.
X-Send-Pr-Version: 3.95
>Number: 47485
>Category: pkg
>Synopsis: tgif won't get 8th bit for eps print output.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: dmcmahill
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 22 02:50:01 +0000 2013
>Last-Modified: Tue Jan 22 09:38:28 +0000 2013
>Originator: Makoto Fujiwara
>Release: NetBSD 6.0.1
>Organization:
KINU Corporation
>Environment:
System: NetBSD modena 6.0.1 NetBSD 6.0.1 (GENERIC) amd64
Architecture: x86_64
Machine: amd64
>Description:
>How-To-Repeat:
Get three files from
http://www.ki.nu/~makoto/pkgsrc/graphics/tgif-7bit/
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.
>Fix:
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
MASTER_SITES= ftp://bourbon.usc.edu/pub/tgif/free-of-charge/
MAINTAINER= dmcmahill@NetBSD.org
HOMEPAGE= http://bourbon.usc.edu/tgif/tgif.html
COMMENT= Fully-featured X11 drawing program
+PATCHFILES+= tgif-QPL-4.2-patch5b.gz
+PATCH_SITES= ftp://bourbon.usc.edu/pub/tgif/patches/
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
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->dmcmahill
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Tue, 22 Jan 2013 09:38:28 +0000
Responsible-Changed-Why:
Over to maintainer.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.