Re: Font paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sunday 03 December 2006 08:38, François Patte wrote:
> Anne Wilson a écrit :
> > On Thursday 30 November 2006 13:11, François Patte wrote:
> >>Anne Wilson a écrit :
> >>>Following the instructions in
> >>>http://wiki.services.openoffice.org/wiki/Font-FAQ I am trying to add
> >>>fonts to be globally available.  I have created a folder and put my new
> >>>fonts there. It then says I should create a text file
> >>>called /usr/share/X11/fonts/local.conf, with the new folder added in the
> >>>format
> >>>
> >>><dir> /usr/share/X11/fonts/NewFonts </dir>
> >>>
> >>>However, when I run 'fc-cache /usr/share/X11/fonts/NewFonts' I get the
> >>>error
> >>>
> >>>Fontconfig error: "local.conf", line 2: junk after document element
> >>
> >>I don't understand why they describe such a complicated method! I just
> >>add directories in:
> >>/usr/share/fonts/default/
> >>
> >>then went into these directories and perform successively:
> >>
> >>ttmkfdir (if fonts are true type)
> >>mkfontdir
> >>fc-cache
> >>
> >>then run chkfontpath --add $PWD
> >>
> >>And that's all.
> >
> > I tried this method, Francois, and the new fonts were available to kword.
> > However, they are not available to openoffice.  I don't know why it
> > should be so, but perhaps that's why they advocate their particular
> > method.
>
> May be your problem is now solved, but I was out for sometimes.

It is, thanks.
>
> I remenber that this method worked for openoffice only if I added my
> font directories in /usr/share/fonts/default/
>
> Before that, I tried to build my own "local" directories, something like:
>
> /opt/share/X11/fonts/...
>
> and the fonts were not available to OO.
>
Basically, I think that's the problem.  It doesn't see the directory that was 
mentioned in the documentation (docs out-of-date?).  I made a directory 
under /usr/share/fonts/  called newFonts to contain the ones I had added 
(makes it easier to back them up) and that works well.

Thanks for answering

Anne
>
> --
> François Patte
> UFR de mathématiques et informatique
> Université René Descartes
> http://www.math-info.univ-paris5.fr/~patte

Attachment: pgpQWYILWXujA.pgp
Description: PGP signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux