This commit is contained in:
parent
eea6c68260
commit
7cac054bab
12
fonts-config
12
fonts-config
@ -205,8 +205,8 @@ use strict;
|
||||
|
||||
my $script_start_time = time();
|
||||
|
||||
my $cvs_id = '$Id: fonts-config,v 1.70 2007/09/25 15:48:02 mfabian Exp $';
|
||||
my $cvs_date = '$Date: 2007/09/25 15:48:02 $';
|
||||
my $cvs_id = '$Id: fonts-config,v 1.71 2008/01/21 17:54:32 mfabian Exp $';
|
||||
my $cvs_date = '$Date: 2008/01/21 17:54:32 $';
|
||||
$cvs_date =~ /^\$[[:alpha:]]+: (.*) \$$/;
|
||||
my $version = $1;
|
||||
|
||||
@ -2103,15 +2103,17 @@ sub font_dirs_setup_add_font_dir {
|
||||
return;
|
||||
}
|
||||
push (@font_dirs, ("$dir"));
|
||||
if (opendir (DIR, $dir)) {
|
||||
my @entries = readdir (DIR);
|
||||
|
||||
my $dir_handle;
|
||||
if (opendir ($dir_handle, $dir)) {
|
||||
my @entries = readdir ($dir_handle);
|
||||
for my $entry (@entries) {
|
||||
if ("$entry" =~ /\./ || "$entry" =~ /\.\./ || ! -d "$dir/$entry") {
|
||||
next;
|
||||
}
|
||||
font_dirs_setup_add_font_dir("$dir/$entry");
|
||||
}
|
||||
closedir DIR;
|
||||
closedir $dir_handle;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 21 18:55:57 CET 2008 - mfabian@suse.de
|
||||
|
||||
- fix recursive call of opendir() and closedir() to work with
|
||||
Perl 5.10.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 18 16:11:25 CET 2007 - mfabian@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fonts-config (Version 20061025)
|
||||
# spec file for package fonts-config (Version 20080121)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -20,8 +20,8 @@ Requires: fontconfig >= 2.3.93.20060103
|
||||
Recommends: ft2demos
|
||||
%endif
|
||||
PreReq: %fillup_prereq
|
||||
Version: 20061025
|
||||
Release: 71
|
||||
Version: 20080121
|
||||
Release: 1
|
||||
Summary: Configures Fonts for X Windows and other applications
|
||||
Source: fonts-config
|
||||
Source1: SuSEconfig.fonts
|
||||
@ -81,19 +81,22 @@ exit 0
|
||||
/var/adm/fillup-templates/sysconfig.fonts-config
|
||||
|
||||
%changelog
|
||||
* Tue Dec 18 2007 - mfabian@suse.de
|
||||
* Mon Jan 21 2008 mfabian@suse.de
|
||||
- fix recursive call of opendir() and closedir() to work with
|
||||
Perl 5.10.
|
||||
* Tue Dec 18 2007 mfabian@suse.de
|
||||
- add "Lucida Sans Typewriter", "Lucida Sans", and "Lucida Bright"
|
||||
to the list of fonts which should always use the byte code
|
||||
interpreter if anti-aliasing is off. Suggested by
|
||||
Bernhard Walle <bwalle@suse.de>.
|
||||
* Wed Oct 10 2007 - mfabian@suse.de
|
||||
* Wed Oct 10 2007 mfabian@suse.de
|
||||
- acroread directory moved again because of the update to 8.1.1.
|
||||
* Tue Sep 25 2007 - mfabian@suse.de
|
||||
* Tue Sep 25 2007 mfabian@suse.de
|
||||
- Bugzilla #327035: Skip symlinks when searching for font file
|
||||
names when generating the Java font setup.
|
||||
* Thu Sep 06 2007 - mfabian@suse.de
|
||||
* Thu Sep 06 2007 mfabian@suse.de
|
||||
- Bugzilla #299432: add ‘Prereq: %%fillup_prereq’.
|
||||
* Fri Mar 23 2007 - mfabian@suse.de
|
||||
* Fri Mar 23 2007 mfabian@suse.de
|
||||
- Bugzilla #118131 comment #93: set the autohinter default
|
||||
matching on "font" instead of on "pattern".
|
||||
If an autohint value is set in pattern, OpenOffice 2.1 will use
|
||||
@ -101,34 +104,34 @@ exit 0
|
||||
should override it again). This doesn't cause any problems for
|
||||
Cairo/Gnome (see bug #104365) because Cairo/Gnome don't try to
|
||||
change the autohint value anyway.
|
||||
* Tue Jan 30 2007 - mfabian@suse.de
|
||||
* Tue Jan 30 2007 mfabian@suse.de
|
||||
- Bugzilla #239692: acroread moved to /usr/lib, add a new
|
||||
glob pattern to the font directory list.
|
||||
* Wed Nov 22 2006 - mfabian@suse.de
|
||||
* Wed Nov 22 2006 mfabian@suse.de
|
||||
- Bugzilla #222675: disable autohinter for PostScript fonts.
|
||||
* Wed Nov 15 2006 - mfabian@suse.de
|
||||
* Wed Nov 15 2006 mfabian@suse.de
|
||||
- Bugzilla #215602: don't use the embedded bitmaps in the IPA
|
||||
fonts because they are only available in 12, 14, and 16 pixels.
|
||||
- Bugzilla #215602: Don't use the autohinter for fonts where it
|
||||
it distorts the metrics so badly that even the digits which
|
||||
should be monospaced are not monospaced at all anymore.
|
||||
- Don't use the autohinter for good quality TrueType fonts.
|
||||
* Wed Oct 25 2006 - mfabian@suse.de
|
||||
* Wed Oct 25 2006 mfabian@suse.de
|
||||
- Fate #300950: after the regular setup is done, source all scripts
|
||||
in /usr/lib/fonts-config/conf.d which might do additional setup.
|
||||
* Thu Sep 28 2006 - mfabian@suse.de
|
||||
* Thu Sep 28 2006 mfabian@suse.de
|
||||
- the OpenOffice font directory on x86_64 is
|
||||
/usr/lib64/ooo-2.0/share/fonts/truetype/.
|
||||
* Wed Sep 13 2006 - mfabian@suse.de
|
||||
* Wed Sep 13 2006 mfabian@suse.de
|
||||
- some fonts have more than one space in the family name, replace
|
||||
them all with '_' where necessary in the Java setup.
|
||||
* Tue Sep 12 2006 - mfabian@suse.de
|
||||
* Tue Sep 12 2006 mfabian@suse.de
|
||||
- improve Java 1.5 font setup for Chinese and Korean.
|
||||
* Thu Aug 17 2006 - mfabian@suse.de
|
||||
* Thu Aug 17 2006 mfabian@suse.de
|
||||
- fix font paths in Java font setup for X11R7.
|
||||
* Wed Aug 16 2006 - mfabian@suse.de
|
||||
* Wed Aug 16 2006 mfabian@suse.de
|
||||
- use "Recommends: ft2demos" only for SuSE Linux >= 10.1.
|
||||
* Thu Aug 10 2006 - mfabian@suse.de
|
||||
* Thu Aug 10 2006 mfabian@suse.de
|
||||
- Bugzilla #195835: print a warning to stdout when the creation
|
||||
of a Fontmap for Ghostscript has been requested but the 'ftdump'
|
||||
binary is not available. Add "Recommends: ft2demos" to the .spec
|
||||
@ -136,26 +139,26 @@ exit 0
|
||||
'ftdump' in the comment above GENERATE_GHOSTSCRIPT_FONTMAPS
|
||||
in /etc/sysconfig/fonts-config. Mention ftdump in the manual page
|
||||
as well.
|
||||
* Mon Jul 03 2006 - mfabian@suse.de
|
||||
* Mon Jul 03 2006 mfabian@suse.de
|
||||
- Add path names for X11R7
|
||||
(patch by Stefan Dirsch <sndirsch@suse.de>).
|
||||
* Fri Apr 28 2006 - mfabian@suse.de
|
||||
* Fri Apr 28 2006 mfabian@suse.de
|
||||
- Bugzilla #104365: match on "pattern" instead on "font" to edit
|
||||
the default hinting settings to make it easier to override
|
||||
the defaults with applications using FcPatternDel() and
|
||||
FcPatternAdd...().
|
||||
* Wed Apr 19 2006 - schwab@suse.de
|
||||
* Wed Apr 19 2006 schwab@suse.de
|
||||
- Use /usr/bin/fc-cache-x86 when it exists.
|
||||
* Tue Apr 11 2006 - mfabian@suse.de
|
||||
* Tue Apr 11 2006 mfabian@suse.de
|
||||
- Bugzilla #162978: also call /usr/bin/fc-cache64 if it exists
|
||||
(for ppc64).
|
||||
- never use '--force' when calling /usr/bin/fc-cache32 and
|
||||
/usr/bin/fc-cache64.
|
||||
* Mon Apr 03 2006 - mfabian@suse.de
|
||||
* 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
|
||||
* 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
|
||||
file system. Even if it is on a readonly file system, caches
|
||||
@ -163,19 +166,19 @@ exit 0
|
||||
And it might still be possible to generate fonts.dir/fonts.scale
|
||||
files in other directories, i.e. /usr/sbin/fonts-config should
|
||||
be started always.
|
||||
* Tue Feb 07 2006 - mfabian@suse.de
|
||||
* Tue Feb 07 2006 mfabian@suse.de
|
||||
- Bugzilla #148361: generate /etc/fonts/suse-font-dirs.conf from
|
||||
a template containing glob patterns to a full list of all
|
||||
font directories to avoid that fontconfig calls stat () on all
|
||||
files in all sub-directories.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Mon Jan 09 2006 - mfabian@suse.de
|
||||
* Mon Jan 09 2006 mfabian@suse.de
|
||||
- Bugzilla #105626: Takashi IWAI <tiwai@suse.de> made patches for
|
||||
freetype2 to improve the autohinting (mainly for CJK fonts).
|
||||
Now we don't need to switch off the autohinter for CJK fonts
|
||||
any more.
|
||||
* Wed Jan 04 2006 - mfabian@suse.de
|
||||
* Wed Jan 04 2006 mfabian@suse.de
|
||||
- update to 20060104:
|
||||
- make it work better together with fontconfig 2.3.93.20060103
|
||||
and require fontconfig >= 2.3.93.20060103
|
||||
@ -185,33 +188,33 @@ exit 0
|
||||
have changed, touching these files causes fontconfig to believe
|
||||
that the caches are out of date.
|
||||
- fix glob pattern for font.properties.ja (for java 1.4.2).
|
||||
* Wed Jan 04 2006 - mfabian@suse.de
|
||||
* Wed Jan 04 2006 mfabian@suse.de
|
||||
- Bugzilla #131714: always use byte code interpreter for some
|
||||
composite CJK fonts which cannot be rendered correctly with the
|
||||
autohinter. Currently the only fonts I know which need this
|
||||
are the traditional Chinese fonts MingLiU and PMingLiU.
|
||||
* Thu Oct 27 2005 - mfabian@suse.de
|
||||
* Thu Oct 27 2005 mfabian@suse.de
|
||||
- Bugzilla #130350: add "Andale Sans", "Andy MT", "Bell MT", and
|
||||
"Monotype Sorts" to the list of fonts which are rendered with
|
||||
the byte code interpreter and without anti-aliasing up to the
|
||||
pixellimit specified in /etc/sysconfig/fonts-config.
|
||||
These fonts appear to have good byte code as well, the results
|
||||
when rendered this way look OK.
|
||||
* Thu Oct 27 2005 - mfabian@suse.de
|
||||
* Thu Oct 27 2005 mfabian@suse.de
|
||||
- revert last change because I downgraded to fontconfig
|
||||
2.3.2.20050721 (the version from SUSE 10.0) in STABLE.
|
||||
This fontconfig version is solid and works reliable. The
|
||||
fontconfig 2.4 branch will be checked into BETA and come
|
||||
back to STABLE as soon as the crash problems are solved.
|
||||
* Wed Oct 26 2005 - mfabian@suse.de
|
||||
* Wed Oct 26 2005 mfabian@suse.de
|
||||
- Bugzilla #128080: add option "--force" to the call of
|
||||
fonts-config in SuSEconfig.fonts.
|
||||
This is only a temporary workaround until the real problem
|
||||
in fontconfig is fixed. With this workaround, SuSEconfig.fonts
|
||||
needs a lot more time but at least it appears to work reliably.
|
||||
* Thu Sep 29 2005 - dmueller@suse.de
|
||||
* Thu Sep 29 2005 dmueller@suse.de
|
||||
- add norootforbuild
|
||||
* Thu Sep 08 2005 - mfabian@suse.de
|
||||
* Thu Sep 08 2005 mfabian@suse.de
|
||||
- Bugzilla #114949:
|
||||
+ really add variable to enable the byte code
|
||||
interpreter to /etc/sysconfig/fonts-config. The last change
|
||||
@ -220,11 +223,11 @@ exit 0
|
||||
+ add variables in /etc/sysconfig/fonts-config
|
||||
to choose whether embedded bitmaps should be used and for
|
||||
which languages.
|
||||
* Tue Sep 06 2005 - mfabian@suse.de
|
||||
* Tue Sep 06 2005 mfabian@suse.de
|
||||
- Bugzilla #114949: add a variable in /etc/sysconfig/fonts-config
|
||||
to choose whether black and white rendering using the byte code
|
||||
interpreter should be used and up to which pixel size.
|
||||
* Tue Sep 06 2005 - mfabian@suse.de
|
||||
* Tue Sep 06 2005 mfabian@suse.de
|
||||
- Bugzilla #79259 again: I found a bug in the autogeneration of
|
||||
the Java font setup: sometimes "fc-list font file" may return
|
||||
several results, for example if there are symlinks which point
|
||||
@ -232,21 +235,21 @@ exit 0
|
||||
created by the script /usr/sbin/acroread-cidfont-config happens
|
||||
to have the same family name. These CID-keyed fonts and the
|
||||
must be ignored, neither of them will work with Java.
|
||||
* Mon Sep 05 2005 - mfabian@suse.de
|
||||
* Mon Sep 05 2005 mfabian@suse.de
|
||||
- Bugzilla #79259: add autogeneration of Java font configuration
|
||||
files.
|
||||
* Fri Mar 04 2005 - mfabian@suse.de
|
||||
* Fri Mar 04 2005 mfabian@suse.de
|
||||
- add missing %%prep section to .spec file.
|
||||
* Mon Dec 06 2004 - mfabian@suse.de
|
||||
* Mon Dec 06 2004 mfabian@suse.de
|
||||
- Bugzilla #48603: don't try to write OpenOffice font-setup if
|
||||
OpenOffice is not installed.
|
||||
* Fri Oct 01 2004 - mfabian@suse.de
|
||||
* Fri Oct 01 2004 mfabian@suse.de
|
||||
- Bugzilla #46299: improve OpenOffice font setup for Japanese
|
||||
for better on screen display and printing.
|
||||
* Tue Jul 06 2004 - mfabian@suse.de
|
||||
* Tue Jul 06 2004 mfabian@suse.de
|
||||
- make package "noarch".
|
||||
- make fonts which have spaces in the filename usable with
|
||||
the X11 core font system by generating symbolic links.
|
||||
- checkproc was still used without absolute path in one place.
|
||||
* Thu May 06 2004 - sndirsch@suse.de
|
||||
* Thu May 06 2004 sndirsch@suse.de
|
||||
- created package
|
||||
|
@ -21,9 +21,9 @@
|
||||
<dir>/opt/OpenOffice.org/share/fonts</dir>
|
||||
<dir>/opt/staroffice*/share/fonts</dir>
|
||||
<dir>/usr/lib*/jvm/java-*-sun-*/jre/lib/fonts</dir>
|
||||
<dir>/usr/X11R6/lib/Acrobat*/Resource/Font</dir>
|
||||
<dir>/usr/lib/Acrobat*/Resource/Font</dir>
|
||||
<dir>/usr/lib/Adobe/*/Resource/Font</dir>
|
||||
<dir>/usr/X11R6/lib/Acrobat*/Resource/*Font</dir>
|
||||
<dir>/usr/lib/Acrobat*/Resource/*Font</dir>
|
||||
<dir>/usr/lib/Adobe/*/Resource/*Font</dir>
|
||||
<dir>/usr/local/share/fonts</dir>
|
||||
|
||||
</fontconfig>
|
||||
|
Loading…
Reference in New Issue
Block a user