Hi Greg,
thank you very much for your suggestion.
For ttf to bdf conversion I have used otf2bdf (an evolution of ttf2bdf).
Then, have created the .c with convbdf that have converted all symbols (.c is more than 8Mb).
Now I have another problem: I'm not read the correct symbol on the screen.
My application read a UTF-8 file and show it on a text area.
When I use the .ttf file, all work correctly (but is very slow).
With the same font converted as explained above, I see latin symbols like ", ?, !, space...

I have read devfont.c source and I have seen PMWFONTPROCS struct have "encoding" member: if I set it to MWTF_UTF8 in GdCreateFont function when the built-in font is loaded, can be the right way?

Still thank.
Regards, Cristian C.


Greg Haerr ha scritto:
: I need to embedded cyrillic font support on microwindows. Actually, we
: use built-in font generated by convfnt32 and ttf fonts.
: I have found the dejavu project on sourceforge that have ttf font with
: cyrillic simbols.
: How can I extract this ones?

Nano-X includes a font converter, convbdf, which will create
a .c file from a .bdf file.  This file is then easily included as a built-in
font, of the fixed size specified by the .bdf file.  I'm pretty sure
there is a .ttf -> .bdf conversion program somewhere that will
create a .bdf of a specified fixed raster size from the .ttf file.
This .bdf could then be used to create a .c file.

Regards,

Greg



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to