#1 Can't set font in preferences (on Windows platform)

closed
None
5
2005-07-23
2005-06-27
Geoffrey Wu
No

There are no Font & Print options in Application
Preferences as specified in the documentation.

The fonts in formula, threshold,... and various other
entry fields are simply too samll to be read clearly.

Looking at the source, the code did differentiate the OS
platform and ruled out those two options on Windows
platform. Why is that?

Discussion

    • assigned_to: nobody --> jfontain
     
  • Logged In: YES
    user_id=376942

    First, make sure you used the zip distribution file.
    On Windows, printing preferences are handled at the OS level
    and via the dialog box that opens when you print, I think.
    UNIX works differently.
    As for the font, it's supposed to be the same as other
    Windows applications. Which Tcl/Tk are you using?

     
  • Geoffrey Wu
    Geoffrey Wu
    2005-07-05

    Logged In: YES
    user_id=1062093

    Yes, I am using Windows ZIP distribution. ActiveTcl 8.4.6 is
    used on my Windows/XP Professional.

    As can be seen in the attached screen shot, the fonts option
    is missing in Application preferences

     
  • Geoffrey Wu
    Geoffrey Wu
    2005-07-05

    Application preferences, missing fonts options

     
    Attachments
  • Geoffrey Wu
    Geoffrey Wu
    2005-07-05

    Location of Source code where Windows platform did not add in "fonts" or "printing" option.

     
    Attachments
  • Geoffrey Wu
    Geoffrey Wu
    2005-07-05

    Fonts in thresholds setting Window were too small to be seen

     
    Attachments
  • Logged In: YES
    user_id=376942

    Thank you for the screenshots. May I have some more that
    show the small fonts as they appear to you? (I do not have a
    windows platform at hand at this time). Thanks much.

     
  • Geoffrey Wu
    Geoffrey Wu
    2005-07-06

    Logged In: YES
    user_id=1062093

    Dear Jean,

    Thanks for your prompt reply. Not quite sure on what your Q
    is? Are you requesting for more screenshots on other
    occasions where "small font" issue were presented?

    In other occassions, such as the database instance windows,
    part of the SQL statement shown in Italic font, as attached
    screenshot, doesn't look so clear either. This also suggests
    that a "fonts" config option is really needed under Windows
    platform.

    Basically, I use Windows' "Start --> Settings --> Control
    Panel --> Display" to change differnt font size for different
    parts of a Window, however those efforts didn't change the
    moodss application's internal setting, those effort did change
    other applications' font. I believe Tk is handling the font on it's
    own. I am not familiar with Tk programming, however I did try
    SpecTcl on serveral occasions where the same generated
    simple GUI interface did come out the same look & feel on
    both Windows & Linux platform.

    My question, please reference the screenshot on the
    SourceCode.gif, is why you deliberately take out the "fonts"
    & "printing" option from application?

    BTW, as a result of that, the "Print" menu item is disable on
    Windows platform as well.

     
  • Geoffrey Wu
    Geoffrey Wu
    2005-07-06

    Database Instances Windows

     
    Attachments
  • Logged In: YES
    user_id=376942

    Thanks for all the information: I need to look into it next
    week on a windows platform.

     
  • Logged In: YES
    user_id=376942

    Please edit moodss.tcl, find the line:
    set (fixedNormal) [font create -family courier -weight
    normal -size -[font actual $(mediumNormal) -size]]
    and replace with (remove the -):
    set (fixedNormal) [font create -family courier -weight
    normal -size [font actual $(mediumNormal) -size]]
    and let me know if it fixes the problem.
    For printing, look at install.txt: Tkprint.
    Italics looks bad because Tcl/Tk 8.4 does not do
    anti-aliasing on fonts. 8.5 will fix that.

     
  • Geoffrey Wu
    Geoffrey Wu
    2005-07-15

    Logged In: YES
    user_id=1062093

    Yes, "the font too small" issue has been fixed. Thank you,
    also thanks for the info regrading Tkprint & Italic font issue.

    If you don't mind my asking the same question again, may I
    ask why on UNIX platform, there is a "fonts" & "printing"
    options under Preferences --> application, however on
    Windows platform, those two options were taken out from
    Preferences window?

     
  • Logged In: YES
    user_id=376942

    For printing, Tcl/Tk has no control over Windows
    preferences, which should be set via the native print dialog
    box opened when printing from moodss.
    For fonts, the idea was for moodss to use the fonts preset
    in the Windows environment, as most Windows applications do.
    I am not sure whether the fonts in moodss actually change
    when you change the font size in Windows preferences: I have
    to look at it thoroughly, but I do not have much time right
    now and Windows is not my development platform (I encourage
    you to use Linux as a monitoring station, if you want to get
    the best out of moodss, including the moomps daemon).

     
  • Geoffrey Wu
    Geoffrey Wu
    2005-07-15

    Logged In: YES
    user_id=1062093

    Really appreciated!

    Yes, we are trying moodss on both Linux & Windows
    platform. Just FYI, after fixing the bug you just mentioned, I
    have also tried to change Windows font via Windows utility, it
    didn't changed accordingly within moodss.

    And Yes again, distributed "moomps" daemons are great
    stuffs.

    One of the reasons we are pursueing Windows as the
    monitoring client is simply because we are also exploring the
    possibility of having one Management GUI client to integrate
    the monitoring of both Windows servers & Linux servers. We
    are currently studying Microsoft's MOM (Microsoft Operation
    Manager) server.

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=376942

    I am closing this request as the just released 20.3 version
    fonts should follow changes in the Windows control panel,
    after an application restart.
    Further problems in that area should be entered as bugs.
    Thanks for reporting and testing!