Giter VIP home page Giter VIP logo

Comments (4)

chros73 avatar chros73 commented on May 24, 2024

Wow! Nice job, thanks!
I'll try it out. My only concern is that the small ratio glyphs.

This is what I'm using now, it's in the same DejaVu set.
You can add as an alternative solution, and it's more simpler:

  • use Putty version 0.64b or greater (to be able to have bold fonts)
  • under terminal: x "Use background colour to erase screen"
  • under colors: set "Indicate bold text by setting: both"
  • under appearance: x "allow selection of variable pitch font", Font: DejaVu Sans Condensed, size: 9 .

This DejaVu font was the only one (that I tried) which can display almost all fonts and text is still readable. Not perfect, but close:

  • some glyphs are missing from the header (but it doesn't bother me)
  • left side of the fonts can be chopped off from some wider character
  • good thing: ratio glyphs are clearly visible

from rtorrent-ps.

NoSubstitute avatar NoSubstitute commented on May 24, 2024

Yeah, I'm not using beta versions of PuTTY. Still on 0.64.
I'm not a big fan of DejaVu Mono in bold. I think it's easier to read text (irssi, mc, pyWA, top) in normal. Consider I use my tmux for four other panes at the same time as rt-ps.
Also, I'm on a 1920x1080p 17" laptop, with PuTTY at 210x65, so with font size 10 I can hardly read (I can't) those ratio glyphs (column 7?). I just want them to be right, and not broken.

The entire point of this exercise is/was to inform how to display all glyphs in Windows.
So "simpler" isn't a viable alternative solution, if it doesn't display all glyphs.

Personally, I'd be ok with regular numbers for ratio, with the sad smiley for less than 1.

from rtorrent-ps.

pyroscope avatar pyroscope commented on May 24, 2024

You know the RTFM thing... 😏

Ratio (☹ plus color indication for < 1, ➀ — ➉ : >= the number, ⊛ : >= 11); change to a different set of number glyphs using ui.style.ratio.set=2 (or 3), 0 is a mostly ASCII one

from rtorrent-ps.

chros73 avatar chros73 commented on May 24, 2024

@NoSubstitute Thanks for this great idea, it's working pretty well! :) (I haven't known that such a fallback exist.)
"So "simpler" isn't a viable alternative solution, if it doesn't display all glyphs." : Yes, you're right.
I still prefer DejaVu Sans Condensed font over the Mono one: the special characters are much bigger with it (font size: 9, fullHD resolution, 15"4 screen size). So I did your font linking with this font (all chars are good now in the header). Here's the required registry entry: save it as dejavucondensed-eversonmono-link.reg , and run it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"DejaVu Sans Condensed"=hex(7):45,00,76,00,65,00,72,00,73,00,6f,00,6e,00,20,00,4d,\
  00,6f,00,6e,00,6f,00,2e,00,74,00,74,00,66,00,2c,00,45,00,76,00,65,00,72,00,\
  73,00,6f,00,6e,00,4d,00,6f,00,6e,00,6f,00,00,00,00,00

What kind of OS and OS version and rtorrent-ps version do you use? I'm asking because of this:
https://groups.google.com/forum/#!topic/pyroscope-users/_5yMqjIHcpo
(You can answer there.)

@pyroscope "ui.style.ratio.set=2" Thanks I haven't know that either :) I tried them out, but I like the default (1) icons with this font.

from rtorrent-ps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.