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 Thu 02 Apr 2015, 02:43
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How I set the global font dpi
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
watchdog

Joined: 28 Sep 2012
Posts: 741

PostPosted: Sat 20 Dec 2014, 07:26    Post subject:  How I set the global font dpi
Subject description: When Puppy's font manager won't work
 

Fontmanager in my install of TahrPup 6.0.1 does not work:

Code:
# fontmanager

** (gtkdialog:8896): ERROR **: gtkdialog: Error in line 99, near token '</default>': syntax error

#


I have managed an alternative way to set the global font dpi. Open with geany /root/.Xresources. This is the content:

Code:
!*font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-*-*
!*font: -misc-fixed-medium-r-normal--13-120-75-75-c-70-*-*
*font: -misc-fixed-medium-r-normal--14-130-75-75-c-70-*-*
!*font: -misc-fixed-medium-r-normal--15-140-75-75-c-90-*-*

Xft.dpi: 96


You can change the Xft.dpi: 96 to for example Xft.dpi: 108 and restart X. It worked for me.

Last edited by watchdog on Sat 20 Dec 2014, 16:27; edited 1 time in total
Back to top
View user's profile Send private message 
666philb


Joined: 07 Feb 2010
Posts: 2349
Location: wales

PostPosted: Sat 20 Dec 2014, 15:05    Post subject:  

hi watchdog,

the fontmanager is working fine for me. ...
possibly you've installed a different gtkdialog?

_________________
Tahrpup, built with trusty tahr packages http://murga-linux.com/puppy/viewtopic.php?t=96178
Quickpet_Precise, install popular apps quickly http://www.murga-linux.com/puppy/viewtopic.php?t=83642
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 741

PostPosted: Sat 20 Dec 2014, 16:21    Post subject:  

Sorry to annoy you 666philb. I confirm that fontmanager works in a live but something (not gtkdialog) I installed have broken it. I attach my user installed packages (remove dummy .tar). I'll edit the first post.
user-installed-packages.tar
Description 
tar

 Download 
Filename  user-installed-packages.tar 
Filesize  9.01 KB 
Downloaded  69 Time(s) 
Back to top
View user's profile Send private message 
watchdog

Joined: 28 Sep 2012
Posts: 741

PostPosted: Sun 21 Dec 2014, 02:02    Post subject:  

I have renamed /root/.fonts.conf as /root/.fonts.conf.old and now fontmanager works. I have optimized fontmanager for LCD and it created a new /root/.fonts.conf. Confronting the old and the new in the old the xml header is absent. Something odd happened. Sorry again.
Back to top
View user's profile Send private message 
trlkly

Joined: 11 Oct 2010
Posts: 10

PostPosted: Fri 09 Jan 2015, 01:09    Post subject:  

It's not just XML declarations. It also fails if you've customized your .fonts.conf in a way that changes the expected type of an option.

I was using the const "hintslight" for hintstyle, copied from another config that worked better. But fontmanager only supports integers for that value.

Fontconfig really aught to be more robust. It needs to cover any option a user might want, and/or not modify options it can't understand. If for some weird reason it fails to load the .fonts.conf, it should still load, replacing the middle tab with an option to reset it.

It also should handle multiple fonts being dragged into the font installer. Delimiting with spaces is a bit complicated, but if you assume all files end with an appropriate file extension (including capitalized variants), syou should handle all reasonable cases. (A file named "foo.ttf bar.ttf" is just not reasonable.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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