From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#8364: 24.0.9999; PATCH: Fit to width/height/page for doc-view.el Date: Wed, 30 Mar 2011 15:18:15 +0200 Message-ID: <87ipv0wxuw.fsf@member.fsf.org> References: <878vvz8sml.fsf@fastmail.fm> <87k4fj6z8e.fsf@member.fsf.org> <87hbanw3ll.fsf@member.fsf.org> <87vcz0x62y.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301492243 2667 80.91.229.12 (30 Mar 2011 13:37:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2011 13:37:23 +0000 (UTC) Cc: 8364@debbugs.gnu.org To: sho nakatani Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 30 15:37:19 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4vaI-0006Ye-OX for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 15:37:19 +0200 Original-Received: from localhost ([127.0.0.1]:50398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4vaH-0003GA-W9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Mar 2011 09:37:18 -0400 Original-Received: from [140.186.70.92] (port=44575 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4vaD-0003G1-MS for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 09:37:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4vaB-00013g-Sn for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 09:37:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4vaB-00013b-QG for bug-gnu-emacs@gnu.org; Wed, 30 Mar 2011 09:37:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q4vIb-0007oW-R6; Wed, 30 Mar 2011 09:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Mar 2011 13:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8364 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 8364-submit@debbugs.gnu.org id=B8364.130149110629992 (code B ref 8364); Wed, 30 Mar 2011 13:19:01 +0000 Original-Received: (at 8364) by debbugs.gnu.org; 30 Mar 2011 13:18:26 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4vI1-0007nh-5b for submit@debbugs.gnu.org; Wed, 30 Mar 2011 09:18:25 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q4vHy-0007nT-1p for 8364@debbugs.gnu.org; Wed, 30 Mar 2011 09:18:22 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 1A8947816FB3; Wed, 30 Mar 2011 15:18:16 +0200 (CEST) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09328-03-2; Wed, 30 Mar 2011 15:18:15 +0200 (CEST) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 3620A7816FDB; Wed, 30 Mar 2011 15:18:15 +0200 (CEST) In-Reply-To: (sho nakatani's message of "Wed, 30 Mar 2011 19:43:21 +0900") User-Agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.9999 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 30 Mar 2011 09:19:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45496 Archived-At: sho nakatani writes: Hi Nakatani, > But your function doesn't work for some files. What exactly doesn't work? > I attached an example PDF file (written in Japanse). Sorry, but my ghostscript crashes with that file. Since I update to ghostscript 9.x, I get crashes for some PDF files... --8<---------------cut here---------------start------------->8--- **** Warning: can't process font stream, loading font by the name. Error: /undefined in findresource Operand stack: --dict:5/14(L)-- F3 15.919 --dict:5/5(L)-- --dict:5/5(L)-- Ryumin-Light-Identity-H --dict:9/12(ro)(G)-- --nostringval-- CIDFontObject --dict:7/7(L)-- --dict:7/7(L)-- Adobe-Japan1 Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1894 1 3 %oparray_pop 1893 1 3 %oparray_pop 1877 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 78 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %loop_continue Dictionary stack: --dict:1164/1684(ro)(G)-- --dict:1/20(G)-- --dict:82/200(L)-- --dict:82/200(L)-- --dict:108/127(ro)(G)-- --dict:295/300(ro)(G)-- --dict:23/30(L)-- --dict:6/8(L)-- --dict:21/40(L)-- --dict:7/15(L)-- Current allocation mode is local Last OS error: 2 GPL Ghostscript 9.01: Unrecoverable error, exit code 1 --8<---------------cut here---------------end--------------->8--- Even if I open that file with Evince, I mostly see boxes instead of japanese glyphs. :-( If you have more files that don't work, feel free to send them to me. (No need to attach them all to this bug report.) Bye, Tassilo