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

Re: lowriter fails to launch pdf file from cli



On 2022-09-08, David Wright <deblis@lionunicorn.co.uk> wrote:
>
> With bullseye, using a variety of guesses for --infilter
> (basically permutating words like in the example here):
>
> $ lowriter --infilter="Writer Office Open PDF" /tmp/version10.pdf

Ineffective here.

> the document does indeed always open in Draw. It shows a
> poor rendering of the text in sans serif (the original is
> serif). Sporadic interword spaces are turned into overlaps
> to make the lines shorter, though they still run over the
> Draw margins, and even the edge of the paper. Even some
> short lines have unnecesary overlaps.
>
> The document is a mixture of text and music: the drawn
> items (staves, barlines, notestems, slurs etc) are rendered
> correctly, but noteheads, rests, clefs, etc., which are in
> the Emmentaler font, are omitted.
>
> I write all this only because I don't know what LO is meant
> to do under the circumstances, either in its Draw or its
> Writer manifestation.
>
> I've never seen anything I'd describe as "raw pdf", as in:
>
>   %PDF-1.5
>   %....
>   3 0 obj
>   …
>

I see in lowriter what I see if I open a pdf file in vim :

%PDF-1.3
%âãÏÓ
1 0 obj
<<
/Type /Catalog
/Metadata 2 0 R
/MarkInfo << /Marked true >>
/StructTreeRoot 8 0 R
/Pages 3 0 R
>>
endobj

I must be missing some essential element in my Libre Office setup (or something).


Reply to: