Difference between pages "Fonts" and "Form:Organization"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
(infinality flag now moved to reetype)
 
 
Line 1: Line 1:
{{PageNeedsUpdates |Reason=Package media-libs/fontconfig does not have a USE flag called "infinality" (anymore?)}}
<noinclude>
__NOTOC__


== Install the packages ==
== Add a New Organization ==
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.


<console>
{{#forminput:form=Organization|query string=namespace=Organization}}
###i## echo "media-libs/freetype infinality" >> /etc/portage/package.use
</noinclude><includeonly>
###i## emerge -uN fontconfig
{{{for template|Organization}}}
</console>
{{TableStart}}
<tr><th class="active">Homepage</th><td> {{{field|Homepage|property=Homepage|input type=text|placeholder=Specify your organization's Web site URL.}}} </td></tr>
<tr><th class="active">Summary</th><td> {{{field|Summary|property=Summary|input type=textarea|placeholder=Summary of your organization.}}} </td></tr>
<tr><th class="active">Funtoo-related Services</th><td> {{{field|Funtoo services|property=Funtoo services|input type=textarea|placeholder=What Funtoo-related services do you offer?}}} </td></tr>
<tr><th class="active">Services</th><td> {{{field|Services|property=Services|input type=textarea|placeholder=What is a general summary of your full service offerings?}}} </td></tr>
{{TableEnd}}


== Advanced configuration ==
== Location ==
=== Fontconfig ===
==== Default configuration ====


<console>
{{TableStart}}
###i## eselect fontconfig enable 10-antialias.conf
<tr><th class="active">Geographic Coordinates</th><td>
###i## eselect fontconfig enable 10-autohint.conf 
This section can be used to identify your geographic location. Enter the name of the location (either as an address or in City, State format) into the ''second field'', and click '''Look up Coordinates'''. Geographic Coordinates will then be automatically be placed in the first field.
###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:
{{{field
<console>
| Geoloc
###i## eselect fontconfig enable 21-hinting-small-aquabase-slight.conf
| input type=googlemaps
###i## eselect fontconfig enable 21-hinting-small-browallia-slight.conf 
| height=300
###i## eselect fontconfig enable 22-hinting-courier-italic-slight.conf
| width=100%
</console>
| autozoom=off
=== Infinality’s configuration ===
| zoom=2
}}} </td></tr>
<tr><th class="active">Location name</th><td>{{{field|Location name|list}}}</td></tr>
{{TableEnd}}


Same as default configuration except:
{{{end template}}}
<console>
###i## eselect fontconfig enable 15-hinting-tt-instructed-full.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>
=== Windows configuration ===


Same as default except:
== Documentation ==
<console>
###i## eselect fontconfig disable 10-autohint.conf
###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>
=== OSX configuration ===


Same as default configuration except:
Enter documentation or extended information for the organization belowIf you need to add more complex wikitext, use the "Edit" button after saving this page, and enter your wiki text at the bottom. This allows you to provide rich documentation content for the repository.
<console>
###i## eselect fontconfig disable 10-autohint.conf
###i## eselect fontconfig disable 10-hinting.conf  
###i## eselect fontconfig disable 10-hinting-slight.conf 
###i## eselect fontconfig enable 10-unhinted.conf 
###i## eselect fontconfig enable 15-hinting-tt-instructed-none.conf
</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>
{{{standard input|free text|rows=30}}}


<console>
{{{for template|OrganizationFooter}}}
Possible styles: 
{{{end template}}}
  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: 
{{{standard input|summary}}}
  classic      - Infinality rendering circa 2010. No snapping 
  nudge        - CLASSIC with lightly stem snapping and tweaks 
  push        - CLASSIC with medium stem snapping and tweaks 
  shove        - Full stem snapping and tweaks without sharpening 
  sharpened    - Full stem snapping, tweaks, and Windows-style sharpening 
  infinality  - Settings used by Infinality
</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=
{{{standard input|minor edit}}} {{{standard input|watch}}}
Xft.antialias:  1
Xft.autohint:  0 
Xft.dpi:        96 
Xft.hinting:    1 
Xft.hintstyle:  hintfull 
Xft.lcdfilter:  lcddefault 
Xft.rgba:      rgb
}}


[[Category:HOWTO]]
{{{standard input|save}}} {{{standard input|preview}}} {{{standard input|changes}}} {{{standard input|cancel}}}

Revision as of 21:57, January 7, 2015


Add a New Organization