On 27.08.17 22:41, Guenter Milde wrote:

>>> The UserGuide currently is a real trouble maker.
> 
> Can you have a look at the used fonts in this document?
> 
The fonts used are just the defaults as set by opening the guide from
help menu.

I experimented with the fonts. LatinModern (the default) gives the same
result as using Libertine or even XeTeX fonts.

Also note: the downloadable version of the PDF hosted on lyx.org
triggers the same symptoms.


>> I can confirm strange behavior on macOS 10.12.5 with LyX 2.2.3.  Steps to
>> reproduce:
> 
>>    1. Launch LyX 2.2.3
>>    2. Open User's Guide from Help Menu
>>    3. Render
>>       - All pages will be white (no text shown).  I do not see
>>       beachballing, but the PDF is useless.
> 
> Is there an error message or warning from LaTeX?
> What fonts are used (eventually paste the LaTeX log)
> 
There are a few warnings but these will likeley not lead anywhere.
The PDF displays fine in Adobe Reader, is in vector and therefore the
bug just has to be in macOS itself.

The question is why it rears its ugly head in Apple's PDFKit?
What makes UserGuide so special?
People have called this document a "Preview-Killer".

>>    4. New Document
>>    5. Type "test"
>>    6. Render
>>       - The text in the PDF is not vector, but very low res raster
> 
> I am not sure about "low res", but raster is expected:
> This is the normal behaviour of LyX for ages. See 
> http://www.lyx.org/trac/ticket/7334
> and http://www.lyx.org/trac/ticket/9741.
> As a first step in every LyX setup I recommend to
> set Document>Settings>Fonts>Roman to LatinModern in the default template.
> 
>>    8. Launch LyX 2.2.3
>>    9. Type "test"
>>    10. Render
>>       - The text in the PDF is vector.
> 
> Maybe you already changed the font default in this version?
>

No.

Just to clarify for those not on macOS or a version <10.12.x:
The text in UserGuide _and_ other PDFs is of course still _all_ in
vector format, as a quick view of the same PDF in Adobe Reader will confirm.

But once the bug is triggered – then thereafter – it is indeed in a much
degraded quality that is very pixelated.
That is likely because the OS renders text in an intermediate or lowres
view for scrolling and this representation then stays on screen instead
of the viewer finalizing the hires rendering of the same text.

greetings
Mike

Reply via email to