Difference between pages "Fonts" and "Experimental branch"

(Difference between pages)
(LibXft)
 
 
Line 1: Line 1:
== Install the packages ==
+
{{Fancynote| Funtoo Experimental is where we test bleeding-edge stuff. Don't use experimental unless you are helping us test new features.}}
Linux font quality is a chronic issue, by default fonts configuration far from ideal look. This can solved by rebuilding <tt>media-libs/fontconfig</tt> with the infinality USE flag, which applies the infinality patch set. Infinality patches were previously available only in the lcd-filtering overlay and have now been merged into the main Funtoo portage tree.
+
{{Fancywarning| experimental tree perodically stopped and not getting updates. Current status is stopped}}
 +
{{PageNeedsUpdates}}
 +
== Status ==
 +
Future plans:
 +
* funtoo profile integration
 +
* udev and friends bump
  
<console>
+
== Introduction ==
###i## echo "media-libs/fontconfig infinality" >> /etc/portage/package.use
+
###i## emerge -uN fontconfig
+
</console>
+
== Advanced configuration ==
+
=== Fontconfig ===
+
==== Default configuration ====
+
  
<console>
+
The Funtoo experimental branch is used by Funtoo Core Developers to try and test new features to be included in Funtoo stable and current branches when ready. Users that want to help the developers test those new features are welcome to switch to the experimental branch and report problems on IRC or the forum. However, problems may arise from using it and there is no guarantee that your system will stay usable.
###i## eselect fontconfig enable 10-antialias.conf
+
###i## eselect fontconfig enable 10-autohint.conf 
+
###i## eselect fontconfig enable 10-hinting.conf 
+
###i## eselect fontconfig enable 10-hinting-slight.conf 
+
###i## eselect fontconfig enable 10-sub-pixel-rgb.conf 
+
###i## eselect fontconfig enable 11-lcdfilter-default.conf 
+
###i## eselect fontconfig enable 70-no-bitmaps.conf 
+
###i## eselect fontconfig disable 10-hinting-full.conf 
+
###i## eselect fontconfig disable 10-hinting-medium.conf 
+
###i## eselect fontconfig disable 10-no-sub-pixel.conf 
+
###i## eselect fontconfig disable 10-sub-pixel-bgr.conf 
+
###i## eselect fontconfig disable 10-sub-pixel-vbgr.conf 
+
###i## eselect fontconfig disable 10-sub-pixel-vrgb.conf 
+
###i## eselect fontconfig disable 10-unhinted.conf</console>
+
===Linux configuration ===
+
  
Same as default configuration except:
+
== Upgrading an existing Funtoo installation to experimental ==
 
<console>
 
<console>
###i## eselect fontconfig enable 21-hinting-small-aquabase-slight.conf
+
###i## rm -rf /usr/portage
###i## eselect fontconfig enable 21-hinting-small-browallia-slight.conf 
+
###i## eselect fontconfig enable 22-hinting-courier-italic-slight.conf
+
 
</console>
 
</console>
=== Infinality’s configuration ===
+
Add the following line (or modify it if it's already there):
 
+
Same as default configuration except:
+
 
<console>
 
<console>
###i## eselect fontconfig enable 15-hinting-tt-instructed-full.conf
+
###i## nano -w /etc/make.conf
###i## eselect fontconfig enable 20-hinting-small-fonts-slight.conf 
+
SYNC="git://github.com/funtoo/experimental-mini-2011.git"
###i## eselect fontconfig enable 21-hinting-small-aquabase-slight.conf 
+
###i## eselect fontconfig enable 21-hinting-small-browallia-slight.conf 
+
###i## eselect fontconfig enable 22-hinting-courier-italic-slight.conf 
+
###i## eselect fontconfig enable 25-hinting-small-arial-black-slight.conf
+
 
</console>
 
</console>
=== Windows configuration ===
 
  
Same as default except:
+
=== First method ===
 
<console>
 
<console>
###i## eselect fontconfig disable 10-autohint.conf
+
###i## emerge --sync     
###i## eselect fontconfig disable 10-hinting-slight.conf 
+
###i## eselect fontconfig enable 10-hinting-full.conf 
+
###i## eselect fontconfig enable 15-hinting-non-tt-instructed-slight.conf 
+
###i## eselect fontconfig enable 20-hinting-small-fonts-slight.conf 
+
###i## eselect fontconfig enable 21-hinting-small-aquabase-slight.conf 
+
###i## eselect fontconfig enable 21-hinting-small-browallia-slight.conf 
+
###i## eselect fontconfig enable 22-hinting-courier-italic-slight.conf 
+
###i## eselect fontconfig enable 25-hinting-small-arial-black-slight.conf
+
 
</console>
 
</console>
=== OSX configuration ===
 
  
Same as default configuration except:
+
Verify that the experimental tree has been properly installed:
 
<console>
 
<console>
###i## eselect fontconfig disable 10-autohint.conf
+
###i## cat /usr/portage/.git/config
###i## eselect fontconfig disable 10-hinting.conf 
+
...
###i## eselect fontconfig disable 10-hinting-slight.conf 
+
[remote "origin"]
###i## eselect fontconfig enable 10-unhinted.conf 
+
fetch = +refs/heads/*:refs/remotes/origin/*
###i## eselect fontconfig enable 15-hinting-tt-instructed-none.conf
+
url = git://github.com/funtoo/experimental-mini-2011.git
 +
...
 
</console>
 
</console>
== Freetype ==
 
Freetype can be configured through environment variables (see <tt>/etc/env.d/99lcdfilter</tt> for a list of the variables and their description). Those variables can be overridden on a per-user basis by either redefining them in a startup file (such as <tt>~/.bash_profile</tt>) or by sourcing the <tt>/usr/lib/ft-settings.sh</tt> script with the desired style in parameter (you can, of course, source the script from a startup file).
 
  
usage: source ft-settings.sh <style>
+
You should see that the git repository is pointing to experimental-mini-2011.git.
  
<console>
+
If for any reason this method did not work, use the second method to manually clone the experimental branch.
Possible styles: 
+
  default      - Use default settings. A compromise that should please most people 
+
  osx          - Simulate OSX rendering 
+
  ubuntu      - Simulate UBUNTU rendering 
+
  linux        - Generic Linux style - no snapping or certain other tweaks 
+
  windows      - Simulate Windows rendering 
+
  vanilla      - Just subpixel hinting
+
  
Infinality styles: 
+
=== Second method ===
  classic      - Infinality rendering circa 2010. No snapping 
+
<console>
  nudge        - CLASSIC with lightly stem snapping and tweaks 
+
###i## rm -rf /usr/portage
  push        - CLASSIC with medium stem snapping and tweaks 
+
###i## cd /usr
  shove        - Full stem snapping and tweaks without sharpening 
+
###i## git clone git://github.com/funtoo/experimental-mini-2011.git portage
  sharpened    - Full stem snapping, tweaks, and Windows-style sharpening 
+
###i## emerge --sync
  infinality  - Settings used by Infinality
+
 
</console>
 
</console>
== LibXft ==
 
Only legacy programs still use libXft. The default configuration is defined in <tt>/usr/share/X11/app-defaults/Xft</tt>. It can be overriden on a per-user basis in the <tt>~/.Xresources</tt> or <tt>~/.Xdefaults</tt> files:
 
  
{{file|name=~/.Xdefaults|desc= |body=
+
== Installation from an experimental branch stage3 ==
Xft.antialias: 1
+
You can find some stage3s on the Funtoo mirror: [http://ftp.osuosl.org/pub/funtoo/funtoo-experimental/]. These stages are updated weekly, possibly more often during active experimental development.
Xft.autohint:   0 
+
 
Xft.dpi:        96 
+
== Building stage3s using Metro ==
Xft.hinting:    1 
+
You may build your own stages of the experimental branch using [[Metro]]. The stages from the Funtoo mirror ([http://ftp.osuosl.org/pub/funtoo/funtoo-experimental/]) can be used as a seed. A funtoo-experimental target is available.
Xft.hintstyle:  hintfull 
+
 
Xft.lcdfilter:  lcddefault 
+
== History ==
Xft.rgba:       rgb
+
{{SectionNeedsUpdates}}
}}
+
=== Iteration 1 (Completed Dec 16, 2011) ===
 +
 
 +
Implementation and stabilization of a new set of toolchain packages:
 +
 
 +
* gcc-4.6.2
 +
* binutils-2.21-r1
 +
* linux-headers-2.6.39
 +
* glibc-2.13-r4
 +
* udev-171-r1
 +
* patched lvm2-2.02.85
 +
* Several patches to solve problems building with this toolchain
 +
 
 +
And some other features:
 +
* [[Portage Dynamic Slot]]
 +
* Modifications of Mesa, libdrm and radeon drivers to support each type of Radeon video card individually, as well as masked -9999 versions of those packages.
  
 +
[[Category:Portage]]
 
[[Category:HOWTO]]
 
[[Category:HOWTO]]
 +
[[Category:Featured]]

Revision as of 19:21, June 27, 2014

Note

Funtoo Experimental is where we test bleeding-edge stuff. Don't use experimental unless you are helping us test new features.

Warning

experimental tree perodically stopped and not getting updates. Current status is stopped

Status

Future plans:

  • funtoo profile integration
  • udev and friends bump

Introduction

The Funtoo experimental branch is used by Funtoo Core Developers to try and test new features to be included in Funtoo stable and current branches when ready. Users that want to help the developers test those new features are welcome to switch to the experimental branch and report problems on IRC or the forum. However, problems may arise from using it and there is no guarantee that your system will stay usable.

Upgrading an existing Funtoo installation to experimental

# rm -rf /usr/portage

Add the following line (or modify it if it's already there):

# nano -w /etc/make.conf
SYNC="git://github.com/funtoo/experimental-mini-2011.git"

First method

# emerge --sync      

Verify that the experimental tree has been properly installed:

# cat /usr/portage/.git/config
...
[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git://github.com/funtoo/experimental-mini-2011.git
...

You should see that the git repository is pointing to experimental-mini-2011.git.

If for any reason this method did not work, use the second method to manually clone the experimental branch.

Second method

# rm -rf /usr/portage
# cd /usr
# git clone git://github.com/funtoo/experimental-mini-2011.git portage
# emerge --sync

Installation from an experimental branch stage3

You can find some stage3s on the Funtoo mirror: [1]. These stages are updated weekly, possibly more often during active experimental development.

Building stage3s using Metro

You may build your own stages of the experimental branch using Metro. The stages from the Funtoo mirror ([2]) can be used as a seed. A funtoo-experimental target is available.

History

Important

This section is in need of updates.

Iteration 1 (Completed Dec 16, 2011)

Implementation and stabilization of a new set of toolchain packages:

  • gcc-4.6.2
  • binutils-2.21-r1
  • linux-headers-2.6.39
  • glibc-2.13-r4
  • udev-171-r1
  • patched lvm2-2.02.85
  • Several patches to solve problems building with this toolchain

And some other features:

  • Portage Dynamic Slot
  • Modifications of Mesa, libdrm and radeon drivers to support each type of Radeon video card individually, as well as masked -9999 versions of those packages.