Re: Culmus Hebrew fnts

Mike FABIAN <[email protected]>
Newsgroups gmane.linux.suse.m17n
Message-ID <[email protected]>
"hermanmeester" <[email protected]> :

> A while ago you mentioned that the Culmus hebrew Type1 font package
> could be installed by default in the next version of SuSE
> Linux. This week I had to download the Culmus fonts again, via
> http://culmus.sourceforge.net/. I did it by giving the command rpm
> -i http:// [etc] .rpm, and then I got a warning that some .rpmsave
> and .rpmnew files were installed too.

That is usually no problem, it only means that the rpm package marked
some files as config files. config files might have been edited by the
user, therefore rpm creates a backup copy of the old config file
something.rpmsave, or, if the config file is marked as "noreplace" in
the rpm, it installs the new config files as something.rpmnew.  The
the user has to look into the .rpmnew file and decide for himself
whether he wants to use that new config file or not.

> It turned out, when I looked
> for hidden files, that a number of the following items were sneakily
> installed as hidden files.

> Maybe it has something to do with my computer (suse 9.1), but this
> is what I found (the .rpm puts nothing in /usr/X11R6/lib/X11/fonts
> but I copied some fonts there myself):
>
> /usr/local/share/fonts/.fonts-config-timestamp
> /opt/kde3/share/fonts/.fonts-config-timestamp
> /usr/share/fonts/he/Type1/.fonts-config-timestamp
> /usr/X11R6/lib/X11/fonts/.fonts-config-timestamp
> /usr/X11R6/lib/X11/fonts/Type1/.fonts-config-timestamp
> /usr/share/fonts/.fonts-config-timestamp
> /usr/share/fonts/he/.fonts-config-timestamp

These files are created by /usr/sbin/fonts-config which is called by
SuSEconfig. I.e. these files are nothing to worry about, this is
completely normal. They are created to check whether fonts-config
needs to do any work. If there is nothing new in the font directories,
fonts-config immediately exits to save time.

> I was surprised because I didn't know these fonts were restricted,
> they're all GNU and stuf, I thought. They nowhere say you have to
> pay. The result was that they worked for a while, and after one or
> two sessions the fonts didn't show anymore.

Certainly this has nothing to do with the fonts being restricted.

> If the Culmus fonts were to be a default in the next Suse Linux,
> these sneaky things had better be left out. And I wonder what an
> .rpmnew or .rpmsave file would be doing. It prevented me from
> letting YaST get rid of the Culmus package! YaST thinks there is no
> Culmus, but there still is.

YaST doesn't know about 3rd party packages, i.e. packages which are
not from the SuSE distribution you are using.

If you want to delete such a package, do it manually with

    rpm -e package

just like you did install them with "rpm -i package".

> I think my fonts now work, because I threw it all out except the
> fonts themselves, manually, but I'll see what happens.

To make sure that all configuration files are correct, please
run

   /usr/sbin/fonts-config --force

as root. The option "--force" makes sure that all config files are
recreated no matter whether it appears to be necessary according to
the timestamps or not.

-- 
Mike FABIAN   <[email protected]>   http://www.suse.de/~mfabian



-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.