Dekel Tsur <[EMAIL PROTECTED]> writes:

| On Mon, Aug 12, 2002 at 09:50:55AM +0200, Andre Poenitz wrote:
>> 
>> Ok: Character styles should be done by using something similar to
>> MathFontInsets. 
>
| Regular font (i.e. commands like \textbf) should be implemented like character
| styles, so this means removing the font list from the paragraph class.

Hmm... that would almost be a solution I could live with. We remove
the FontList from Paragraph and replace it with a CharacterStyleList.

For the manual fontchanges we automatically create a unnamed
CharacterStyle for it. (some magic internal name)

And also have gui/etc for the user to create named character styles

but I probably haven't thought this through either.

>> Advantages:
>>  * trivially to implement as almost everything is already there
>>    (mainly GUI is missing)
>>  * small code (currently about 150 lines in math_fontinset.C and
>>    math_factory.C, not much more to be done). 
>>  * allow proper nesting
>
| It is also possible to support nesting using the current implementation,
| by changing the font list in the paragraph class to a tree.

Let's have it flat first.

-- 
        Lgb

Reply via email to