Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 31 Oct 2014, 00:16
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Problem with "How I do Fonts"
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
spongedaddy


Joined: 02 Jun 2009
Posts: 38
Location: Winter Park, FL

PostPosted: Tue 21 Jul 2009, 01:00    Post_subject:  Problem with "How I do Fonts"  

Hello all,

I'm working through the "How I do Fonts" thread by SitHeelSpeak (http://www.murga-linux.com/puppy/viewtopic.php?t=10576) and have a hit a snag.

I've downloaded and unpacked freetype 2.3.9 in to the recommended directories and have updated bash to 3.2. I replaced the old bash with the new as described.

However, when I go to /usr/freetype-2.3.9, open a terminal there and enter
Code:
./configure --prefix=/usr


I receive the following:
Code:
bash: ./configure: No such file or directory


I'm sure I've overlooked something, but I can't imagine what since I'm early in the process and have been following this to the letter.

Any suggestions are greatly appreciated.
Back to top
View user's profile Send_private_message Visit_website 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 21 Jul 2009, 02:18    Post_subject:  

No idea. I just downloaded the 2.3.9 source, and configure is in the unpack. Perhaps you got a bad download.

Which Puppy are you installing to?
Back to top
View user's profile Send_private_message 
spongedaddy


Joined: 02 Jun 2009
Posts: 38
Location: Winter Park, FL

PostPosted: Tue 21 Jul 2009, 10:00    Post_subject:  

I'm using 4.00 with a full install.
Back to top
View user's profile Send_private_message Visit_website 
spongedaddy


Joined: 02 Jun 2009
Posts: 38
Location: Winter Park, FL

PostPosted: Tue 21 Jul 2009, 10:05    Post_subject:  

If indeed it is a bad download, should I scrap everything I've done to this point and just start over? With it being pretty early in the process I have no problem doing this.
Back to top
View user's profile Send_private_message Visit_website 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Tue 21 Jul 2009, 16:01    Post_subject:  

Hang on--I've decided to go ahead and put together a dotpet. Back in 24.
Back to top
View user's profile Send_private_message 
Sit Heel Speak


Joined: 30 Mar 2006
Posts: 2595
Location: downwind

PostPosted: Wed 22 Jul 2009, 04:21    Post_subject:  

Try spongedaddy-0.0.1.pet, over at
http://www.murga-linux.com/puppy/viewtopic.php?p=325922#325922

Fair warning, though: while testing the Luxi font dotpet above it I somehow borked PETget. Don't know whether related to my dotpet or not. ***edited --Luxi font dotpet removed; it appears to be a quirk in the naming of dotpets, solved by replacing underscores with dashes***

1. THE MAIN DOTPET (spongedaddy-0.0.1.pet) IS NOT UNINSTALLABLE. It is not registered with PETget, so the Puppy Package Manager cannot uninstall it! So, make a backup copy of your pup_save.2fs file before you start ***edit: or, boot from CD and back up your entire partition, if a full install***. To onlookers: this was compiled under Puppy 4.00-k2.6.27.1 with libfreetype.so.6.3.16 and may not work with other kernel+libfreetype version combinations.

After installing, there are still three tasks to do:

1. Open an rxvt window and issue the command
Code:
xdpyinfo | grep 'dimensions:'

Write down the nnn x nnn millimeters values.

Now open /etc/X11/xorg.conf as text, scroll down to a place that looks like the code snippet below (your Monitor section may look slightly different, and may not have a DisplaySize line):

Code:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 31.5-48.5
VertRefresh 40-70
DisplaySize 433 347
EndSection

and create a DisplaySize line that matches the width x height values shown by xpdyinfo. For example, if xpdyinfo shows 433x347 millimeters, you would make the line
Code:
DisplaySize 433 347

2. Now in rxvt issue the command
Code:
xdpyinfo | grep 'resolution:'
and you will see something like
Code:
resolution:    75x75 dots per inch

Hopefully, the two dots-per-inch (dpi) values will match, but if they don't, use the second value. Edit /root/.XResources and /root/.XDefaults as I indicated at
http://www.murga-linux.com/puppy/viewtopic.php?t=10576#65727

For example, if you see 75x75 dots per inch, put the line

Code:
Xft.dpi:75
near the top of both /root/.XResources and /root/.XDefaults.

Note that if you use Menu --> Desktop -->Set global font size you will lose the dpi setting. Also if you change resolution on your monitor. In these cases, you must do the above two Xft.dpi edits over.

3. The /etc/fonts/local.conf which the dotpet gives you, has subpixel rendering turned on. This improves fonting on LCD and TFT monitors. But if you use a CRT monitor, you want subpixel rendering turned off. To turn it off, open /etc/fonts/local.conf as text, scroll down to the line
Code:
   <edit name="rgba" mode="assign"><const>rgb</const></edit>

and change it to read
Code:
<edit name="rgba" mode="assign"><const>none</const></edit>

Now restart X, and you should have almost the full font improvements as described in my original thread. The only thing lacking, as compared to my full instructions...is, you might not have perfect gamma balance. However, the overwhelming majority of modern monitors don't need it.

In coming days I'll be posting more fontpack dotpets.

May your eyes be pleased,
Philip
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0664s ][ Queries: 12 (0.0111s) ][ GZIP on ]