From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63007 Path: news.gmane.org!not-for-mail From: Ulrike Fischer Newsgroups: gmane.comp.tex.context Subject: Re: manipulate ttf-fonts loaded with luatex Date: Thu, 28 Oct 2010 10:34:55 +0200 Message-ID: References: Reply-To: news3@nililand.de, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1288254936 11125 80.91.229.12 (28 Oct 2010 08:35:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 28 Oct 2010 08:35:36 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 28 10:35:35 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PBNxN-0006mA-7y for gctc-ntg-context-518@m.gmane.org; Thu, 28 Oct 2010 10:35:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F6C5CA7AF; Thu, 28 Oct 2010 10:35:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oGVi09LR0RwW; Thu, 28 Oct 2010 10:35:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A15FCA79D; Thu, 28 Oct 2010 10:35:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95433CA7A4 for ; Thu, 28 Oct 2010 10:35:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20iCPI8CooxE for ; Thu, 28 Oct 2010 10:35:16 +0200 (CEST) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id 3C787CA79B for ; Thu, 28 Oct 2010 10:35:16 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9S8ZFuY008605 for ; Thu, 28 Oct 2010 10:35:15 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PBNx4-0006cM-Hw for ntg-context@ntg.nl; Thu, 28 Oct 2010 10:35:14 +0200 Original-Received: from p5b391f6d.dip.t-dialin.net ([91.57.31.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Oct 2010 10:35:14 +0200 Original-Received: from news3 by p5b391f6d.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 28 Oct 2010 10:35:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 49 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5b391f6d.dip.t-dialin.net User-Agent: 40tude_Dialog/2.0.15.41de X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDo8zfs1 - 1f8eaedbf71a - 20101028 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:63007 Archived-At: Am Wed, 27 Oct 2010 17:32:21 -0400 (EDT) schrieb Aditya Mahajan: > On Wed, 27 Oct 2010, Ulrike Fischer wrote: > >> Am Wed, 27 Oct 2010 14:35:46 -0400 (EDT) schrieb Aditya Mahajan: >> >>> On Wed, 27 Oct 2010, Ulrike Fischer wrote: >>> >>>> Hello, >>>> >>>> I'm currently a bit playing around with the idea to add some support >>>> in the (LaTeX) package "chessfss" (which handle chess fonts) for >>>> fonts loaded with the luaotfload package. As luaotfload use the >>>> context code to load the font I'm hoping that someone here can help >>>> me with some of my problems. >>>> >>>> Chess fonts are highly unstandard. The different authors of the >>>> fonts did put the chars quite randomly in the character table and >>>> also used various glyphs name. So in the psfonts.map almost every >>>> font has its own encoding vector: >>> >>> What is the unicode support for chess fonts. Are there unicode glyphs for >>> each symbol (just like card suits, I guess)? >> >> There are unicode code points only for a part of the symbols. > > I checked the unicode list. The codepoints 0x2654 to 0x365F cover all the > chess pieces. All the fonts in enpassent.dk and chessfss_gallery.pdf show > only these symbols. So what is missing? Most of the symbols needed/used by chessfss to construct boards: WhiteKingOnBlack, BlackQueenOnBlack etc, piecemasks and fieldmasks. Also a lot of so-called "informator symbols" used to comment chess games. If you want to see the whole range of symbol look in the skaknew-fonts on CTAN. They are quite complete. > I am guessing that the problem is not as simple as just mapping a > font glyph to the corresponding unicode codepoint. Even if unicode would have a code point for every symbol: At first my problem is not _where_ to map a glyph but _how_ to do it. And at second: Chess games and boards are typeset with commands so it doesn't matter much where a glyph is in a font as long as all chess fonts use the same standard so that you can switch fonts without problems. The standard used by chessfss is (for historical reasons) the font chart of the skak/skaknew fonts. -- Ulrike Fischer ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________