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

Re: PDF on debian



On 2023-03-09 15:13:21 +0000, Brian wrote:
> On Thu 09 Mar 2023 at 15:01:00 +0100, Vincent Lefevre wrote:
> 
> > On 2023-03-09 13:42:22 +0000, Brian wrote:
> > > For a searchable PDF, I would use
> > > 
> > >   :execute '!/usr/lib/cups/filter/texttopdf 1 1 1 1 1 % > out.pdf'
> > > 
> > > cups-filters needs to be on the system.
> > 
> > But it generates a letter page size instead of using /etc/papersize.
> 
> Pipe through
> 
>   pdftocairo -pdf -paper A4 - a4.pdf

This introduces additional margins at the top and at the bottom.

Anyway, Unicode is not supported.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: