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
___________________________________________________________________________________

Reply via email to