Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74787 - pangox.aliases not used by Pango!
Summary: pangox.aliases not used by Pango!
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-17 15:23 UTC by Jozsef Daniel
Modified: 2005-01-17 10:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jozsef Daniel 2004-12-17 15:23:45 UTC
Dear GNOME, GTK and Pango ebuild creators, developers! I would like to draw your attention to the fact that Pango 1.6 (in fact Pango 1.4 too) simply ignores the contents of /etc/pango/pangox.aliases
The cause of this may originate in my inability to create a "good" pangox.aliases file - which in turn is due to the total lack of documentation regarding this file -, or in the hidden reaches of the Pango library, or specifically its Gentoo build.
Not even the original pangox.aliases file makes much sense, listing a bunch of fonts not present on my system, and somehow, somewhere I feel that it's also ignored by Pango. Removing this file from its location doesn't change Pango's behavior, not even the looks of the provided pango fonts sans, serif, monospace. (Having pangox.aliases googled, I did find a cryptic mail on a developers list, written by a Pango developer stating that the pangox.aliases file shipped with pango is not intended to work out of the box, and creating a viable pangox.aliases is "a packaging issue".)

The pangox.aliases file I created, and Pango gracefully ignores:
(My goal was to set the Pango fonts up to use my monotype fonts taken from a - legally licenced - Windows installation for latin, greek, cyrillic and hebrew, and to use mikachan, kochi mincho and kochi gothic respectively for Japanese. Where there are three entries, the font I wanted to use as a "best choice" provides less glyphs than the second one, like Arial Black having less glyphs than Arial. Here I would like Pango to use Arial Black whenever possible, and for glyphs not present in Arial Black, like hebrew, for example, use Arial - so I figured listing both might even work.)

And now finally for the file contents:

sans normal normal normal normal \
  "-monotype-arial-medium-r-normal--*-*-*-*-*-*-*-*,\
   -*-mikachan-medium-r-normal--*-*-*-*-*-*-iso10646-*"

sans italic normal normal normal \
  "-monotype-arial-medium-i-normal--*-*-*-*-*-*-*-*,\
   -*-mikachan-medium-r-normal--*-*-*-*-*-*-iso10646-*"

sans normal normal bold normal \
  "-monotype-arial black-medium-r-normal--*-*-*-*-*-*-*-*,\
   -monotype-arial-bold-r-normal--*-*-*-*-*-*-*-*,\
   -*-mikachan_pb-medium-r-normal--*-*-*-*-*-*-iso10646-*"

sans italic normal bold normal \
  "-monotype-arial-bold-i-normal--*-*-*-*-*-*-*-*,\
   -*-mikachan_pb-medium-r-normal--*-*-*-*-*-*-iso10646-*"

serif normal normal normal normal \
  "-monotype-garamond-medium-r-normal--*-*-*-*-*-*-*-*,\
   -monotype-times new roman-medium-r-normal--*-*-*-*-*-*-*-*,\
   -*-kochi mincho-medium-r-normal--*-*-*-*-*-*-iso10646-*"

serif italic normal normal normal \
  "-monotype-garamond-medium-i-normal--*-*-*-*-*-*-*-*,\
   -monotype-times new roman-medium-i-normal--*-*-*-*-*-*-*-*,\
   -*-kochi mincho-medium-r-normal--*-*-*-*-*-*-iso10646-*"

serif normal normal bold normal \
  "-monotype-garamond-bold-r-normal--*-*-*-*-*-*-*-*,\
   -monotype-times new roman-bold-r-normal--*-*-*-*-*-*-*-*,\
   -*-kochi mincho-medium-r-normal--*-*-*-*-*-*-iso10646-*"

serif italic normal bold normal \
  "-monotype-times new roman-bold-i-normal--*-*-*-*-*-*-*-*,\
   -*-kochi mincho-medium-r-normal--*-*-*-*-*-*-iso10646-*"

monospace normal normal normal normal \
  "-monotype-courier new-medium-r-normal--*-*-*-*-*-*-*-*,\
   -*-kochi gothic-medium-r-normal--*-*-*-*-*-*-iso10646-*"
  
monospace italic normal normal normal \
  "-monotype-courier new-medium-i-normal--*-*-*-*-*-*-*-*,\
   -*-kochi gothic-medium-r-normal--*-*-*-*-*-*-iso10646-*"
Comment 1 foser (RETIRED) gentoo-dev 2005-01-17 10:09:07 UTC
this is only used by the x backend, not by the generally used xft backend. So it is useful in _some_ situations and no it does indeed not get used in your setup.