linux中字体大小可以改吗,在linux中,如何设置字体大小?

源址

Question :

i'm running a very stripped down Ubuntu, 14.04 on some systems and 16.04 on others.they are all fairly spartan, leaner than Lubuntu, built from the mini.iso with X and Openbox.

how can i set a really large font on the terminal emulator xvt?i have lxterminal set to 22 and that is pretty good for me.

or if nobody can tell me how, maybe you can suggest a place to ask.thanks for reading.

= = = = = = = =

Added : in light of Zeno of Elea's suggestion, which was a very helpful starting place, i've played around with the commands like :xvt -fn -*-*-*-*-*-*-28-*-*-*-*-*-*-*

and the corresponding statements in ~/.Xresources, like :xvt*font: -*-*-*-*-*-*-28-*-*-*-*-*-*-*

and the similar :xterm*font: -*-*-*-*-*-*-28-*-*-*-*-*-*-*

and reloading.Xresources. with some numbers i can get a response.Apparently xfontsel can see fonts that xvt can't use, but tries to.some numbers actually do change the font size slightly but, so far, none adequately.the result from changing.Xresources, reloading it, and entering xvt in lxterminal are not in all cases the same as issuing the corresponding command directly with the -fn option.Gofigger.

Entering the commands in lxterminal with the -fn option, at the moment, with "32", i get "Floating point exception", exit code 136, and no xvt.some numbers get me an instance of xvt, but no visible characters at all - only the cursor highlight is visible.looks like it takes and responds to commands but i'm typing blind as if the color scheme was black on black.using -bg option to change the bg color to red results in the same situation with an apparent color scheme of red on red.in both cases with a visible cursor highlight in white.

i've seen other error messages that i failed to record and can't reproduce at the moment.i'm pretty sure one of them was " out of bounds".

i have tried install more fonts and that was enlightening.Numbers that before resulted in error messages only, or xvt instances with an appearance of a black on black color scheme, albeit with visible white cursor, now work.so far the largest number i've gotten to work is "28" which results in an xvt terminal at the lower edge of usability, about the same size as setting lxterminal to "16", whereas my preference with lxterminal is 22.

one path to a comfortable font is clear.i can install every font in the repo and try them one at a time.i should have an answer before the glaciers return (I figure CO2 is buying me a little extra time).can anyone suggest a better way, or where i might ask if nobody can?or any solution better than the present one of letting xvt pick whatever 28 pixel font it likes?

= = = = = = = =

second update : by checking fonts one at a time and specifying them more closely, rather than letting xvt choose any 32 pixel font it likes, i've gotten several 32 and one 34 pixel fonts to work.it helped to pay attention to the preview feature in xfontsel.the best of so far is-*-terminus-medium-r-*-*-32-*-*-*-*-*-*-*

which seems pretty good. not as nice as the "Monospace" that lxterminal and geany use, but it will do.somebody may suggest a completely different way of doing this, but assuming not, the remaining part of the question seems to be :

can anyone suggest good fonts that have a pixel size of 32 or higher?i'm assuming that "Monospace", which seems very legible and clean, isn't available in a format that xvt understands.if i'm wrong about that, or if you know a way to make it work, i'd appreciate elaboration.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值