>>>>> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:

Allan> On 13 Feb 2002, Jean-Marc Lasgouttes wrote:
>> >>>>> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes:
>> 
Allan> If we got really really keen it would then be a simple matter
Allan> to display the chosen bullet in the buffer. Although I'm not
Allan> particularly concerned about this.
>>  It should not be too difficult now that mathed has added support
>> for arbitrary TeX fonts.

Allan> Then it may even be possible to ditch the images completely and
Allan> just place the appropriate characters on each button as a label
Allan> at runtime. Where do I find this font handling (yeah yeah I
Allan> know in src/mathed/ ;-)

In lyxfont.h, you have access to new families:
                ///
                CMR_FAMILY,
                ///
                CMSY_FAMILY,
                ///
                CMM_FAMILY,
                ///
                CMEX_FAMILY,
                ///
                MSA_FAMILY,
                ///
                MSB_FAMILY,
                ///
                EUFRAK_FAMILY,

So if you know the font and family you need, you try to load it, and
use plain old '*' if the family is not available for display.

JMarc

Reply via email to