bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#36427: docview wrong spacing


From: 積丹尼 Dan Jacobson
Subject: bug#36427: docview wrong spacing
Date: Sat, 29 Jun 2019 08:56:50 +0800

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 via email to

[Prev in Thread] Current Thread [Next in Thread]