[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36427: docview wrong spacing
From: |
Tassilo Horn |
Subject: |
bug#36427: docview wrong spacing |
Date: |
Sun, 07 Jul 2019 09:53:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
積丹尼 Dan Jacobson <jidanni@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:
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:
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#36427: docview wrong spacing,
Tassilo Horn <=