Post #99,400
4/30/03 2:18:58 AM
|
Peter, I bow before your greatness....
So tell us: how the fsck did you get [link|http://z.iwethey.org/forums/render/content/show?contentid=99215|those fonts] so clean? \r\n\r\n I realize you're running experimental and are probably a few revs ahead of me with abiword (I'm 1.0.2, 1.0.2+cvs.2002 in Debian), and I suspect Xft may have been added since. \r\n\r\n I've added xft to my system, re-run defoma-reconfigure, and scanned through my config files, and fired up a few spare X sessions. I don't know what I'm missing. But I want it. Badly. Me (or my fonts) are missing the hint.
--\r\n Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n [link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n What part of "gestalt" don't you understand?\r\n [link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n \r\n Keep software free. Oppose the CBDTPA. Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
|
Post #99,401
4/30/03 2:49:42 AM
|
Have you installed fontconfig?
Peter [link|http://www.debian.org|Shill For Hire] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Blog]
|
Post #99,454
4/30/03 10:34:24 AM
|
Yes, prior to posting above.
--\r\n Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n [link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n What part of "gestalt" don't you understand?\r\n [link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n \r\n Keep software free. Oppose the CBDTPA. Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
|
Post #99,457
4/30/03 10:46:15 AM
|
The Skinny
There are three places to configure fonts:
1. /etc/X11/XF86Config-4. This is the traditional method, and where non-Xft-aware applications (which basically means anything that isn't GTK2 or QT3) get their fonts from. You probably know all about this.
2. /etc/X11/XftConfig. This looks promising, but it's actually for things that use hacks like gdkxft. Increasingly irrelevant.
3. /etc/fonts/fonts.conf and /etc/fonts/local.conf. This is where the fontconfig stuff works its magic. If these two XML files are configured correctly, you'll get the lovely fonts that I demonstrated.
Often the lack of loveliness is due to missing "dir" elements in one or both of fonts.conf and local.conf. I recommend that if you're going to modify either of these files, make it local.conf. As it says at the top of fonts.conf (paraphrasing here for brevity) "BUGGER OFF".
Peter [link|http://www.debian.org|Shill For Hire] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Blog]
|
Post #99,473
4/30/03 12:34:10 PM
|
What should local.conf look like, and...
...what needs to be done for the settings to take hold? \r\n\r\n Posting the advice and config files to [link|http://twiki.iwethey.org/|TwikIWeThey] might be useful.</hint>
--\r\n Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n [link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n What part of "gestalt" don't you understand?\r\n [link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n \r\n Keep software free. Oppose the CBDTPA. Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
|
Post #99,510
4/30/03 4:40:02 PM
|
In progress...
...at [link|http://twiki.iwethey.org/twiki/bin/view/Main/LinuxFonts|http://twiki.iwethey...w/Main/LinuxFonts]
Peter [link|http://www.debian.org|Shill For Hire] [link|http://www.kuro5hin.org|There is no K5 Cabal] [link|http://guildenstern.dyndns.org|Blog]
|
Post #99,673
5/1/03 12:51:10 PM
|
See mods
There's a large part of the pitcher I'm missing. Probably the handle, 'coz I ain't got a grasp on it.
--\r\n Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n [link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n What part of "gestalt" don't you understand?\r\n [link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n \r\n Keep software free. Oppose the CBDTPA. Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
|
Post #99,674
5/1/03 1:06:51 PM
|
Key things
Since I went through all this long ago...
1) X >= 4.2
2) FreeType >= 2.0.6 - that was the version when the renderer "came of age". Looks like it's up to 2.1.4:
[link|http://freetype.sourceforge.net/index2.html|http://freetype.sour...e.net/index2.html]
3) Learn syntax of XftConfig file, here:
[link|http://fontconfig.org/|http://fontconfig.org/]
In general, look for info by Keith Packard, who worked on X RENDER and knows a lot about fonts.
Key line for SPAA in XftConfig is
match edit rgb=rgba
The data is the color order of pixels - rgb for almost all modern laptops/DFPs. You can experiment with this. Also, you can tell the renderer to turn off SPAA or GSAA for specific fonts and font sizes.
-drl
|
Post #102,414
5/17/03 10:52:05 PM
|
OK, progress
I've updated my repositories such that I'm pulling from stable, unstable, and testing for my packages, but default to testing. Updated from unstable freetype2 and abiword. I've got goodness there. Looks like it's a matter of time as new packages pick up the Xft libraries. \r\n\r\n Being that I wanted to see what Galeon had to offer, I considered updating it against unstable... \r\n\r\n \r\n\r\n[root@superego:root]# apt-get install -t unstable galeon\r\nReading Package Lists... Done\r\nBuilding Dependency Tree... Done\r\nThe following extra packages will be installed:\r\n acme apt apt-utils cupsys-driver-gimpprint docbook-xsl eog file-roller gedit\r\n gnome-applets gnome-control-center gnome-core gnome-desktop-data gnome-media\r\n gnome-panel gnome-panel-data gnome-session gnome-system-monitor\r\n gnome-terminal gnome-utils gnome2-user-guide gs-esp gstreamer-audiofile\r\n gstreamer-core gstreamer-core-libs gstreamer-gconf gstreamer-misc\r\n gstreamer-plugin-apps gstreamer-plugin-libs gstreamer-runtime\r\n gstreamer-tools gstreamer-vorbis libapt-pkg-perl libbonoboui2-0\r\n libbonoboui2-common libcompress-zlib-perl libcupsimage2 libcupsys2 libeel2-2\r\n libeel2-data libfam0c102 libgail-common libgail17 libgimpprint1\r\n libgnome-desktop-2 libgnome2-0 libgnomeprint2.2-0 libgnomeprint2.2-data\r\n libgnomeprintui2.2-0 libgnomeui-0 libgnomevfs2-0 libgnomevfs2-common\r\n libgstreamer0.6-0 libgtkhtml2-0 libgtop2 libhtml-parser-perl libmetacity0\r\n libmime-base64-perl libnautilus2-2 libnspr4 libnss3 libpanel-applet2-0\r\n libstartup-notification0 libterm-readline-gnu-perl libtext-iconv-perl\r\n libvte-common libvte4 libweakref-perl libwnck-common libwnck4\r\n libxml-parser-perl libzvt2.0-0 mozilla-browser mozilla-psm nautilus\r\n nautilus-data nautilus-media perl perl-base perl-doc perl-modules perl-tk\r\n pkg-config synaptic yelp\r\nThe following packages will be REMOVED:\r\n aptitude galeon-common gnome-apt gnome-help libdigest-md5-perl libfam0\r\n libstorable-perl pilot-link-perl pilot-manager\r\nThe following NEW packages will be installed:\r\n acme docbook-xsl eog file-roller gnome-desktop-data gnome-media\r\n gnome-system-monitor gnome-terminal gnome-utils gnome2-user-guide\r\n gstreamer-audiofile gstreamer-core gstreamer-core-libs gstreamer-gconf\r\n gstreamer-misc gstreamer-plugin-apps gstreamer-plugin-libs gstreamer-runtime\r\n gstreamer-tools gstreamer-vorbis libbonoboui2-0 libbonoboui2-common\r\n libcompress-zlib-perl libcupsimage2 libeel2-2 libeel2-data libfam0c102\r\n libgail-common libgail17 libgnome-desktop-2 libgnome2-0 libgnomeprint2.2-0\r\n libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeui-0 libgnomevfs2-0\r\n libgnomevfs2-common libgstreamer0.6-0 libgtkhtml2-0 libgtop2 libmetacity0\r\n libnautilus2-2 libpanel-applet2-0 libstartup-notification0 libvte-common\r\n libvte4 libwnck-common libwnck4 libzvt2.0-0 nautilus nautilus-data\r\n nautilus-media pkg-config yelp\r\n31 packages upgraded, 54 newly installed, 9 to remove and 310 not upgraded.\r\nNeed to get 65.4MB of archives. After unpacking 78.1MB will be used.\r\nDo you want to continue? [Y/n] n\r\nAbort.\r\n[root@superego:root]#\r\n \r\n \r\n\r\n Hmm... We'll hold off, at least until I'm no longer on 56k.
--\r\n Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]\r\n [link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]\r\n What part of "gestalt" don't you understand?\r\n [link|http://twiki.iwethey.org/twiki/bin/view/Main/|TWikIWETHEY] -- an experiment in collective intelligence. Stupidity. Whatever.\r\n \r\n Keep software free. Oppose the CBDTPA. Kill S.2048 dead.\r\n[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html]\r\n
|