From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/97697 Path: news.gmane.org!.POSTED!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: Re: symbol sets Date: Thu, 30 Mar 2017 18:49:16 +0200 Message-ID: <2AE611CF-7E19-4BDB-8E01-8245B7421469@toppkieker.net> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2962506833526934773==" X-Trace: blaine.gmane.org 1490892597 28746 195.159.176.226 (30 Mar 2017 16:49:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 30 Mar 2017 16:49:57 +0000 (UTC) User-Agent: K-9 Mail for Android To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 30 18:49:50 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ctdGZ-00060T-PG for gctc-ntg-context-518@m.gmane.org; Thu, 30 Mar 2017 18:49:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5B27184A46; Thu, 30 Mar 2017 18:49:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ag6CoQhmrI9A; Thu, 30 Mar 2017 18:49:29 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id EEE6B84A25; Thu, 30 Mar 2017 18:49:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id C55C884A17 for ; Thu, 30 Mar 2017 18:49:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XWYl4W_66ma7 for ; Thu, 30 Mar 2017 18:49:27 +0200 (CEST) Original-Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id C081184A15 for ; Thu, 30 Mar 2017 18:49:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1490892557; l=5832; s=domk; d=toppkieker.net; h=From:To:Subject:Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Date; bh=V6IEDd8Fu6ZctUvH2+XS9ZX93iYpmcAx8rfPesPOPIo=; b=vE3FAOiNmT5kpqFKCUrdrGOl7/OIUsFAO8ikvjzgMqKJ1HHO1XRt1+50wa2n9A3pda YCx84i/hbV4XOUTr3b72+ttOLWWjdmrmrx9AxAVXBSx1PvO+Wwf9xxfC0alyeBWm6HPe kAEXMVxVB5O0ZxB08g0Ef+fy8pEpdkxisHz50= X-RZG-AUTH: :IHkQb0mIb/AUraw5Pw467N3q59xGbzPxbBOyYTEEx5ypwlL1nljiOOd7mqs9mg== X-RZG-CLASS-ID: mo00 Original-Received: from [192.168.0.12] ([185.48.210.89]) by smtp.strato.de (RZmta 40.4 AUTH) with ESMTPSA id 4082aet2UGnHMwT (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Thu, 30 Mar 2017 18:49:17 +0200 (CEST) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:97697 Archived-At: --===============2962506833526934773== Content-Type: multipart/alternative; boundary="----9WUKGL5QXYCVAP3GX2Y3UZH0MGP4VC" Content-Transfer-Encoding: 7bit ------9WUKGL5QXYCVAP3GX2Y3UZH0MGP4VC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I recently had the same problem=2E I installwd fontforge and opened the fobtfile=2E There you can see the nam= es of the glyphs=2E After that i succeded with following code=2E \definefontsynonym [WebDing] [file:webdings=2Ettf] \def\WebDingSymbol{\getnamedglyphdirect{WebDing}} \startsymbolset [webding] \definesymbol[surf][\WebDingSymbol{surf}] \definesymbol[motorcycle][\WebDingSymbol{motorcycle}] \definesymbol[mountain][\WebDingSymbol{mountain}] \definesymbol[art][\WebDingSymbol{art}] \definesymbol[occasion][\WebDingSymbol{occasion}] \stopsymbolset \starttext \tfc \symbol[webding][surf] \symbol[webding][motorcycle] \symbol[webding][mountain] \symbol[webding][art] \symbol[webding][occasion] \stoptext I should write a symb-imp-win=2Emkv Am 30=2E M=C3=A4rz 2017 13:14:26 MESZ schrieb Henning Hraban Ramm : >I=E2=80=99m trying to define a symbolset: > >\definefontsynonym [Webdings] [file:Webdings=2Ettf] >\def\WebdingsSymbol#1{\getglyphstyled{Webdings}{\tochar{x:#1}}} > >\startsymbolset[webdings] > \definesymbol [spider] [\WebdingsSymbol{f021}] > \definesymbol [spiderweb] [\WebdingsSymbol{f022}] > \definesymbol [sunglasses] [\WebdingsSymbol{f024}] > \definesymbol [award] [\WebdingsSymbol{f026}] > \definesymbol [ribbon] [\WebdingsSymbol{f02d}] > \definesymbol [plane] [\WebdingsSymbol{f0f1}] > % =E2=80=A6 >\stopsymbolset > >\usesymbols[webdings] >\showsymbolset[webdings] >\symbol[webdings][spider] > >The font is included in my pdf, \showsymbolset[webdings] lists the >names, but the symbols never show up=2E >I also tried other fonts=2E >What=E2=80=99s wrong? > > >Greetlings, Hraban >--- >http://www=2Efiee=2Enet >http://wiki=2Econtextgarden=2Enet >GPG Key ID 1C9B22FD > >_________________________________________________________________________= __________ >If your question is of interest to others as well, please add an entry >to the Wiki! > >maillist : ntg-context@ntg=2Enl / >http://www=2Entg=2Enl/mailman/listinfo/ntg-context >webpage : http://www=2Epragma-ade=2Enl / http://context=2Eaanhet=2Enet >archive : https://bitbucket=2Eorg/phg/context-mirror/commits/ >wiki : http://contextgarden=2Enet >_________________________________________________________________________= __________ --=20 Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesende= t=2E ------9WUKGL5QXYCVAP3GX2Y3UZH0MGP4VC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable I recently had the same problem=2E
I installwd fontforge and opened the fobtfile=2E There you can see the nam= es of the glyphs=2E

After that i succeded with following code=2E



\definefontsynonym [WebDing] [file:webdings=2Ettf]
\def\WebDingSymbol{\getnamedglyphdirect{WebDing}}
\startsymbolset [webding]
\definesymbol[surf][\WebDingSymbol{surf}]
\definesymbol[motorcycle][\WebDingSymbol{motorcycle}]
\definesymbol[mountain][\WebDingSymbol{mountain}]
\definesymbol[art][\WebDingSymbol{art}]
\definesymbol[occasion][\WebDingSymbol{occasion}]
\stopsymbolset
\starttext
\tfc
\symbol[webding][surf]
\symbol[webding][motorcycle]
\symbol[webding][mountain]
\symbol[webding][art]
\symbol[webding][occasion]
\stoptext

I should write a symb-imp-win=2Emkv


Am 30=2E M=C3=A4rz 2017 13:14:26 MESZ s= chrieb Henning Hraban Ramm <texml@fiee=2Enet>:
I’m trying to define a symbolset:

\= definefontsynonym [Webdings] [file:Webdings=2Ettf]
\def\WebdingsSymbol= #1{\getglyphstyled{Webdings}{\tochar{x:#1}}}

\startsymbolset[web= dings]
\definesymbol [spider] [\WebdingsSymbol{f021}]
= \definesymbol [spiderweb] [\WebdingsSymbol{f022}]
\definesymbol= [sunglasses] [\WebdingsSymbol{f024}]
\definesymbol [award] = [\WebdingsSymbol{f026}]
\definesymbol [ribbon] [\WebdingsSymbol= {f02d}]
\definesymbol [plane] [\WebdingsSymbol{f0f1}]
= % …
\stopsymbolset

\usesymbols[webdings]
\shows= ymbolset[webdings]
\symbol[webdings][spider]

The font is in= cluded in my pdf, \showsymbolset[webdings] lists the names, but the symbols= never show up=2E
I also tried other fonts=2E
What’s wrong?=


Greetlings, Hraban
---
http://www=2Efiee=2Enet
http://wiki=2Econtextgarden=2Enet
GPG Key ID 1C9B2= 2FD



If your question is of interest to others as wel= l, please add an entry to the Wiki!

maillist : ntg-context@ntg= =2Enl / http= ://www=2Entg=2Enl/mailman/listinfo/ntg-context
webpage : http://www=2Epragma-ade=2Enl / http://context=2Eaanhet=2Enet
= archive : h= ttps://bitbucket=2Eorg/phg/context-mirror/commits/
wiki : http://contextgarden=2Enet


--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesende= t=2E ------9WUKGL5QXYCVAP3GX2Y3UZH0MGP4VC-- --===============2962506833526934773== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============2962506833526934773==--