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 13 Dec 2019, 05:20
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
DebianDog - Wheezy
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 49 of 99 [1481 Posts]   Goto page: Previous 1, 2, 3, ..., 47, 48, 49, 50, 51, ..., 97, 98, 99 Next
Author Message
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Sun 08 Mar 2015, 05:59    Post subject: good custom setting in infinality-settings.sh  

I'm finding this to be a good custom setting at the bottom of /etc/profile.d/infinality-settings.sh (and change line 707 to
USE_STYLE = "CUSTOM"
)

################# CUSTOM STYLE #################
if [ "$USE_STYLE" = "CUSTOM" ]; then

export INFINALITY_FT_FILTER_PARAMS="7 21 40 21 7"
# export INFINALITY_FT_FILTER_PARAMS="11 22 38 22 11"
export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="25"
# export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH="100"
export INFINALITY_FT_STEM_FITTING_STRENGTH="25"
# export INFINALITY_FT_STEM_FITTING_STRENGTH="100"
export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="40"
#export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE="0"
export INFINALITY_FT_USE_KNOWN_SETTINGS_ON_SELECTED_FONTS="true"
export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH="0"
export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="60"
#export INFINALITY_FT_WINDOWS_STYLE_SHARPENING_STRENGTH="0"
export INFINALITY_FT_AUTOHINT_SNAP_STEM_HEIGHT="100"
export INFINALITY_FT_USE_VARIOUS_TWEAKS="true"
export INFINALITY_FT_GAMMA_CORRECTION="0 100"
export INFINALITY_FT_BRIGHTNESS="0"
export INFINALITY_FT_CONTRAST="0"
export INFINALITY_FT_GRAYSCALE_FILTER_STRENGTH="0"
export INFINALITY_FT_FRINGE_FILTER_STRENGTH="100"
export INFINALITY_FT_AUTOHINT_HORIZONTAL_STEM_DARKEN_STRENGTH="10"
export INFINALITY_FT_AUTOHINT_VERTICAL_STEM_DARKEN_STRENGTH="25"
export INFINALITY_FT_AUTOHINT_INCREASE_GLYPH_HEIGHTS="true"
export INFINALITY_FT_GLOBAL_EMBOLDEN_X_VALUE=0
export INFINALITY_FT_GLOBAL_EMBOLDEN_Y_VALUE=0
export INFINALITY_FT_BOLD_EMBOLDEN_X_VALUE=0 # This one seems to crash at anything other than 0
export INFINALITY_FT_BOLD_EMBOLDEN_Y_VALUE=0
fi

I will post further configuration information at http://murga-linux.com/puppy/viewtopic.php?p=832741#832741 and the two message slots immediately following it.

_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee

Last edited by Keisha on Sun 08 Mar 2015, 13:21; edited 2 times in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 08 Mar 2015, 07:54    Post subject: Re: infinality native for wheezy, first try  

Thank you, Keisha!
Keisha wrote:
I hope it works for you, and I trust that Toni and Fred can fix it so it complies fully with Debian packaging standards.

Works for me in Jwm version and looks very nice except the xterm fonts but I'm sure some tweaking will fix this.
I'm already working on the packages and archives from you. I will upload deb packages for one click install without changing /etc/fonts and existing links manually.

Toni
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 08 Mar 2015, 10:26    Post subject:  

Infinality packages posted here:
http://murga-linux.com/puppy/viewtopic.php?p=832727#832727
Testing is always welcome. Tested in both DebianDog Wheezy versions but should work the same way for standard Debian-Wheezy.
Unfortunately adding the packages in DD repository will not work because I can not change the version number for fontconfig-config and libcairo2. Other packages depend on this exact version numbers and changing them will break dpkg database.

Thanks again, Keisha!
If you like to share some settings about infinality I suggest to reserve the next post in HowTo thread:
http://murga-linux.com/puppy/viewtopic.php?p=832727#832727
and update it with new information when needed.

.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Sun 08 Mar 2015, 12:37    Post subject: where to look for further infinality configuration info  

saintless wrote:
...If you like to share some settings about infinality I suggest to reserve the next post in HowTo thread...and update it with new information when needed..

OK, I will post new configuration information at
http://murga-linux.com/puppy/viewtopic.php?p=832741#832741
and the two message slots after it. For myself I fixed the Terminal fonts by substituting urxvt (rxvt-unicode-256color) for xterm and the other invocations of the terminal emulator (in xfce-panel and ROX-Filer), the procedure is described there.

There is one other question which may arise, which I probably should clear up. Back around late 2011 to early 2012 , when these versions of libcairo2 and libfreetype were current, there was a third configuration file supplied with infinality (besides infinality-settings.sh and fc-presets), it was placed in /etc/profile.d alongside infinality-settings.sh, it was called freetype-infinality.sh. It served two functions:

1. Source-in (dot command) (from a file in /etc/defaults) the INFINALITY="true" environment variable, needed for the infinality-patched libfreetype to work correctly.
and
2. Set the LD_PRELOAD environment variable.

Configuring infinality is already tricky enough, so, to avoid confusion I eliminated freetype-infinality.sh from this, my "retro edition for Debian Wheezy" of infinality. An LD_PRELOAD for fonting is not really necessary, especially when the library is held in memory anyway. As for the
export INFINALITY="true"
setting line, I transferred that into infinality-settings.sh, near the top, line 34 or so.

_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee
Back to top
View user's profile Send private message 
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Sun 08 Mar 2015, 13:17    Post subject: next...infinality for Jessie  

Now I'll go to work on a version for Jessie.
_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 08 Mar 2015, 13:27    Post subject:  

Thanks for all this information, Keisha!
Reserve more posts in Howto thread if you like. Posting configuration examples takes much space. I will update my post with links to infinality instructions if it is needed in time.
I guess you already tested the deb packages and all works? Regarding dpkg database I'm sure there will be no problem but I can't test properly if all works as expected with infinality. I hope I did not break something by separating the files.
Thanks for Jessie in advance Smile

Toni.

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Sun 08 Mar 2015, 14:37    Post subject:  

(deleted by poster, non sequitur)
_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee

Last edited by Keisha on Sun 08 Mar 2015, 15:19; edited 2 times in total
Back to top
View user's profile Send private message 
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Sun 08 Mar 2015, 14:46    Post subject:  

(likewise)
_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee

Last edited by Keisha on Sun 08 Mar 2015, 15:19; edited 1 time in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 08 Mar 2015, 14:58    Post subject:  

Keisha wrote:
I will have to come back later to investigate this. Maybe libcairo needs placement of libfreetype and libcairo-gobject in /usr/lib not /usr/lib-i386-linux-gnu.

Just do:
Quote:
Download all 9 deb packages from here in some folder (/tmp/infinality for example):
http://smokey01.com/saintless/DebianDog/No-repo-packages/infinality/
Install them all by typing in terminal:
Code:
sudo dpkg -i /tmp/infinality/*.deb

Then prevent upgrading the infinality patched packages by copy/paste or typing:
Code:
sudo apt-mark hold libcairo2 cairo-perf-utils fontconfig-config libcairo-gobject2  libcairo-script-interpreter2 libfreetype6

You can't install packages one by one because the dependencies are missing and unpatched versions will be downloaded from debian repository.
The packages will be extracted and configured correctly one by one if you follow the procedure above.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Sun 08 Mar 2015, 15:18    Post subject:  

Yep, works (and looks) good when installed your way. Better after running /etc/fonts/conf.avail.infinality/fc-presets set and choosing 1 (combi) and then giving it my USE_STYLE="CUSTOM" modification as above.

I'm off to church now. For someone who calls himself "saintless," you have a lot of patience Smile

_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 09 Mar 2015, 03:40    Post subject:  

Keisha wrote:
Better after running /etc/fonts/conf.avail.infinality/fc-presets set and choosing 1 (combi) and then giving it my USE_STYLE="CUSTOM" modification as above.

Is there a way to make (combi) appear after installing fontconfig-config without need to choose it? We can replace your USE_STYLE="CUSTOM" in /etc/profile.d/infinality-settings.sh inside the package easy now or later with improved settings.

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Mon 09 Mar 2015, 04:19    Post subject:  

Hi Keisha, Toni,

WOW, that looks really great, I think I become a infinality addict Smile
Also the fonts I'm typing right now look so much better.
Thanks very much, Keisha for all your hard work!
And Toni for making install easier.

To make the font look right in xfce4-terminal, I chose DejaVu Sans Mono (bold) as default (Preferences> Appearance tab)
For xterm I did this:
Create file ~/.Xresources with content:
Code:
XTerm*faceName: DejaVu Sans Mono:style=Bold:antialias=false
XTerm*faceSize: 13
XTerm.*.geometry:80x20
XTerm*ScrollBar:  true


Fred
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 09 Mar 2015, 05:08    Post subject:  

Thanks, Fred, xterm looks fine with your Xresources example.
All credit goes to Keisha and infinality creators. I just try to keep dpkg working and safe which made Keisha's work much more difficult but I'm sure he likes the final result Smile

Toni
Back to top
View user's profile Send private message MSN Messenger 
fredx181


Joined: 11 Dec 2013
Posts: 4209
Location: holland

PostPosted: Mon 09 Mar 2015, 11:17    Post subject:  

Hi Toni,

Here's yad 0.19 deb package I made that works on squeeze.
Probably it solves some problems you have with 0.16 version.
I had the binary on my hd but can't remember how I got it, maybe compiled it myself some time ago.

Fred
Back to top
View user's profile Send private message 
Keisha

Joined: 18 Nov 2014
Posts: 469

PostPosted: Mon 09 Mar 2015, 11:39    Post subject: re: Can fc-presets be pre-supplied / Fred's Feb 22 DD-Jessie  

saintless wrote:
Is there a way to make (combi) appear after installing fontconfig-config without need to choose it?

The function of "fc-presets set" is, you are choosing a subdirectory of /etc/fonts/conf.avail.infinality.

fc-presets just creates symlinks inside /etc/fonts/conf.d, pointing to the files inside the subdirectory you choose. So, if you create those symlinks manually inside the fontconfig-config .deb package, the purpose of fc-presets is satisfied.

fredx181 wrote:
WOW, that looks really great, I think I become a infinality addict Smile

I've been an infinality addict for about three years now, which is about as long as I've been using Linux (almost all in Puppy Linux, plus I have occasionally installed Ubuntu and used it just long enough to find out I hate it Evil or Very Mad ).

Results with infinality vary from computer to computer. You almost always need to tinker at length with the settings in infinality-settings.sh, to achieve great fonting.

On upup-raring-3.9.9.1, infinality gives utterly perfect, unimaginably gorgeous results, whereas on all other Linuxes I have tried so far, I would say that if the stock Ubuntu fonting is 87% of perfection then infinality gives 93 to 95% of perfection. But only upup-raring-3.9.9.1 gives 100% perfection. Bohoomil has also observed this variance phenomenon, he says that the color-theming of x (whatever that means!--bohoomil, who as anikin points out is not the original author, in fact is not even a C programmer) has a big influence on the results with infinality. Apparently the color-theming of x in upup-raring-3.9.9.1 is absolutely perfect for infinality. Upup-raring-3.9.9.2 does not give as good a result!

The other area to tinker with, is the collection of active font definition and alias definition files (definition files are made active by placing them, or symlinks to them, inside /etc/fonts/conf.d).

The arrangement of files inside /etc/fonts which I provided for Wheezy is bohoomil's newest one. There is a basic collection of definitions already supplied in conf.d, and then with "fc-presets set" you choose five additional definition files, which establish the aliases for commonly-used fonts (plus, I added eight more font definition and alias definition files, to cover three of the fonts specifically supplied with DD-Wheezy).

Bohoomil has transformed infinality during the past three years, in this way: in 2012, the font and alias definition files were composed according to classes of fonts. He has moved away from this arrangement rather toward a composition according to individual fonts, in other words toward the principle of a single definition file for each font (or font family) (plus one aliases definition file if the font family needs it).

This move has enabled him to offer, to Arch Linux users, a large selection of free (as in beer) fonts for which he has specifically tailored the present-day version of infinality, which he calls the "Infinality Ultimate Bundle." It is possible to install these fonts in other distro's, but you must manually unpack each one (and either unpack its definition file(s) into /etc/fonts/conf.d, or else unpack to somewhere else with symlinks made into conf.d).

There exist at least two distinct earlier arrangements of the contents of /etc/fonts, and meanwhile there have been some changes made within the definition files (and, there formerly were also symlinks pointing to definition files kept in /usr/share/fontconfig).

On my several installs of various flavors of Puppy Linux, I find that sometimes one of the 2012 or 2013 arrangements of the contents of /etc/fonts produces better results than the present (2014-15) arrangement. I am also finding this to be true on my manual ("dpkg-destroying") builds of infinality on my local apt-get-distro-upgrade-produced installs of DD-Jessie.

I will build infinality for Jessie on Fred's February 22 2015 build of DebianDog-Jessie-openbox_xfce.iso. With its newer libcairo2 and libfreetype6 it already gives excellent fonting on my system, in fact it looks about as good as stock Ubuntu fonting!--so, it is going to be a challenge to make it look better!

Challenge accepted!

_________________
“A wise man can learn more from a foolish question than a fool can learn from a wise answer.” --Bruce Lee
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 49 of 99 [1481 Posts]   Goto page: Previous 1, 2, 3, ..., 47, 48, 49, 50, 51, ..., 97, 98, 99 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0704s ][ Queries: 12 (0.0161s) ][ GZIP on ]