|
From: | Han-Wen Nienhuys |
Subject: | Re: make-dynamic-script doesn't change font |
Date: | Fri, 24 Jun 2005 01:54:58 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2-6 (X11/20050513) |
Graham Percival wrote:
In the example below, the "e" of "espr" obeys the font change (#:simple), but the "spr" is still rendered in dynamic font. The "e" is also much larger than the "spr". % OSX, 2.5.32 \version "2.5.32" fespr = #(make-dynamic-script (markup #:dynamic "f" #:simple "espr" ) ) { c4\fespr }
You're trying to print espr in the dynamic font. Since pango is really smart, it notices that the dynamic font doesn't have an e, and substitutes a different font. Solution: make sure that espr isn't typeset in the dynamic font.
-- Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen
[Prev in Thread] | Current Thread | [Next in Thread] |