Herbert Voss wrote:
> can somebody confirm?
>
> a different fontsize for footnotes in the preferences has no
> effect. the footnotetext has the same fontsize than the maintext.

Ehm... I think that the settings for "footnote" fontsize in preferences 
are not the size of the footnote text on screen, but the (screen) size 
of text which has \footnotesize.

Confusing is that some of the sizes in the character dialog and in 
preferences have different names (e.g. "Footnote" [Pref] vs. "Smaller" 
[Character]).
If somebody can confirm that this is correct, I would suggest to use 
the same names in Preferences than in the Character Dialog.

The attached patch changes the names in the Preferences dialog to those 
in the character dialog ( i.e. lyxtext.C ).

Juergen.

> Herbert
Index: src/frontends/xforms/ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/ChangeLog,v
retrieving revision 1.207
diff -u -r1.207 ChangeLog
--- src/frontends/xforms/ChangeLog	2001/12/05 23:18:44	1.207
+++ src/frontends/xforms/ChangeLog	2001/12/08 17:18:56
@@ -1,3 +1,8 @@
+2001-12-08  Jürgen Spitzmüller  <[EMAIL PROTECTED]>
+
+       * forms/form_preferences.fd: use the same name for font sizes
+       than the character dialog.
+
 2001-12-05  John Levon  <[EMAIL PROTECTED]>

 	* FormParagraph.C: set combo box correctly for VSpace::LENGTH
Index: src/frontends/xforms/form_preferences.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/form_preferences.C,v
retrieving revision 1.46
diff -u -r1.46 form_preferences.C
--- src/frontends/xforms/form_preferences.C	2001/11/26 10:19:54	1.46
+++ src/frontends/xforms/form_preferences.C	2001/12/08 17:19:02
@@ -149,10 +149,10 @@
   fdui->input_tiny = obj = fl_add_input(FL_FLOAT_INPUT, 370, 20, 70, 30, _("tiny"));
     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
     fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
-  fdui->input_script = obj = fl_add_input(FL_FLOAT_INPUT, 370, 50, 70, 30, _("script"));
+  fdui->input_script = obj = fl_add_input(FL_FLOAT_INPUT, 370, 50, 70, 30, _("smallest"));
     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
     fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
-  fdui->input_footnote = obj = fl_add_input(FL_FLOAT_INPUT, 370, 80, 70, 30, _("footnote"));
+  fdui->input_footnote = obj = fl_add_input(FL_FLOAT_INPUT, 370, 80, 70, 30, _("smaller"));
     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
     fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
   fdui->input_small = obj = fl_add_input(FL_FLOAT_INPUT, 370, 110, 70, 30, _("small"));
Index: src/frontends/xforms/forms/form_preferences.fd
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/xforms/forms/form_preferences.fd,v
retrieving revision 1.39
diff -u -r1.39 form_preferences.fd
--- src/frontends/xforms/forms/form_preferences.fd	2001/11/21 17:03:13	1.39
+++ src/frontends/xforms/forms/form_preferences.fd	2001/12/08 17:19:35
@@ -386,7 +386,7 @@
 style: FL_NORMAL_STYLE
 size: FL_NORMAL_SIZE
 lcol: FL_BLACK
-label: script
+label: smallest
 shortcut: 
 resize: FL_RESIZE_ALL
 gravity: FL_NoGravity FL_NoGravity
@@ -404,7 +404,7 @@
 style: FL_NORMAL_STYLE
 size: FL_NORMAL_SIZE
 lcol: FL_BLACK
-label: footnote
+label: smaller
 shortcut: 
 resize: FL_RESIZE_ALL
 gravity: FL_NoGravity FL_NoGravity

Reply via email to