On 2/19/2014 7:41 PM, Peter Rolf wrote:
Forgot to tell why I need the glyph paths... I implemented multi path support in drops yesterday and now I want to test it with some glyphs. Currently I use Inkscape (export the glyph path as PDF) and pdftoedit to finally get a MP path. Time consuming and the result still needs a manual clean-up.
% macros=mkvi \definefont[RatherBig][Mono at 60pt] \defineeffect [justone] [alternative=outer,rulethickness=1pt] \defineeffect [justtwo] [alternative=inner] \starttexdefinition example #font#line#text \hbox { \framed [offset=\dimexpr#line/2\relax,strut=no,frame=off] { \definedfont[#font] \defineeffect[bg][alternative=outer,rulethickness=#line] \defineeffect[fg][alternative=inner] \hsmash{\red \effect[bg]{#text}} \hbox {\blue\effect[fg]{#text}} } } \stoptexdefinition \starttext {\effect[justone]{\RatherBig BIG}} {\effect[justtwo]{\RatherBig BIG}} \example{Mono at 60pt}{5pt}{BIG} \example{Mono at 80pt}{10pt}{BIG} \stoptext ----------------------------------------------------------------- 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 -----------------------------------------------------------------