![](https://secure.gravatar.com/avatar/db7529b4374a5a6746650c649b9dcdb6.jpg?s=120&d=mm&r=g)
Wolfgang Schuster írta:
Am 18.04.2015 um 13:21 schrieb Csikos Bela:
When you need characters like the mentioned losenge you should better look for a font which contains it and create a new typeface for it or set a fallback font which add the characters to the main font of your document.
Before answering I wanted to find out how to make this fallback: Using a given font and fall back to only one (or a few) specific characters in another font. For example using Tex Gyre Pagella and fall back to Dejavu's black diamond, but not to any other characters.
To learn how to do this, in the last few days I read most of (if not all) the related pages on the wiki site, and browsed the indicated pdf documents too. Unfortunately I find the wiki pages confusing, and I couldn't find out how to solve the problem yet, but I did not want to wait longer with the answer. I will study further the docs.
\definefallbackfamily [documentfont] [rm] [DejaVu Serif] [range=0x25C6] \definefontfamily [documentfont] [rm] [TeX Gyre Pagella] \definefontfamily [documentfont] [tt] [Latin Modern Mono] [features=none] \definefontfamily [documentfont] [mm] [TeX Gyre Pagella Math]
\setupbodyfont[documentfont]
% \setupsymbolset[text] % % Using the predefined symbol for "blackdiamond" doesn’t work % because context tests if the symbol exists in the text font % before it displays it but we take it from the fallback font % and therefore nothing is shown. To avoid this you can define % your own symbol or just put the character in your document % without the \symbol command.
\definesymbol[blackdiamond][◆]
\starttext
direct input: ◆
\type{\symbol[blacktriangle]}: \symbol[blackdiamond]
\stoptext
Thank you very much. Both approaches work on my system. bcsikos