GNU bug report logs -
#36427
docview wrong spacing
Previous Next
Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Date: Sat, 29 Jun 2019 03:43:02 UTC
Severity: normal
Found in version 9.27~dfsg-2
Done: Tassilo Horn <tsdh <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36427 in the body.
You can then email your comments to 36427 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#36427
; Package
emacs
.
(Sat, 29 Jun 2019 03:43:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 29 Jun 2019 03:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Something's wrong with docview.
Install libpdf-api2-perl debian package.
Run this perl script,
use PDF::API2;
$pdf = PDF::API2->new();
$page = $pdf->page();
$page->mediabox('Letter');
$text = $page->text();
$font = $pdf->cjkfont('traditional'); #something the matter when I use that
$text->font( $font, 20 );
$text->translate( 200, 700 );
$text->text(join "", 'A'..'Z');
$pdf->saveas('new.pdf');
Then do v (runs the command dired-view-file) on new.pdf.
See the bad spacing e.g., around the I?
Looks fine in Firefox and chromium.
Reply sent
to
Tassilo Horn <tsdh <at> gnu.org>
:
You have taken responsibility.
(Sun, 07 Jul 2019 07:55:04 GMT)
Full text and
rfc822 format available.
Notification sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
bug acknowledged by developer.
(Sun, 07 Jul 2019 07:55:04 GMT)
Full text and
rfc822 format available.
Message #10 received at 36427-close <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
Hi Dan,
> Something's wrong with docview.
>
> Install libpdf-api2-perl debian package.
>
> Run this perl script,
>
> use PDF::API2;
> $pdf = PDF::API2->new();
> $page = $pdf->page();
> $page->mediabox('Letter');
> $text = $page->text();
> $font = $pdf->cjkfont('traditional'); #something the matter when I use that
> $text->font( $font, 20 );
> $text->translate( 200, 700 );
> $text->text(join "", 'A'..'Z');
> $pdf->saveas('new.pdf');
>
> Then do v (runs the command dired-view-file) on new.pdf.
> See the bad spacing e.g., around the I?
> Looks fine in Firefox and chromium.
That's what it looks like on my (Arch GNU/Linux) machine:
[docview-bug-36427.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
So for me, the space after J and T seem to be a bit larger than after
the other letters. However, when viewed with Evince (the GNOME document
viewer), it looks exactly the same, see:
[evince-bug-36427.png (image/png, inline)]
[Message part 5 (text/plain, inline)]
I think what you describe is some font rendering issue with GhostScript
or mupdf (whatever doc-view uses on your machine to produce images from
the PDF), e.g., some suitable font, and there's nothing doc-view itself
could do here.
I'm closing this issue.
Bye,
Tassilo
Information forwarded
to
36427 <at> debbugs.gnu.org, tsdh <at> gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#36427
; Package
emacs
.
(Tue, 09 Jul 2019 11:37:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 36427 <at> debbugs.gnu.org (full text, mbox):
X-Debbugs-Cc: 36427 <at> debbugs.gnu.org, Tassilo Horn <tsdh <at> gnu.org>
Package: ghostscript
Version: 9.27~dfsg-2
Severity: minor
There is wrong letter spacing. Please see
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36427
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 07 Aug 2019 11:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 257 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.