зеркало из https://github.com/github/putty.git
06a8d11964
This is mostly easy: it's just like drawing an underline, except that you put it at a different height in the character cell. The only question is _where_ in the character cell. Pango, and Windows GetOutlineTextMetrics, will tell you exactly where the font wants to have it. Following xterm, I fall back to 3/8 of the font's ascent (above the baseline) if either of those is unavailable. |
||
---|---|---|
.. | ||
configure | ||
gtkapp.c | ||
gtkask.c | ||
gtkcfg.c | ||
gtkcols.c | ||
gtkcols.h | ||
gtkcomm.c | ||
gtkcompat.h | ||
gtkdlg.c | ||
gtkfont.c | ||
gtkfont.h | ||
gtkmain.c | ||
gtkmisc.c | ||
gtkmisc.h | ||
gtkwin.c | ||
osxlaunch.c | ||
procnet.c | ||
pterm.bundle | ||
pterm.plist | ||
putty.bundle | ||
putty.plist | ||
unix.h | ||
ux_x11.c | ||
uxagentc.c | ||
uxagentsock.c | ||
uxcfg.c | ||
uxcliloop.c | ||
uxcons.c | ||
uxfdsock.c | ||
uxgen.c | ||
uxgss.c | ||
uxmisc.c | ||
uxnet.c | ||
uxnogtk.c | ||
uxnoise.c | ||
uxpeer.c | ||
uxpgnt.c | ||
uxplink.c | ||
uxpoll.c | ||
uxprint.c | ||
uxproxy.c | ||
uxpsusan.c | ||
uxpterm.c | ||
uxpty.c | ||
uxputty.c | ||
uxsel.c | ||
uxser.c | ||
uxserver.c | ||
uxsftp.c | ||
uxsftpserver.c | ||
uxshare.c | ||
uxsignal.c | ||
uxsocks.c | ||
uxstore.c | ||
uxucs.c | ||
uxutils.c | ||
x11misc.c | ||
x11misc.h | ||
xkeysym.c | ||
xpmptcfg.c | ||
xpmpterm.c | ||
xpmpucfg.c | ||
xpmputty.c |