How Do I Invoke My Shaper?



I've got my indic-xft shaper to build, and now I find that I can't figure out how to invoke it.

I have an OpenType Devanagari font. Following the directions in http://www.xfree86.org/current/fonts.html I used ttmkfdir to generate a fonts.scale file and mkfontdir to generate a font.dir. Here's fonts.scale:

2
Devamt.ttf -monotype-Devanagari MT for IBM-medium-r-normal--0-0-0-0-p-0-ascii-0
Devamt.ttf -monotype-Devanagari MT for IBM-medium-r-normal--0-0-0-0-p-0-iso8859-1

and here's fonts.dir:

2
Devamt.ttf -monotype-Devanagari MT for IBM-medium-r-normal--0-0-0-0-p-0-ascii-0
Devamt.ttf -monotype-Devanagari MT for IBM-medium-r-normal--0-0-0-0-p-0-iso8859-1

(I'm suspicious that it only shows ascii and iso8859-1 for encodings; the font has a Microsoft Unicode CMAP)

When I type the command "xset +fp /home/emader/deva-fonts" I get the following:

X Error of failed request:  86
  Major opcode of failed request:  51 (X_SetFontPath)
  Serial number of failed request:  9
  Current serial number in output stream:  11

Can someone please tell me what I have to do to get Pango to use this font?

Thanks,
Eric Mader





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]