maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   what font is pretty in xterm? (https://talk.maemo.org/showthread.php?t=17002)

casparmin 2008-02-22 05:32

what font is pretty in xterm?
 
I want to find a pretty font to replace default font of xterm.

Please give me a suggestion: what font? where does download it?

GeneralAntilles 2008-02-22 05:35

Re: what font is pretty in xterm?
 
Since I can't get Monaco 9 to not be anti-aliased, Terminus.

http://www.legacyoflies.com/devuploa...nuspreview.gif

casparmin 2008-02-22 06:29

Re: what font is pretty in xterm?
 
Thanks! I love the font.

dblank 2008-02-22 06:57

Re: what font is pretty in xterm?
 
I've been using ProFont;
http://www.fontspace.com/carl-osterwald/profontwindows

clach04 2008-02-22 19:25

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by GeneralAntilles (Post 146116)

I can't access the page above (I can get the google cache up though), it looks like the master page for this is http://www.is-vn.bg/hamster/jimmy-en.html

EDIT silly typo

jakubd 2008-02-23 00:05

Re: what font is pretty in xterm?
 
I'm addicted to Lucida Console that is available in every Windows XP - you can just copy it from Windows/Fonts folder to your Nokia (as explained multiple times on forum) and it looks just nice.
But still I'm going to test Terminus, as it looks really readable.

Addison 2008-02-23 00:47

Re: what font is pretty in xterm?
 
Okay, so I have the Terminus Font folder on my internal memory card:
/media/mmc2/terminus-font-4.20

What do I type in exactly using Xterm to transfer this folder to where it needs to be so that I can select this as my primary font? I'm using OS 2008.

Thanks guys!

GeneralAntilles 2008-02-23 01:08

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by Addison (Post 146533)
Okay, so I have the Terminus Font folder on my internal memory card:
/media/mmc2/terminus-font-4.20

What do I type in exactly using Xterm to transfer this folder to where it needs to be so that I can select this as my primary font? I'm using OS 2008.

That font isn't prebuilt. You want the ttf from somewhere.

rcull 2008-02-23 09:01

Re: what font is pretty in xterm?
 
Two links for this font.

http://amip.tools-for.net/ds/dl.php?...s-2.0-beta.zip
http://www.is-vn.bg/hamster/TerminusRe33-Bold.ttf

The second looks much better in my opinion.

put them in a folder called /home/user/.fonts (don't miss the dot - you will have to create this in xterm {mkdir .fonts})
After a reboot they will be available for use.

Rick

Addison 2008-02-23 09:22

Re: what font is pretty in xterm?
 
Awesomeness rcull!

So you're saying that I need to type in Xterm:
cp /media/mmc2/TerminusRe33-Bold.ttf /home/user/.fonts

I'm not understanding this though...
Quote:

you will have to create this in xterm {mkdir .fonts}
Could you please explain this to me in a nutshell?

I sure would appreciate that if you would. :)

DigiSage 2008-02-23 09:39

Re: what font is pretty in xterm?
 
addison, he's saying that you will need to create a directory named .fonts before you copy the font file into it. to do this, you type: mkdir /home/user/.fonts

rcull 2008-02-23 09:44

Re: what font is pretty in xterm?
 
At the command prompt in xterm

Code:

~/$ mkdir .fonts
~/$ cp /media/mmc2/TerminusRe33-Bold.ttf /home/user/.fonts

then reboot

Rick

Addison 2008-02-23 09:47

Re: what font is pretty in xterm?
 
Well DigiSage already got me to where I needed to be before you posted.

But hey, I'm not an animal. You get a thanks as well rcull! :D

qole 2008-02-26 22:15

Re: what font is pretty in xterm?
 
Ok, I got excited when I stumbled on this thread. "Cool, custom font in XTerm!"

But then I went and (re-)checked my OS2008 XTerm, and yep, just like I remembered, you get to choose between "Monospace," "Sans," and "Serif". Doesn't matter what fonts you have installed.

What am I missing here?

jamesc760 2008-02-26 22:21

Re: what font is pretty in xterm?
 
Addison,

What rcull is saying is that you have to open an xterminal session and type:

cd /
mkdir /home/user/.fonts

And then, copy the terminus font, like this:

cp /media/mmc2/TerminusRes33-Bold.ttf /home/user/.fonts

Okay?

qole 2008-02-27 00:44

Re: what font is pretty in xterm?
 
Addison has got his fonts directory set up, he said so two posts ago. But what about my question? How do you choose your new font in XTerm? Do I have to install a different version than the one that comes with OS2008? Do I edit a text file? What?

Moonshine 2008-02-27 00:52

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by qole (Post 148304)
Addison has got his fonts directory set up, he said so two posts ago. But what about my question? How do you choose your new font in XTerm? Do I have to install a different version than the one that comes with OS2008? Do I edit a text file? What?

You're in the right spot (Tools->Settings) in xTerm.

It just sounds like the fonts you've added haven't added to the system font list yet. I forget the command to do it off hand, but a reboot will rebuild the list also ;) I'm lazy, so I've just been adding adding things to /usr/share/fonts and rebooting.

FWIW I like to use "Consolas" on the desktop and n810. Very easy on the eyes for long days of coding IMO. :D

qole 2008-02-27 01:04

Re: what font is pretty in xterm?
 
I figured it out, I think. I have my many, many fonts in a "fonts" folder on my SD card. I then soft linked (ln -s) my /home/user/.fonts directory to the SD card's font directory. This works for Maemopad+, which is the only place I normally change fonts, but it seems that OSSO XTerm doesn't like something about it. Perhaps the soft link? I don't know. But space is at too much of a premium for me to copy all of my fonts to the built-in memory.

So I copied Terminus and ProFontWindows into /usr/share/fonts and rebooted, and those two appeared in XTerm's font choice menu.

Any ideas why a soft link to an SD card wouldn't work for fonts?

EDIT: Just checked leafpad, and it also finds all of my fonts on the SD card.

taguapire 2008-02-28 03:57

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by GeneralAntilles (Post 146116)
Since I can't get Monaco 9 to not be anti-aliased, Terminus.

http://www.legacyoflies.com/devuploa...nuspreview.gif

Very cool color configuration... How do I configure colors in Xterm? Can you share your configuration file for that combination?

Regards,

Taguapire.

fanoush 2008-03-05 08:18

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by clach04 (Post 146425)
I can't access the page above (I can get the google cache up though)[/url]

Me too, seems to be down for some time, the google cache shows
Quote:

I created another TrueType version which only contains bitmap data because Eric's version just didn't do the trick for me on OS X (looked really ugly). Available at:

* Terminus (normal) (http://chlamydia.fs.ei.tum.de/~corec...d/Terminus.ttf)
* Terminus (bold) (http://chlamydia.fs.ei.tum.de/~corec...rminusBold.ttf)

-- Simon 'corecode' Schubert (mailto:corecode@fs.ei.tum.de)
These are bitmap ones so no antialiasing (which is perfect for me :-)

tz1 2008-03-05 16:33

Re: what font is pretty in xterm?
 
Colors in xterm are a function of the application. vim with the syntax files with "syntax enable" in the .vimrc file will colorize most things. The real (non busybox) "ls" can do ls --color (or set that in an environment variable) and produces colorized directory listings.

fanoush 2008-07-31 19:38

Re: what font is pretty in xterm?
 
Hi, just found another good font for xterm - Fixedsys Excelsior http://www.fixedsysexcelsior.com/
You can put it to .fonts, restart browser and see http://www.fixedsysexcelsior.com/inf...on/scripts.htm for examples.

It is plain old fixedsys from Windows (used in DOS/command prompt window) changed into ttf with many unicode characters added. At one specific size (same as Terminus) it is not antialiased so it looks perfect. Terminus is great but a bit thin. Fixedsys Excelsior is more bold.

mrklaw 2008-07-31 20:15

Re: what font is pretty in xterm?
 
I use Droid Sans Mono.
http://damieng.com/blog/2007/11/14/d...at-coding-font

It doesn't have bold, italic, or a slashed zero though.

qwerty12 2008-07-31 20:50

Re: what font is pretty in xterm?
 
1 Attachment(s)
Quote:

Originally Posted by fanoush (Post 209090)
Hi, just found another good font for xterm - Fixedsys Excelsior http://www.fixedsysexcelsior.com/
You can put it to .fonts, restart browser and see http://www.fixedsysexcelsior.com/inf...on/scripts.htm for examples.

It is plain old fixedsys from Windows (used in DOS/command prompt window) changed into ttf with many unicode characters added. At one specific size (same as Terminus) it is not antialiased so it looks perfect. Terminus is great but a bit thin. Fixedsys Excelsior is more bold.

I 'twas bored and shoved that font into a deb. I selected that font in my xterm but it looks nothing like whats on the page to me (actually, come think of it, I am using the freetype with bytecode interpreter) :)

Benson 2008-07-31 22:25

Re: what font is pretty in xterm?
 
Well... Screenshot, then?

fanoush 2008-08-01 06:54

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by Benson (Post 209168)
Well... Screenshot, then?

http://img243.imageshack.us/img243/245/xterm2zq8.png
http://img509.imageshack.us/img509/2296/xterm1ta8.png

Benson 2008-08-01 12:07

Re: what font is pretty in xterm?
 
Well, I actually meant qwerty12, since he said his looked different...

fanoush 2008-08-01 12:13

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by Benson (Post 209293)
Well, I actually meant qwerty12, since he said his looked different...

Yes, I know. I just realized screenshot might be good in any case :-)

Addison 2008-08-03 04:17

Re: what font is pretty in xterm?
 
1 Attachment(s)
Best Programming Fonts

Well, I've tried about at least 50 or so really great fonts, but I keep coming back to Bitstream Vera Sans Mono, mostly because of how the many different font sizes for this seem to fit the tablet's screen the best for Rogue type games.
Attachment 2234

Here's a picture of it using one of the larger sizes.
http://img367.imageshack.us/img367/52/shotzf7.png

iamthewalrus 2008-08-03 08:11

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by Addison (Post 209697)
Best Programming Fonts

Well, I've tried about at least 50 or so really great fonts, but I keep coming back to Bitstream Vera Sans Mono, mostly because of how the many different font sizes for this seem to fit the tablet's screen the best for Rogue type games.

I was just about to recommend that one. My fave for programming/terminal stuff. Otherwise plain "courier new".

jhoff80 2008-08-03 08:27

Re: what font is pretty in xterm?
 
... Its xterm... It's not SUPPOSED to be pretty! ;)

tty 2008-08-04 06:15

Re: what font is pretty in xterm?
 
how do i install TTF font on a tablet? also just copy to ~/.fonts?

qwerty12 2008-08-04 06:38

Re: what font is pretty in xterm?
 
Quote:

mkdir -p /home/user/.fonts
mv /path/to/<fontfile>.ttf /home/user/.fonts
fc-cache -fv
sudo gainroot
/etc/init.d/maemo-launcher force-reload
mkdir makes the .fonts directory if it doesn't exist.
Next line, well it's obvious what that does.
fc-cache forces the home font cache to be reread. (in this case anyway).
sudo gainroot gets you root (if you have sudser/rootsh/becomeroot/easyroot installed) which we need for the next line.
The maemo-launcher line forces it to restart. Not doing that will not get you the font listed in most apps until a restart.
Using force-reload means that dsmetool won't go into a hissy fit and reboot the device.
Thanks zap (anpaza here I believe) for the maemo-launcher line on the #maemo irc.

From the maemo-launcher readme:
Quote:

The only current useful booster module is for gtk, <cut>. This module
preinitializes components like pango and cairo.

Addison 2008-08-04 08:25

Re: what font is pretty in xterm?
 
So qwerty, if I follow your steps, does that mean I don't have to reboot the tablet every time I add a new font?

qwerty12 2008-08-04 09:08

Re: what font is pretty in xterm?
 
Yes, I couldn't get large statusbar clock to see the new font without a reboot (maybe killall hildon-desktop will cure that) but for the rest of the applications, it worked fine.

Addison 2008-08-04 09:56

Re: what font is pretty in xterm?
 
Okay, I'm going to throw out a quick pop quiz for you all.

Anyone know of a 9x20 font that can be found in .ttf format?

I couldn't care less on how it looks or even smells, just as long as it has that dimensions.

I'll say thanks even though I doubt I'll get a response on this. :D

qole 2008-08-05 23:47

Re: what font is pretty in xterm?
 
Since .ttf is vector and scalable, you just mean something that has a 9:20 ratio (or 3:6.67 :D )? I assume 9 is the width and 20 is the height?

I would suggest browsing those free font sites looking for something tall and thin, and just try them until you find something that fits. You just need to find something that's a bit more than three times taller than it is wide, right?

Addison 2008-08-06 06:10

Re: what font is pretty in xterm?
 
Hey qole!

Okay, hopefully I can state this correctly so there's no confusion here.

I'm looking for a font that will display 80x24 characters and makes full use of the screen to the exact pixel, or even better yet, 80x24 on a 721x480 screen since I'll be using the virtual Xkbd on the side of the screen.

The closest I have come to this is with the Bitstream Vera Sans Mono font, sized 12, but that gets me something like 79x24 2/3rds for rows and columns. So that's not quite the perfect fit for what I'm hoping to find.

But really, anything that has an exact height of 20 pixels (24 rows times 20 pixel height = 480 pixels) would be good enough for me to enjoy.

Does that make any sense now?

And yeah, I've been looking for such a font for the past 3 weeks and have finally taken a break from it all.

I'm not understanding why it's so hard for me to find such a format that seems pretty simple to me.

Well, post back when you have all the answers for me. *lol*

fanoush 2008-08-06 06:21

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by Addison (Post 210678)
But really, anything that has an exact height of 20 pixels (24 rows times 20 pixel height = 480 pixels) would be good enough for me to enjoy.

It looks like there is one (or two?) pixel wide border even in fullscreen so maybe 20 pixel font would not make 24 rows. Fixedsys should be 16 pixels and I see almost one full unused line on the bottom.

And window border when not in fullscreen could make whole story about wasting screen space :-)

Addison 2008-08-06 07:31

Re: what font is pretty in xterm?
 
Quote:

Originally Posted by fanoush (Post 210685)
It looks like there is one (or two?) pixel wide border even in fullscreen so maybe 20 pixel font would not make 24 rows. Fixedsys should be 16 pixels and I see almost one full unused line on the bottom.

And window border when not in fullscreen could make whole story about wasting screen space :-)


I'm not quite sure what you're getting at fanoush....

Are you saying that there are possibly one or two pixels for the border that can't be seen? Because I'm seeing nothing there on my terminal in full screen mode, only potential space that never gets used for some reason.

But yeah, I'm getting the same results on my end, there seems to always be that very bottom line that never gets used for some reason.

Here's a screenshot to show what I'm getting over on my end:

http://img126.imageshack.us/img126/5664/53153797fs0.png


All times are GMT. The time now is 05:32.

vBulletin® Version 3.8.8