lilypond-user
[Top][All Lists]
Advanced

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

Re: Font substitutions


From: Mats Bengtsson
Subject: Re: Font substitutions
Date: Wed, 05 May 2004 10:22:39 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

Since LilyPond uses low-level TeX commands to select the font, make sure
that it works in a LaTeX file similar to the following one:

\documentclass[a4paper]{article}
\font\myfont=bcor8a scaled 1000
\begin{document}
\myfont a
\end{document}

Once that works (with feta20 replaced by your font), it should work
also with LilyPond.

Do you have the same problem if you manually create the PS and PDF from
the DVI?
dvips -Ppdf -u+lilypond myfile.dvi
ps2pdf myfile.ps


  /Mats


Doug Asherman wrote:
Using Lilypond 2.2.1:

I've created some TeX fonts out of TTF fonts. I'm using the font bcor8a; in my lilypond file, I have the lines:

      \override LyricText #'font-name = #"bcor8a"
      \override LyricText #'font-magnification = #1.5

The font is fine in the dvi file, but turns up as courier (which it isn't) in the ps and pdf files. I've even run each step separately, specifying a map file at the dvips stage. Still, I get a courier font.

The problem isn't limited to this font; when I specify an Arial font, I get a Helvetica font in the ps and pdf files.

I have no problem using these fonts in a standard LaTeX document; so I have to think that there is some step I'm missing in either writing or creating the lilypond source.

Any help appreciated.

Doug


_______________________________________________
lilypond-user mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]