Menu

#101 Can't override font of statistics line

release
closed-fixed
Program (402)
2
2001-12-03
2001-11-29
Anonymous
No

NEdit Version 5.2+ DEVELOPMENT version
(November 2001)

Built on: Linux, x86, GNU C
Built at: Nov 28 2001, 09:01:16
With Motif: 2001 [@(#)Motif Version 2.1.30]
Running Motif: 2001
Server: Mandrake Linux (XFree86 4.1.0, patch
level 17mdk) 40100000

Can't set font for statistics line using X resource
setting, for example,

----------------------------------
nedit*statsForm.fontList:
-*-helvetica-medium-r-normal--*-*-180-*-*-*-*-*
----------------------------------

even after restarting my X server. However, it does
affect the font (size) for "incremental search" (this
at least can prove there is not error in .Xdefault
and the font is available).

I also searched from http://www.nedit.org/archives,
and found the same complaint about this. Unfortunately
I didn't find the solution.

It's unwise to use the same font for statistics line
and for text, I think, because he statistics line is
apparently one part of the menu instead of one part of
(user's) text.

Is it possible for any of the developers to fix this
bug?

Discussion

  • Scott Tringali

    Scott Tringali - 2001-11-29
     
  • Scott Tringali

    Scott Tringali - 2001-11-29
    • labels: --> Program
    • priority: 5 --> 2
    • milestone: --> release
     
  • Scott Tringali

    Scott Tringali - 2001-11-29

    Logged In: YES
    user_id=11321

    It appears that you're building from CVS. A patch ought to
    help you out.

    Fix attached. It defaults the stats line to the same as the
    menu font.

    Note that your X resource is wrong, though, you probably
    want this instead:

    nedit*statsLine.fontList:
    -*-helvetica-medium-r-normal-*-*-180-*-*-*-*-*-*

    ...though with the fix you may not need it.

     
  • Scott Tringali

    Scott Tringali - 2001-11-29
    • summary: Bug with statistics line setting --> Can't override font of statistics line
     
  • Alexander Mai

    Alexander Mai - 2001-12-03
    • assigned_to: nobody --> tringali
    • status: open --> closed-fixed
     

Log in to post a comment.