LyXUndesired bold captions with Adobe Reader

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
evancoe
Posts: 5
Joined: Wed Feb 22, 2012 8:31 pm

Undesired bold captions with Adobe Reader

Post by evancoe »

Whenever I put a float figure in my document with float placement set to "definitely here" and font encoding turned off the caption becomes bold and the rest of the document is bold face as well! I turn encoding off to increase the resolution of the pdfLatex font. Is there a way to increase this resolution without turning encoding off or is there a way to keep font encoding off without causing this bold face issue?

I am using Lyx version 2.0.2, Document class article (totally default setup).

Thanks for your help in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Re: Font Encoding Issue

Post by Stefan Kottwitz »

Hi,

perhaps post such a LyX document and the PDF output here, both can pe posted as attachment to a forum post. Perhaps the boldness is just a display issue of the PDF viewer.

Stefan
LaTeX.org admin
evancoe
Posts: 5
Joined: Wed Feb 22, 2012 8:31 pm

Re: Font Encoding Issue

Post by evancoe »

Hi Stefan,

No problem. Also, I have discovered one cause of the problem.

I am using .png files with various bit depth (1, 12, 24, 32).

12, 24 bit depth has no problem, but very large (in pixels) images with 32 bit depth cause this issue.

To test it, I converted one of these very large images to black and white (bit depth = 1) and voila! No more bold face.

I think this is a serious bug in Lyx (unless there is an even more complex explanation having to do with the document settings, etc.) Attached is an example of the color and black and white comparison.

Still, how might I get my large, color images (32 bit depth) to work (the bold face is very ugly...)? The black and white or lower bit depth conversion is only a temporary work around...

Thanks for your quick reply. Please let me know if there is anything else I can provide!
Attachments
bit_depth_test.zip
(105.5 KiB) Downloaded 187 times
evancoe
Posts: 5
Joined: Wed Feb 22, 2012 8:31 pm

Re: Font Encoding Issue

Post by evancoe »

Alas, .Gif images are a good compromise (much lower quality bit depth...)

Still, if there's any interest it would be nice if someone solved this problem for when high quality images are necessary (for photographs)..
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Undesired bold captions with Adobe Reader

Post by Stefan Kottwitz »

I can confirm that the text is looking bold with an Adobe Reader on Windows. Now I'm testing again on Ubuntu Linux, with the Adobe Reader 9, there's no problem. Here's a screenshot:
output.png
output.png (40.42 KiB) Viewed 4582 times
So it's just a viewer issue. Some versions of the Adobe Reader have a display bug. Use a different viewer or print it, and you might see it.

Stefan
LaTeX.org admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

Undesired bold captions with Adobe Reader

Post by Stefan Kottwitz »

I used the forum search, here are topics dealing with unexpected bold font and the Adobe Reader:
The last post shows a workaround for the bug of the Adobe Reader: remove the alpha channel (transparency) in the PNG file.

Stefan
LaTeX.org admin
Post Reply