On Oct 16, 2008, at 11:26 AM, Wolfgang Schuster wrote:
On Thu, Oct 16, 2008 at 9:47 AM, Thomas A. Schmitz
wrote: Hi all,
the answer to this one may be completely obvious, but I haven't found anything: I know we can define fallback fonts in mkiv, but is it possible to define fallbacks for single characters. Let's take 0x0113, "emacron."
\definefontfallback [myfallback] [Fallbackfont] [0x0113] [force=yes|no,check=yes|no]
% check : only replace when present in replacement font (default: no) % force : force replacent even when basefont has glyph (default: yes)
Is it possible to define "if character is present in current font, use it; else \buildtextaccent\macron e" ?
Wolfgang, thanks for your answer! But if I understand definefontfallback correctly, this will define a replacement font - that's not what I want. I want to take glyphs from the same font, either the matching glyph or a composite one. Thomas