Dekel Tsur <[EMAIL PROTECTED]> writes:

| On Sun, Nov 24, 2002 at 11:53:32PM +0100, Lars Gullik Bj?nnes wrote:
>> I belive the fault is at the xforms side actually, in that we are way
>> to low-level in the lyxrc file, i.e. "-*-times". We should to the same
>> with the xforms frontend that has been done in qt, have a style
>> "Times" and a foundry "*".
>> 
>> And this is what we should store in the lyxrc file.
>
| Do you mean that in lyxrc we should store two variable for each font:
| family & foundary (e.g. roman_font_family/roman_font_foundry) ?
| Also, should we use in the preferences file:
|   \screen_font_roman & \screen_font_roman_foundry
| or 
|   \screen_font_roman_family & \screen_font_roman_foundry

or just even more qt like: 

\screen_font_roman Family [Foundry]

With the possibilty of having the foundry optional.

>> So now we need some changes to the xforms gui, some compability
>> code... and that should be it... kindo...
>
| Here is what should be done:
| 1. In lyxrc.C, we should be able to read old preferences file
| (or perhaps we should write a preferences file converter ?).

Perhaps... but it would be for only very little gain...

| 2. In the frontend font loader, the code should combine the family &
| foundry to the appropriate format:
| -foundry-family   in xforms (or -*-family in foundry is empty)
| family-foundry   in QT2 (or family if foundry is empty)
| family [foundry] in QT3 ("")

yes.

| 3. In the QT preferences dialog, we should convert between family,foundry
| pair and the formats above when setting or reading the font combox.

mmm

| 4. What should be done in the XForms dialog ?
| The alternatives are:
| - For each font, replace the text input widget by a combox like the QT 
| preferences dialog.

I would prefere this one.

| - Create two text input widgets for each font.
| - Leave the dialog unchanged, but allow writing either
| "family" or "-foundary-family" in the dialog input widget.

both these are open for misuse. and are imho a bit too low level.

| I'll try implementing this later today.

That would be great.

-- 
        Lgb

Reply via email to