Hello community,
here is the log from the commit of package fonts-config
checked in at Mon Apr 3 18:57:23 CEST 2006.
--------
--- fonts-config/fonts-config.changes 2006-02-14 13:22:44.000000000 +0100
+++ fonts-config/fonts-config.changes 2006-04-03 18:25:10.000000000 +0200
@@ -1,0 +2,7 @@
+Mon Apr 03 18:12:24 CEST 2006 - mfabian@suse.de
+
+- Bugzilla #157441 comment #30 ff: make hintstyle=hintfull the
+ default.
+- Bugzilla #160226: call /usr/bin/fc-cache32 if it exists.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fonts-config.spec ++++++
--- /var/tmp/diff_new_pack.yLiWB7/_old 2006-04-03 18:57:11.000000000 +0200
+++ /var/tmp/diff_new_pack.yLiWB7/_new 2006-04-03 18:57:11.000000000 +0200
@@ -17,7 +17,7 @@
Autoreqprov: on
Requires: fontconfig >= 2.3.93.20060103
Version: 20060210
-Release: 1
+Release: 7
Summary: Configures Installed X Window System Fonts
Source: fonts-config
Source1: SuSEconfig.fonts
@@ -75,6 +75,10 @@
/var/adm/fillup-templates/sysconfig.fonts-config
%changelog -n fonts-config
+* Mon Apr 03 2006 - mfabian@suse.de
+- Bugzilla #157441 comment #30 ff: make hintstyle=hintfull the
+ default.
+- Bugzilla #160226: call /usr/bin/fc-cache32 if it exists.
* Fri Feb 10 2006 - mfabian@suse.de
- Bugzilla #148359: do not touch /usr/X11R6/lib/X11/fonts in
SuSEconfig.fonts to find out whether this is on a readonly
++++++ fonts-config ++++++
--- fonts-config/fonts-config 2006-02-14 13:22:43.000000000 +0100
+++ fonts-config/fonts-config 2006-04-03 18:09:42.000000000 +0200
@@ -132,10 +132,10 @@
=item B<call fc-cache>
creates cache files for fonts to use with client side font rendering
-via libXft, for details see L. B cache
-files are generated in B for all directories
-which are configured in B and all their
-subdirectories.
+via fontconfig/libXft, for details see L.
+B cache files are generated in B
+for all directories which are configured in B
+and all their subdirectories.
=back
@@ -199,8 +199,8 @@
my $script_start_time = time();
-my $cvs_id = '$Id: fonts-config,v 1.59 2006/02/10 10:45:50 mfabian Exp $';
-my $cvs_date = '$Date: 2006/02/10 10:45:50 $';
+my $cvs_id = '$Id: fonts-config,v 1.60 2006/04/03 16:07:27 mfabian Exp $';
+my $cvs_date = '$Date: 2006/04/03 16:07:27 $';
$cvs_date =~ /^\$[[:alpha:]]+: (.*) \$$/;
my $version = $1;
@@ -364,6 +364,7 @@
# external binaries:
my $fc_cache_bin = search_executable ("/usr/bin/fc-cache", "/usr/X11R6/bin/fc-cache");
+my $fc_cache32_bin = search_executable ("/usr/bin/fc-cache32");
my $fc_match_bin = search_executable ("/usr/bin/fc-match");
my $cidfont_x11_config_bin = search_executable ("/usr/sbin/cidfont-x11-config");
my $xset_bin = search_executable ("/usr/X11R6/bin/xset");
@@ -433,7 +434,7 @@
if ($fc_cache_bin) {
$command = "$fc_cache_bin";
if ($VERBOSITY == $VERBOSITY_VERBOSE) {
- print "Creating cache files for Xft ";
+ print "Creating cache files for fontconfig ";
}
if ($OPT_FORCE) {
$command .= " --force ";
@@ -460,6 +461,38 @@
print "exit status of fc-cache: $fc_cache_exit_status\n";
}
+my $fc_cache32_exit_status = 256;
+
+if ($fc_cache32_bin) {
+ $command = "$fc_cache32_bin";
+ if ($VERBOSITY == $VERBOSITY_VERBOSE) {
+ print "Creating 32bit cache files for fontconfig ";
+ }
+ if ($OPT_FORCE) {
+ $command .= " --force ";
+ }
+ if ($VERBOSITY >= $VERBOSITY_VERBOSE) {
+ $command .= " --verbose ";
+ }
+ if ($VERBOSITY == $VERBOSITY_VERBOSE) { # with "progress bar"
+ open (FC_CACHE, "$command |");
+ select (STDOUT);
+ $OUTPUT_AUTOFLUSH = 1;
+ while() {
+ print ".";
+ }
+ print "\n";
+ close (FC_CACHE);
+ }
+ else { # without "progress bar"
+ my_system($command);
+ }
+}
+$fc_cache32_exit_status = $CHILD_ERROR;
+if ($VERBOSITY == $VERBOSITY_DEBUG) {
+ print "exit status of fc-cache: $fc_cache32_exit_status\n";
+}
+
# make_gs_fontmap uses fontconfig,
# therefore it has to be called *after* fc-cache
if ($OPT_GS_FONTMAP) {
@@ -480,20 +513,6 @@
generate_java_font_setup ();
}
-
-# # fc-cache creates non-empty fonts.cache-* files for the CID-keyed fonts,
-# # but the CID-keyed fonts don't (yet?) work with Xft2.
-# # Force the fonts.cache-* in the CIDFont directories to be empty:
-# for my $fonts_cache (glob ("/usr/X11R6/lib/X11/fonts/CID/*/CIDFont/fonts.cache-*")) {
-# if ($VERBOSITY >= $VERBOSITY_DEBUG) {
-# print "forcing $fonts_cache to be empty\n";
-# }
-# if (-e $fonts_cache) {
-# unlink ($fonts_cache);
-# }
-# my_system("touch $fonts_cache");
-# }
-
if ($xset_bin) {
if ($ENV{DISPLAY} && $ENV{DISPLAY} =~ /^:[0-9].*/) {
# it's a local display
@@ -1317,8 +1336,8 @@
# names but rather some combination of family, weight, and slant from the XLFD.
# Probably because there is no way to get the PostScript name without
# direct access to the font file. When X11 core fonts are used instead of
- # libXft, the application may only see the XLFD and can only try to
- # "guess" the PostScript name from the XLFD.
+ # fontconfig/libXft, the application may only see the XLFD and can only
+ # try to "guess" the PostScript name from the XLFD.
# (For example Qt3 does something like this ...)
if ($xlfd_fmly) {
if ($xlfd_wght !~ /bold/i && $xlfd_slant ne "i" && $xlfd_slant ne "o") {
++++++ suse-hinting.conf.template ++++++
--- fonts-config/suse-hinting.conf.template 2006-02-14 13:22:45.000000000 +0100
+++ fonts-config/suse-hinting.conf.template 2006-04-03 18:10:05.000000000 +0200
@@ -35,13 +35,16 @@
-->
<!--
- Using the autohinter and anti-aliasing.
+ Using the autohinter, hintstyle=hintfull and anti-aliasing.
This is a good default for most fonts.
-->
<match target="font">
<edit name="autohint">
<bool>true</bool>
</edit>
+ <edit name="hintstyle">
+ <const>hintfull</const>
+ </edit>
<edit name="antialias">
<bool>true</bool>
</edit>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...