Active Topics

 


Reply
Thread Tools
Posts: 228 | Thanked: 20 times | Joined on Oct 2007
#31
... Its xterm... It's not SUPPOSED to be pretty!
 
Posts: 24 | Thanked: 2 times | Joined on Jun 2008
#32
how do i install TTF font on a tablet? also just copy to ~/.fonts?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#33
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:
The only current useful booster module is for gtk, <cut>. This module
preinitializes components like pango and cairo.

Last edited by qwerty12; 2008-08-07 at 09:35.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#34
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's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#35
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's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#36
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.
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#37
Since .ttf is vector and scalable, you just mean something that has a 9:20 ratio (or 3:6.67 )? 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?
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 

The Following User Says Thank You to qole For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#38
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*
 
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#39
Originally Posted by Addison View Post
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 :-)
__________________
Newbies click here before posting. Thanks.

If you really need to PM me with troubleshooting question please consider posting it to the forum instead. It is OK to PM me a link to such post then. Thank you.
 

The Following User Says Thank You to fanoush For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#40
Originally Posted by fanoush View Post
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:

 
Reply


 
Forum Jump


All times are GMT. The time now is 13:52.