Dear Lars,

I know that no textual changes are allowed anymore but...

W E H A V E A R E A L P R O B L E M !

The problem is that LyX uses two different schemes for font sizes:

1. Tiny / Smallest / Smaller / Small / Normal / Large / Larger ...
2. tiny | script | footnote | small | normal | large | Large
| LARGE | huge | Huge

Besides the fact that this confuses the user, the second notation which relies on the correct usage of upper/lowercase letters causes unresolvable translation problems ("Large" != "Large").

I have prepared a tiny patch that replaces the second notation by the official one for the GUI (according to lyxfont.C). IMHO this patch is inevitable.

Michael
Index: lyx-devel-1.3.Xcvs/src/frontends/qt2/ui/BulletsModuleBase.ui
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/ui/BulletsModuleBase.ui,v
retrieving revision 1.6
diff -u -r1.6 BulletsModuleBase.ui
--- lyx-devel-1.3.Xcvs/src/frontends/qt2/ui/BulletsModuleBase.ui        2002/12/17 
20:37:11     1.6
+++ lyx-devel-1.3.Xcvs/src/frontends/qt2/ui/BulletsModuleBase.ui        2003/01/24 
+02:05:33
@@ -254,61 +254,61 @@
                     <item>
                         <property>
                             <name>text</name>
-                            <string>tiny</string>
+                            <string>Tiny</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>script</string>
+                            <string>Smallest</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>footnote</string>
+                            <string>Smaller</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>small</string>
+                            <string>Small</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>normal</string>
+                            <string>Normal</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>large</string>
+                            <string>Large</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>Large</string>
+                            <string>Larger</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>LARGE</string>
+                            <string>Largest</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>huge</string>
+                            <string>Huge</string>
                         </property>
                     </item>
                     <item>
                         <property>
                             <name>text</name>
-                            <string>Huge</string>
+                            <string>Huger</string>
                         </property>
                     </item>
                     <property stdset="1">
Index: lyx-devel-1.3.Xcvs/src/frontends/xforms/FormDocument.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/FormDocument.C,v
retrieving revision 1.126
diff -u -r1.126 FormDocument.C
--- lyx-devel-1.3.Xcvs/src/frontends/xforms/FormDocument.C      2003/01/23 16:23:41    
 1.126
+++ lyx-devel-1.3.Xcvs/src/frontends/xforms/FormDocument.C      2003/01/24 02:05:36
@@ -326,8 +330,8 @@
        fl_set_input_return(bullets_->input_bullet_latex, FL_RETURN_CHANGED);
 
        fl_addto_choice(bullets_->choice_bullet_size,
-                       _(" default | tiny | script | footnote | small |"
-                         " normal | large | Large | LARGE | huge | Huge"));
+                       _(" Default | Tiny | Smallest | Smaller | Small |"
+                         " Normal | Large | Larger | Largest | Huge | Huger "));
        fl_set_choice(bullets_->choice_bullet_size, 1);
 
        fl_set_input_maxchars(bullets_->input_bullet_latex, 80);
Index: lyx-devel-1.3.Xcvs/src/frontends/xforms/FormPreferences.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/FormPreferences.C,v
retrieving revision 1.147
diff -u -r1.147 FormPreferences.C
--- lyx-devel-1.3.Xcvs/src/frontends/xforms/FormPreferences.C   2003/01/14 21:51:34    
 1.147
+++ lyx-devel-1.3.Xcvs/src/frontends/xforms/FormPreferences.C   2003/01/24 02:05:42
@@ -2693,7 +2693,7 @@
                   strToDbl(fl_get_input(dialog_->input_huger))) {
                activate = false;
 
-               str = _("Fonts must be input in the order tiny > script> footnote > 
small > normal > large > larger > largest > huge > huger.");
+               str = _("Fonts must be input in the order Tiny > Smallest > Smaller > 
+Small > Normal > Large > Larger > Largest > Huge > Huger.");
        }
 
        if (!activate)


Reply via email to