[Pkg-lyx-devel] Bug#380714: lyx: helvetica font used in User Guide export can't find font against texlive distribution

Marc J. Driftmeyer mjd at reanimality.com
Tue Aug 1 17:32:17 UTC 2006


Acrobat attempts to substitute for a suitable font.

The issue is with this code:

  % set fonts for nicer pdf view
  \IfFileExists{lmodern.sty}{\usepackage{lmodern}}{%
  \usepackage[scaled=0.92]{helvet}
  \usepackage{mathptmx}
  \usepackage{courier} }

TexLive puts lmodern.sty under /usr/share/texmf/tex/latex/lm

Tetex-base puts lmodern.sty under the same pathway. You can rule out it
being an improperly installed tex distribution or you can deduce both
the tetex and texlive distributions from Debian are broken against what
LyX expects to find lmodern.sty.

Interestingly, if I remove the
\IfFileExists{lmodern.sty}{\usepackage{lmodern}}{%}

and leave:

\usepackage{lmodern}
\usepackage[scaled=0.92]{helvet}
\usepackage{mathptmx}
\usepackage{courier}

the User Guide export to pdf via pdflatex works flawlessly. The
offending area is the code for \IfFileExists.

- Marc

Karsten Heymann wrote:
> Marc J. Driftmeyer schrieb:
>> Package: lyx
>> Version: 1.4.2-2
>> Severity: minor
>>
>> User Guide exports to pdflatex fine and upon not finding helvetica
>> attempts to substitute a suitable font in Acrobat 7 but fails to meet
>> this need.
>
> This is most likey caused by a misconfigured TeX. All current TeX
> distributions should embed all fonts used in the document into the
> pdf, even the standard postscript fonts. Anything else is a bug in
> your TeX distribution or the result of a broken installation. In any
> case, this behaviour has nothing to do with LyX.
>
> Yours
> Karsten

-- 
Marc J. Driftmeyer
Email :: mjd at reanimality.com <mailto:mjd at reanimality.com>
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mjd.vcf
Type: text/x-vcard
Size: 504 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lyx-devel/attachments/20060801/65ff8e4d/mjd.vcf


More information about the Pkg-lyx-devel mailing list