#12 How to change fonts in TkCVS

open
nobody
None
3
2013-06-27
2013-06-27
Matthew Thompson
No

This is sort of a low-priority request, but I figured I'd ask. Namely, is there a way to change the default font size of, say, the font in the log browser canvas? I've tried doing things like 'option add *font "Helvetica 36" ' to my .tkcvs file, which definitely changes fonts in some places, but inside the Log Browser it's still the regular old font.

Is there a cvscfg(...) setting for that font? Or one that just sort of scales every font?

Thanks,
Matt

Discussion

  • DorothyR
    DorothyR
    2013-06-27

    In the log browser canvas it's easy: the View->Size menu lets you scale it.

    You can change the font in the text widgets by putting something like this in your ~/.tkcvs file:
    option add *Text.font {fixed-12}

    You can try to set the font in the main UI list (which is actually a canvas) this way, but on my machine, it hangs when it tries to highlight the item under the cursor by underlining it:
    option add *Entry.font {fixed-12}

    I report this because perhaps it won't hang with your setup, though it probably will. It's worth a try, just be ready to ^C it.

     
    • Dorothy,

      I know you can change the browser canvas with View->Size, but I guess I was wondering if you could change what font "100%" represents. That is, let 100% be, say, 24 pt font and then View->Size could scale that.

      Matt