This works in MkII, but not MkIV. Other symbol sets like mvs work (even with a list of error messages). \starttext \usesymbols[cow] \setupsymbolset[cownormal] \startTEXpage[align={middle,middle},width=210mm,height=297mm] \dontleavehmode\scale[width=\textwidth]{\symbol[CowConTeXt]} Cowboy Coder \stopTEXpage \stoptext Under MkIV I managed to get my hands on the Cows (text) font via \definedfont[Cows at 30mm], but not on CowLogos. Greetlings, Hraban
Am 18.09.2010 um 12:49 schrieb Henning Hraban Ramm:
This works in MkII, but not MkIV. Other symbol sets like mvs work (even with a list of error messages).
All symbol fonts are tricky with mkiv because luatex moves them to the private slots, you can see this on the terminal when you load the font for the first time. load afm > unifying /Users/wolf/context/tex/texmf-context/fonts/afm/hoekwater/koeieletters/koeielogos-contour.afm load afm > assigning private slot U+F0000 for unknown glyph name T_e_X load afm > assigning private slot U+F0001 for unknown glyph name texlogo.alt load afm > assigning private slot U+F0002 for unknown glyph name contextlogo.shadow load afm > assigning private slot U+F0003 for unknown glyph name PragmaADElogo load afm > assigning private slot U+F0004 for unknown glyph name C_o_w_t_e_x_t ... I found no system how the original position in the font and the assigned position is related, maybe Taco knows a answer. With the message above from the terminal you can now load the symbols with \char"F00xx but mkiv provides also a mechanism to access a symbol by the glyphname with \fontchar{T_e_X}. I attached a modified version of the cow symbol where i used the glyph names for each symbol but what we need are different files for the symbols in mkii and mkiv. Hans, can you modify the \usesymbols command to behave like \usetypescriptfile which looks first for a mkii/mkiv file and then for a tex file?
Under MkIV I managed to get my hands on the Cows (text) font via \definedfont[Cows at 30mm], but not on CowLogos.
You can use the text fonts with \setupbodyfont[cow]. Wolfgang
On 22-9-2010 10:00, Wolfgang Schuster wrote:
Am 18.09.2010 um 12:49 schrieb Henning Hraban Ramm:
This works in MkII, but not MkIV. Other symbol sets like mvs work (even with a list of error messages).
All symbol fonts are tricky with mkiv because luatex moves them to the private slots, you can see this on the terminal when you load the font for the first time.
load afm> unifying /Users/wolf/context/tex/texmf-context/fonts/afm/hoekwater/koeieletters/koeielogos-contour.afm load afm> assigning private slot U+F0000 for unknown glyph name T_e_X load afm> assigning private slot U+F0001 for unknown glyph name texlogo.alt load afm> assigning private slot U+F0002 for unknown glyph name contextlogo.shadow load afm> assigning private slot U+F0003 for unknown glyph name PragmaADElogo load afm> assigning private slot U+F0004 for unknown glyph name C_o_w_t_e_x_t ....
I found no system how the original position in the font and the assigned position is related, maybe Taco knows a answer.
% symbols-001.tex \starttext % for taco \definedfont[file:stmary10 at 100pt] \startTEXpage[offset=50pt] \fontchar{Yright} \stopTEXpage \stoptext So, access them by name. I'll look into the cows later. Actually we need a nice open type variant (and then complete the font). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Henning Hraban Ramm
-
Wolfgang Schuster