[lltx] Reencode chessfonts with luaoftload

Khaled Hosny khaledhosny at eglug.org
Mon Oct 25 20:12:05 CEST 2010

On Mon, Oct 25, 2010 at 08:08:05PM +0200, Ulrike Fischer wrote:
> Am Mon, 25 Oct 2010 13:07:29 +0200 schrieb Khaled Hosny:
> >> 3. The pirat font (http://www.enpassant.dk/chess/downl/pirat.zip)
> >> used above shows already some on the problems of the project: The
> >> font seems to have a text font as base. To get slots for the chess
> >> symbols it has moved some of the chars backward. Now the king (glyph
> >> name c140) is on position 140, the position of å, the å is on
> >> position 229 (Å), luaotfload seems to haved realized this, the
> >> temp-lua-file of the font contains  c140={ 229, 140 } and my
> >> substituation rule gets me an "å" instead of the King I want. How
> >> can I correct to rule?
> > 
> > There is something odd with the fonts, it seems to have the same glyph
> > referenced in multiple slots, for example the king is on c162 too, 
> It is a different king, it has another bounding box. I can use it
> (the type1 variant is doing it) but I would still like to know how I
> could access the other one. It works if I change in the
> temp-pirat-testsubs.lua in the unicodes table c140={ 229, 140 } to
> c140 = {140}. So I think the question is, can I manipulate this
> value after the definition of the font?

That is a question to Hans/Taco, I'm not really understanding what is
going on.


 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer

More information about the lualatex-dev mailing list