Re: [AD] New font types

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> I think we have a minor misunderstanding here; I want to simply drop a
> text file into some directory and have dat2c be able to export my font
> structure.

What do you mean exactly by "dat2c be able to export my font structure" ?
Here is what I understand: you want dat2c to be able to convert a datafile
into a C source file which contains a "constructor" function for your new
font type that will get called by fixup_datafile() so that the vtable of the
font structure is correctly set to the vtable your provide in your library.
Am I mistaken ?

What I would like to have is the possibility to call load_datafile() on this
datafile too, i.e a mechanism to set the vtable to an external library in
this case too.

--
Eric Botcazou



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/